Skip to content

For Pods using hostnetwork, the CID/POD displays the ”host-----------“ instead of the container name, making it impossible to associate with the container. #412

Description

@LiuJinghao

Containers created by K8S, if using the hostnetwork, will only show "host-----------" in the CID/POD column when viewed with atop.
This makes it impossible to associate the data with the corresponding container.

  PID   TID CID/POD         TRUN TSLPI TSLPU TIDLE POLI  NICE PRI RTPR CPUNR ST EXC S  RDELAY BDELAY WCHAN            NVCSW NIVCSW   CPU CMD        1/56

12469     - host-----------    0    62     0     0 norm     0 120    0     7 --   - S   0.01s  0.00s                  21403      8   12% kube-apiserver
34313     - pm-clickhouse-0    0   691     0     0 norm     0 120    0     8 --   - S   0.01s  0.00s                  17541      3    7% clickhouse-ser
60109     - host-----------    0    46     0     0 norm     0 120    0    14 --   - S   0.00s  0.00s                    152      3    4% python3
41546     - b9d5d64fd-545mj    0   104     0     0 norm     0 120    0    36 --   - S   0.00s  0.00s                   2699      1    4% java

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions