Closed towolf closed 6 months ago
Running switch with an expired index takes very long, now that we have over 100 GKE clusters.
So, our approach would be to regenerate the index from cron (or something), using switcher list-contexts --no-index every few hours.
switcher list-contexts --no-index
But that doesn't work. switcher ls --no-index leaved behind an empty file ~/.kube/switch-state/switch.gke.gke.index.
switcher ls --no-index
~/.kube/switch-state/switch.gke.gke.index
Running switch with an expired index takes very long, now that we have over 100 GKE clusters.
So, our approach would be to regenerate the index from cron (or something), using
switcher list-contexts --no-index
every few hours.But that doesn't work.
switcher ls --no-index
leaved behind an empty file~/.kube/switch-state/switch.gke.gke.index
.