awslabs / awslabs/eks-perf-tests
Can't bring up subtrate due to missing client CA file.
- Dominant language
- Shell
- Stars
- 72
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
`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"
}
},
...
```
Contributor guide
Research direction
Start by reproducing `kitctl bootstrap` and reviewing the kubelet log and configuration, especially `authentication.x509.clientCAFile` and `/etc/kubernetes/pki`. Done means the cluster comes up successfully and kubelet no longer reports a missing client CA file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100