Resiliency in shared mode #170
Labels
bug
Something isn't working
priority/0
high priority
virtual-kubelet
all virtual kubelet related issues
If the
server
pod IP changes (pod killed, reschedules, node restarted,...) theserver
fail to come up again:The shared mode use the embedded ETCD which use the local IP (Pod IP) to register the member. When the Pod IP changes , ETCD fails to start.
Potential solutions
Set the proper ETCD startup config using the headless service or services
This remains challenging due to the embedded nature of ETCD. The
server
pod is not considered running until ETCD is running and ETCD won't start because the dns resolution will fail.Use Sqlite in shared mode instead of ETCD
This will require some rework of the
boostrap
part whichkubelet
currently rely on to connect to the cluster.We could use
--write-kubeconfig
to directly store thekubeconfig
for thekubelet
The text was updated successfully, but these errors were encountered: