Skip to content

fix kubeone repair instructions#2102

Open
toschneck wants to merge 1 commit intokubermatic:mainfrom
toschneck:kubeone/fix-cluster-repair-docu
Open

fix kubeone repair instructions#2102
toschneck wants to merge 1 commit intokubermatic:mainfrom
toschneck:kubeone/fix-cluster-repair-docu

Conversation

@toschneck
Copy link
Member

update required due to:

  • old label selectors
  • etcd doesn't have sh or bash installed, so only direct etcdctl work or
    the error occurs error: Internal error occurred: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "a3897a18d6d4c5464fd16b63355f2e891b74be98d6cea1e26036046f937c94ac": OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown

- old label selectors
- etcd doesn't have sh or bash installed, so only direct etcdctl work or
  the error occurs `error: Internal error occurred: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "a3897a18d6d4c5464fd16b63355f2e891b74be98d6cea1e26036046f937c94ac": OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown`
@kubermatic-bot kubermatic-bot added dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 5, 2026
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign xmudrii for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@toschneck
Copy link
Member Author

/assign @kron4eg

@toschneck
Copy link
Member Author

/cc @kron4eg

@kubermatic-bot kubermatic-bot requested a review from kron4eg March 5, 2026 23:09

```bash
etcdctl member list
kubectl -n kube-system exec -it etcd-<ALIVE-HOSTNAME> etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key member list
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehe, since very recently we've got kubermatic/kubeone#3998 merged, which sets those paths as ENV variables in the etcd pod, which means you don't need to specify any of certificate flags :)

Copy link
Member

@kron4eg kron4eg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please drop those certs related flags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants