Closed dravenk closed 2 years ago
Yes, kubeadm runs etcd as a static Pod by default. I believe the reason the etcd service fails is because the process can't listen on the default port, since the kubeadm-created etcd static Pod already listens on that port.
I'm not sure if etcdadm can give a more helpful error message, but I think etcdadm could perform a preflight check to let the user know if other processes are already listening on the chosen ports.,
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
I tried to run it on the initialized kubeadm node and it prompts the error message described in the caption. The maintainer is expected to modify the prompt for a more detailed reason. Here is my solution.
or, maybe just skip to the next step https://github.com/kubernetes-sigs/etcdadm#adding-a-member.