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

Can't bring up subtrate due to missing client CA file. #323

Open
mengqiy opened this issue Nov 23, 2022 · 1 comment
Open

Can't bring up subtrate due to missing client CA file. #323

mengqiy opened this issue Nov 23, 2022 · 1 comment

Comments

@mengqiy
Copy link
Contributor

mengqiy commented Nov 23, 2022

kitctl bootstrap can't bring up a subtrate cluster since kubelet is misconfigured or desired the CA file is missing.

Looking at the kubelet log, it complains about a missing CA file: Nov 23 19:09:43 ip-10-0-171-180.us-west-2.compute.internal kubelet[24523]: E1123 19:09:43.393020 24523 server.go:269] "Failed to construct kubelet dependencies" err="unable to load client CA file /etc/kubernetes/pki/ca.crt: open /etc/kubernetes/pki/ca.crt: no such file or directory"

/etc/kubernetes/pki doesn't exist on the node.

In the kubelet config:

{
  ...
  "authentication": {
    ...
    "x509": {
      "clientCAFile": "/etc/kubernetes/pki/ca.crt"
    }
  },
...
@mengqiy
Copy link
Contributor Author

mengqiy commented Nov 23, 2022

It works when trying to create another subtrate cluster. I will keep it open for a while in case we see more occurrences. If so, we should spend more time investigate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant