This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
Cluster with TLS bootstrap disabled fails to start self-hosted Kubelet #1525
Labels
area/kubernetes
Core Kubernetes stuff
area/updates
Items related to updates
bug
Something isn't working
platform/aws
AWS-related
platform/bare-metal
Bare-metal-related
platform/packet
Packet-related
The self-hosted kubelet has a dependency on a file to exist at
/var/lib/kubelet/kubeconfig
. This was added during the cert rotation feature.On a cluster that has TLS bootstrap disabled there is no file at
/var/lib/kubelet/kubeconfig
so the self-hosted kubelet fails to come up. The current workaround is to create an empty file at/var/lib/kubelet/kubeconfig
. The ideal solution is that we create a empty file by default ifenable_tls_bootstrap
is set to false.And the best solution is to deprecate
enable_tls_bootstrap
with an upgrade paths that have disabledenable_tls_bootstrap
.The text was updated successfully, but these errors were encountered: