You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started to use cert-exporter and faced a problem:
when I delete a pod, that use ceph rbd, that rbd is not unmapped/unmount automatically from k8s node and the pod cannot be scheduled on another node.
Kubelet logs:
After some research I found the root of this issue (thanks to this guy - https://cloud.tencent.com/developer/article/1469532). This is a cert-exporter pod running on the same k8s node.
cert-exporter pod mounts /var/lib/kubelet and pods, that use ceph rbd, mounts over it to /var/lib/kubelet/plugins/kubernetes.io/rbd/mounts/blablabla
The text was updated successfully, but these errors were encountered:
FessAectan
changed the title
Ceph rbd is not unmapped automatically. Need to add an option to change volume mount propagation.
Ceph rbd is not unmapped automatically. Need to add an option to change volume mount propagation (mountPropagation).
Aug 12, 2021
Hi there.
I've started to use cert-exporter and faced a problem:
when I delete a pod, that use ceph rbd, that rbd is not unmapped/unmount automatically from k8s node and the pod cannot be scheduled on another node.
Kubelet logs:
After some research I found the root of this issue (thanks to this guy - https://cloud.tencent.com/developer/article/1469532). This is a cert-exporter pod running on the same k8s node.
cert-exporter pod mounts
/var/lib/kubelet
and pods, that use ceph rbd, mounts over it to/var/lib/kubelet/plugins/kubernetes.io/rbd/mounts/blablabla
Related issue kubernetes/kubernetes#54214.
Related PR in prometheus-node-exporter https://github.com/helm/charts/pull/11194/files
The solution is to add an option to configure mountPropagation in daemonsets like that:
The text was updated successfully, but these errors were encountered: