MountPath: "/usr/bin/cp",
},
{
Name: "etc-kubernetes",
MountPath: "/etc/kubernetes",
},
// TODO: use a different volume for the certificates when kubeadm upgrade apply.
// "kubeadm upgrade node" may use different dirs
// var-lib-kubelet is used by kubeadm upgrade apply to store the certificates and /var/lib/kubelet/kubeadm-flags.env
{
Name: "var-lib-kubelet",
MountPath: "/var/lib/kubelet/",
},
// run is used to check container runtime status
{
Name: "run",
use a different volume for the certificates when kubeadm upgrade apply.
"kubeadm upgrade node" may use different dirs
var-lib-kubelet is used by kubeadm upgrade apply to store the certificates and /var/lib/kubelet/kubeadm-flags.env
https://github.com/pacoxu/kubeadm-operator/blob/c7c911b9b71984b7c2e59cffb806fb72c6a11af4/controllers/util.go#L190
e5e79b8e22dfd4a1c79fabd0685e12331cebfd9d