Skip to content

fix kubeone repair instructions#2102

Merged
kubermatic-bot merged 3 commits intokubermatic:mainfrom
toschneck:kubeone/fix-cluster-repair-docu
Mar 21, 2026
Merged

fix kubeone repair instructions#2102
kubermatic-bot merged 3 commits intokubermatic:mainfrom
toschneck:kubeone/fix-cluster-repair-docu

Conversation

@toschneck
Copy link
Copy Markdown
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
@toschneck
Copy link
Copy Markdown
Member Author

/assign @kron4eg

@toschneck
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

@toschneck
Copy link
Copy Markdown
Member Author

@kron4eg done, please review again

Copy link
Copy Markdown
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.

/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 21, 2026
@kubermatic-bot
Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: d1756b9b97d187d4f1a3a18df77b83f49aee2b83

@kubermatic-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kron4eg

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

The pull request process is described 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

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 21, 2026
@kubermatic-bot kubermatic-bot merged commit 2edc82c into kubermatic:main Mar 21, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. 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