Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
621 views
in Technique[技术] by (71.8m points)

kubernetes - i can not use kubeadm init ,it reploy x509: certificate signed by unknown authority

  • kubernetes version: v1.20.1:

  • aws(alb https 6443) proxy to ec2:6443(https)

when i use this commond

kubeadm init --control-plane-endpoint "k.xxxx.com:6443" --upload-certs --token-ttl=0 

it is reploy to me message:

Failed to get status for pod "xxxx.compute.amazonaws.com_kube-system(33cb15275ba938316eb1570f5c5b1490)": Get "https://k.xxxx.com:6443/api/v1/namespaces/kube-system/pods/etcd-ec2-xxxx.compute.amazonaws.com": x509: certificate signed by unknown authority

question from:https://stackoverflow.com/questions/65557361/i-can-not-use-kubeadm-init-it-reploy-x509-certificate-signed-by-unknown-author

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...