Kubernetes can't find/VAR/RUN/SECRETS/KUBERNETES.IO/SERVICEACCOUNT/CA.CRT.

Source: Internet
Author: User


10:34:45 kube-node3 journal:e0527 02:34:45.767392 1 config.go:322] expected to load Root CA config from/var/ RUN/SECRETS/KUBERNETES.IO/SERVICEACCOUNT/CA.CRT, but got err:open/var/run/secrets/kubernetes.io/serviceaccount/ Ca.crt:no such file or Directorymay 10:34:45 kube-node3 journal:e0527 02:34:45.767392 1 config.go:322] Expected To load Root CA config from/var/run/secrets/kubernetes.io/serviceaccount/ca.crt, but got Err:open/var/run/secrets/kube Rnetes.io/serviceaccount/ca.crt:no such file or directory


Analysis: This error is generated because the secrets resource created by the Kubernetes default does not contain the root certificate used to access the kube-apiserver.


You need to set a security certificate for Apiserver and then delete the default secrets, and the system will automatically generate a new secrets.

Kubernetes can't find/VAR/RUN/SECRETS/KUBERNETES.IO/SERVICEACCOUNT/CA.CRT.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.