title: Mount propagation in kubernetes
body: <p>I am using <a href="https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation" rel="nofollow noreferrer">Mount propagation</a> feature of Kubernetes to check the health of mount points of certain type. I create a daemonset and run a script which would do a simple <code>ls</code> on these mount points. I noticed that new mount points are not getting listed from the pods. Is this the expected behaviour.</p>
  
  <pre><code>volumeMounts:
              - mountPath: /host
                name: host-kubelet
                mountPropagation: HostToContainer
        volumes:
            - name: host-kubelet
              hostPath:
                path: /var/lib/kubelet
  </code></pre>
  
  <p>Related Issue : <a href="https://github.com/kubernetes/kubernetes/issues/44713" rel="nofollow noreferrer">hostPath containing mounts do not update as they change on the host #44713</a></p>