k8s x509: certificate is valid for 10.x.x.x, 172.x.x.x, not 117.x.x.x
链接k8s错误
1、reset集群
kubeadm reset
2、重新初始化集群, 加上--apiserver-cert-extra-sans=117.X.X.X
kubeadm init --apiserver-advertise-address=172.x.x.x --image-repository registry.aliyuncs.com/google_containers --kubernetes-version v1.20.12 --service-cidr=10.1.0.0/16 --pod-network-cidr=10.244.0.0/16 --apiserver-cert-extra-sans=117.X.X.X
3、将新生成的config复制到本地