In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")
Root@ubuntu:~# kubectl get svcUnable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes") root@ubuntu:~# rm-rf $HOME/.kuberoot@ubuntu:~# mkdir-p $HOME/.kuberoot@ubuntu:~# sudo cp-I / etc/kubernetes/admin.conf $HOME/.kube/configroot@ubuntu:~# sudo chown $(id-u): $(id-g) $HOME/.kube / configroot@ubuntu:~# kubectl get svcNAME TYPE CLUSTER-IP EXTERNAL-IP PORT (S) AGEkubernetes ClusterIP 10.96.0.1 443/TCP 9m30s
Delete $HOME/.kube first
Node NotReady
Root@ubuntu:~# kubectl get nodeNAME STATUS ROLES AGE VERSIONubuntu NotReady master 12m v1.17.3
Because no flannel network was created
Root@ubuntu:~# kubectl create-f kube-flannel.ymlpodsecuritypolicy.policy/psp.flannel.unprivileged createdclusterrole.rbac.authorization.k8s.io/flannel createdclusterrolebinding.rbac.authorization.k8s.io/flannel createdserviceaccount/flannel createdconfigmap/kube-flannel-cfg createddaemonset.apps/kube-flannel-ds-amd64 createddaemonset.apps/kube-flannel-ds-arm64 createddaemonset.apps/kube-flannel-ds-arm createddaemonset.apps/kube-flannel-ds-ppc64le createddaemonset.apps/kube-flannel-ds-s390x createdroot@ubuntu:~# kubectl get nodeNAME STATUS ROLES AGE VERSIONubuntu NotReady master 14m v1.17.3
Wait for the network to be created
Root@ubuntu:~# kubectl get nodeNAME STATUS ROLES AGE VERSIONubuntu Ready master 15m v1.17.3
For more information:
What does it mean to have Unable to connect to the remote server?
Genymotion Startup error report: the solution of "unable to connect to the virtual device"
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.