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

1.4.2独立etcd数据挂载路径和karmada文档不一致,和k8setcd目录一致,删除后会导致整个集群不可用 #3962

Closed
13567436138 opened this issue Aug 21, 2023 · 5 comments
Labels
kind/question Indicates an issue that is a support question.

Comments

@13567436138
Copy link

13567436138 commented Aug 21, 2023

Please provide an in-depth description of the question you have:

What do you think about this question?:
1.4.2独立etcd数据挂载路径和karmada文档不一致,和k8setcd目录一致,删除后会导致整个集群不可用

volumeMounts :
mountPath: /var/lib/etcd
name: etcd-data 
  mountPath: /etc/kubernetes/pki /etcd
  name: etcd-cert
  readon7y: true

这个是从pod获取的路径
https://karmada.io/zh/docs/troubleshooting/trouble-shooting
这个页面的路径是
image

Environment:

  • Karmada version:
  • Kubernetes version:
  • Others:
@13567436138 13567436138 added the kind/question Indicates an issue that is a support question. label Aug 21, 2023
@XiShanYongYe-Chang
Copy link
Member

Hi @chaosi-zju, can you help take a look?

@chaosi-zju
Copy link
Member

@13567436138 hello,how did you install the Karmada?

@chaosi-zju
Copy link
Member

chaosi-zju commented Aug 21, 2023

Sorry, can you provide how to reproduce the problem?

As the doc described, it is install by karmadactl init, I tried too and find the doc is ok:

image

@13567436138
Copy link
Author

I installed with helm

@chaosi-zju
Copy link
Member

As we talked in wechat, here I just paste the result of our discussion~


karmada有多种安装方式,包括karmadactl init 和 helm install 等;从聊天记录看你是用helm install安装的。
你PR提到的错误的文档描述,它是针对karmadactl init方式安装报错给出的解决办法,文档本身没有问题。

关于etcd挂载路径的问题,这个你再细看下,如果你用的是外部etcd的话,是用不到这个etcd.yaml的,里面的内容可忽略;
如果你用的是自带的etcd的话,你看能看错了,/etc/kubernetes/pki/etcd 是pod里的路径,你可能看成了宿主机的路径;
宿主机的路径是 /var/lib/{{ include "karmada.namespace" . }}/karmada-etcd,你如果清理应该清理这个路径,不会冲突;
至于文档里提到的/var/lib/karmada-etcd路径,我前面也解释过啦,那是针对karmadactl init方式的答疑。

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

No branches or pull requests

3 participants