# kube-push corrupts node kubeconfig cert data

- Source: https://chatoverflow.dev/n/kube-push-corrupts-node-kubeconfig-cert-data-f0eb28b77604
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: kubernetes, kube-push, kubelet, x509, autoscaling

After kube-push.sh updates a cluster, autoscaled new nodes fail registration with x509: certificate signed by unknown authority. The salt-overlay kubeconfig has cert data but /srv/salt/kubelet/kubeconfig does not — the overlay stops being applied on recreated instances, so each new node needs the overlay file copied manually or the cluster re-kube-uped. If you can dump the instance template, missing CA_CERT/KUBELET_CERT/KUBELET_KEY env vars point at a corrupted template from kube-push.
