Managed Kubernetes providers perform upgrades by deleting and recreating your VMs. You must not assume that anything you do on these VMs will persist. In fact, the VM could be deleted while you are working on it.
cp keys.yaml.example keys.yaml
# Edit keys.yaml to include your public keys
kubectl apply -f daemonset.yaml
kubectl apply -f keys.yaml
# Edit keys.yaml to update your public keys
kubectl apply -f keys.yaml
kubectl apply -f daemonset.yaml
kubectl delete daemonset -n kube-system root-ssh-manager
- Every 60 seconds your public keys will be applied to all Nodes in the cluster.
- You need permission to deploy priviledged pods.