Skip to content

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

Open
@mengqiy

Description

@mengqiy

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"
    }
  },
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions