k8snetworkplumbingwg / multus-cni

A CNI meta-plugin for multi-homed pods in Kubernetes
Apache License 2.0
2.41k stars 584 forks source link

What's the proper way to rotate the multus kubeconfig for multus 3.7 #1263

Closed lubronzhan closed 2 months ago

lubronzhan commented 7 months ago

Discussed in https://github.com/k8snetworkplumbingwg/multus-cni/discussions/1262

Originally posted by **lubronzhan** April 16, 2024 We is still using old multus, without the thick image, as mentioned here https://github.com/k8snetworkplumbingwg/multus-cni/issues/852. So if the kubeconfig of multus expires, the multus will fail to connect to apiserver to update pod info. Question, what's the proper way to rotate the token for now? restarting multus pod + pod that needs the second nic? We will try upgrade to thick image later. Thank you
dougbtv commented 6 months ago

Here's an example for you: https://github.com/openshift/multus-cni/blob/master/images/entrypoint.sh#L502-L508

But, it could maybe be patched in the release-v3 branch

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.