How to correlate the mounts in /proc/self/mounts with the pods running on top of a Red Hat OpenShift Container Platform 3.11 node?

Solution Verified - Updated -

Issue

  • Can see that there are multiple mount points in /proc/self/mounts for Red Hat OpenShift Container Platform 3.11 node.
# grep /var/lib/origin/openshift /proc/self/mounts
tmpfs /var/lib/origin/openshift.local.volumes/pods/98b96f5c-880f-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/service-catalog-controller-token-4gjsx tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/8669e86a-883d-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/default-token-jjntq tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/ee7436b1-880f-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/serving-cert tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/8ba65a8b-880d-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/sdn-token-jvpvf tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/98b96f5c-880f-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/service-catalog-ssl tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/ee7436b1-880f-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/apiserver-token-kp69r tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/a97a8fd0-8934-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/certs tmpfs rw,seclabel,relatime 0 0
tmpfs /var/lib/origin/openshift.local.volumes/pods/a97a8fd0-8934-11ea-bb12-fa163e5d09cf/volumes/kubernetes.io~secret/aggregated-logging-fluentd-token-z49bs tmpfs rw,seclabel,relatime 0 0
  • How can one correlate these mounts with the pods running on top of this node?
  • Which mount point is used by which pod?

Environment

  • Red Hat OpenShift Container Platform 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content