Pause containers

Every Kubernetes Pod includes an empty pause container, which bootstraps the Pod to establish all of the cgroups, reservations, and namespaces before its individual containers are created. The pause container image is always present, so the pod resource allocation happens instantaneously as containers are created.


To display pause containers:

When using the client bundle, pause containers are hidden by default.

  • To display pause containers when using the client bundle:

    docker ps -a | grep -I pause
    
  • To display pause containers when not using the client bundle:

    1. Log in to a manager or worker node.

    2. Display pause containers:

      docker ps | grep -I pause
      

    Example output on a manager node:

    5aeeafb80e8f   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_calico-kube-controllers-86565cb444-rwlrd_kube-system_fdd491cc-94e4-4510-a080-396454f2798c_0
    ea4a1263398d   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_ucp-node-feature-discovery-59btp_node-feature-discovery_ef7a6f29-e3d4-4430-9c75-22940208f616_0
    951f6622f8de   d50ea4c05222               "/pause"   2 hours ago   Up 2 hours   k8s_ucp-pause_ucp-nvidia-device-partitioner-77qq5_kube-system_59d95409-721e-48f3-9524-97f1d30e63a4_0
    f99ab238282e   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_ucp-nvidia-device-partitioner-77qq5_kube-system_59d95409-721e-48f3-9524-97f1d30e63a4_0
    eec3d297e7a2   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_ucp-metrics-6sf2z_kube-system_de4f67d3-99cc-4d00-a4f1-ccad66c31ebc_0
    5a40fdc669b1   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_compose-api-cb58448cc-xfb5g_kube-system_d1c8c8d2-9b81-475f-9cd4-9f486d3ace97_0
    8e5897a13cd6   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_coredns-9d5479b97-gmwct_kube-system_9c89d798-ff47-4194-b5d3-1ba3368698bc_0
    d308274689a4   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_coredns-9d5479b97-sxnb2_kube-system_74a70909-771c-4dce-9518-d49129e3645c_0
    c45bf83d032a   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_compose-69d4dc8c69-f56ql_kube-system_64646ec3-f9e8-4cce-aeb1-37636e1858ce_0
    c32ea1407b28   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_calico-node-j9fmw_kube-system_0939bae3-0659-4608-8547-0b4095d99cc5_0
    

    Example output on a worker node:

    c5e836c38435   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_ucp-node-feature-discovery-wztkl_node-feature-discovery_efe87dc1-349e-47f2-a98f-67d4675f6d9b_0
    0f66550f654e   d50ea4c05222               "/pause"   2 hours ago   Up 2 hours   k8s_ucp-pause_ucp-nvidia-device-partitioner-bq5th_kube-system_873f6045-8f61-4a55-9d00-d55b27e8f2c9_0
    753efca985ef   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_calico-node-xx28v_kube-system_6c024ae0-8d27-4d89-a327-8ca635b37f79_0
    7f2eda992ea6   mirantis/ucp-pause:3.6.0   "/pause"   2 hours ago   Up 2 hours   k8s_POD_ucp-nvidia-device-partitioner-bq5th_kube-system_873f6045-8f61-4a55-9d00-d55b27e8f2c9_0
    

See also

Kubernetes Pods