We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my config (see second metadata):
apiVersion: k0smotron.io/v1beta1 kind: Cluster metadata: name: dev1 namespace: dev1 spec: replicas: 1 version: v1.31.3 service: type: NodePort apiPort: 30443 konnectivityPort: 30132 k0sConfig: apiVersion: k0s.k0sproject.io/v1beta1 kind: ClusterConfig metadata: name: dev1 user: dev1-admin spec: api: ...
but, in dev1-0 pod i have error: Error: failed to load node config: error unmarshaling JSON: while decoding JSON: json: unknown field "user"
Error: failed to load node config: error unmarshaling JSON: while decoding JSON: json: unknown field "user"
if i del user: dev1-admin, i have kubeconfig:
user: dev1-admin
name: k0s contexts: - context: cluster: k0s user: admin name: k0s current-context: k0s kind: Config preferences: {} users: - name: admin
why k0s and user: admin ?
k0s
user: admin
The text was updated successfully, but these errors were encountered:
k0smotron creates Kubernetes clusters based on k0s distribution
k0sConfig field is used for k0s config, not for kubeconfig, and doesn't support metadata.user field.
k0sConfig
metadata.user
Sorry, something went wrong.
So there is no way I can get this data into it? Because I can transfer this data when I create the base cluster:
apiVersion: k0sctl.k0sproject.io/v1beta1 kind: Cluster metadata: name: k0s-infra user: infra-admin spec: k0s: version: v1.31.3+k0s.0 dynamicConfig: false config: spec:
The issue is marked as stale since no activity has been recorded in 30 days
No branches or pull requests
my config (see second metadata):
but, in dev1-0 pod i have error:
Error: failed to load node config: error unmarshaling JSON: while decoding JSON: json: unknown field "user"
if i del
user: dev1-admin
, i have kubeconfig:why
k0s
anduser: admin
?The text was updated successfully, but these errors were encountered: