Skip to content
New issue

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

[ERROR FileAvailable--etc-kubernetes-manifests-etcd.yaml]: /etc/kubernetes/manifests/etcd.yaml already exists #3131

Closed
ShouZhiDuan opened this issue Dec 5, 2024 · 3 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@ShouZhiDuan
Copy link

ShouZhiDuan commented Dec 5, 2024

Here is the translation of your message:

"I am using kubeadm v1.31 to deploy a Kubernetes v1.31 cluster, and I followed the official documentation to deploy an external etcd with 3 nodes. I ran the command:
kubeadm init --config kubeadm-config.yaml --upload-certs
and it was successful. Then I received the following join command:
kubeadm join 192.168.17.100:6443 --token abcdef.0123456789abcdef --discovery-token-ca-cert-hash sha256:c555953eec3c2c2eecee257ac7d874d3f0adde296b29a1c701f5c56d91c030a8 --control-plane --certificate-key 9d95da80b72cd07412352cc16cce5ebc4482da035a85dacc59a231b7261e5ec7

However, when I tried to execute the join command on another control plane node, I encountered the following error:
[preflight] Running pre-flight checks before initializing the new control plane instance
error execution phase preflight: [preflight] Some fatal errors occurred.
[ERROR FileAvailable--etc-kubernetes-manifests-etcd.yaml]: /etc/kubernetes/manifests/etcd.yaml already exists

This error occurred because I deployed one of the external etcd nodes on the same node as a control plane node, which caused a conflict due to limited virtual machine resources. I am wondering if, when joining other control plane nodes, I need to specify the use of the external etcd and prevent the local etcd from being started. However, I couldn't find any instructions for this scenario in the official documentation."

Tasks

Preview Give feedback
No tasks being tracked yet.
@neolit123
Copy link
Member

neolit123 commented Dec 5, 2024

This error occurred because I deployed one of the external etcd nodes on the same node as a control plane node, which caused a conflict due to limited virtual machine resources. I am wondering if, when joining other control plane nodes, I need to specify the use of the external etcd and prevent the local etcd from being started. However, I couldn't find any instructions for this scenario in the official documentation."

it is not an official supported scenario and that's why it's missing in the documentation.
note that the separate etcd external members need to be on separate machines.
you should not have an existing external etcd member machine also be used for a control plane component machine.

best to try getting help on the support channels. try the links from the bot below.

/support

Copy link

github-actions bot commented Dec 5, 2024

Hello, @ShouZhiDuan 🤖 👋

You seem to have troubles using Kubernetes and kubeadm.
Note that our issue trackers should not be used for providing support to users.
There are special channels for that purpose.

Please see:

@github-actions github-actions bot added the kind/support Categorizes issue or PR as a support question. label Dec 5, 2024
@github-actions github-actions bot closed this as completed Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Hello, @ShouZhiDuan 🤖 👋

You seem to have troubles using Kubernetes and kubeadm.
Note that our issue trackers should not be used for providing support to users.
There are special channels for that purpose.

Please see:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants