[root@k8s-master-01 flink-server-deployment]# kubectl get po -o json glusterfs-d5mfx
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2023-03-08T02:44:31Z",
"generateName": "glusterfs-",
"labels": {
"controller-revision-hash": "6fb965b478",
"glusterfs-node": "daemonset",
"pod-template-generation": "3"
},
"name": "glusterfs-d5mfx",
"namespace": "default",
"ownerReferences": [
{
"apiVersion": "apps/v1",
"blockOwnerDeletion": true,
"controller": true,
"kind": "DaemonSet",
"name": "glusterfs",
"uid": "05b8e8ec-6950-440b-a7c8-af6684143cf6"
}
],
"resourceVersion": "50837571",
"selfLink": "/api/v1/namespaces/default/pods/glusterfs-d5mfx",
"uid": "dc26d890-a886-463b-ba43-d6dc32dca973"
},
metadata.uid
pod id
[root@k8s-storage-02 kubepods-besteffort.slice]# pwd
/sys/fs/cgroup/systemd/kubepods.slice/kubepods-besteffort.slice
[root@k8s-storage-02 kubepods-besteffort.slice]# ll
total 0
-rw-r--r-- 1 root root 0 Feb 17 22:28 cgroup.clone_children
--w--w--w- 1 root root 0 Feb 17 22:28 cgroup.event_control
-rw-r--r-- 1 root root 0 Feb 17 22:28 cgroup.procs
...
drwxr-xr-x 4 root root 0 Mar 8 10:44 kubepods-besteffort-poddc26d890_a886_463b_ba43_d6dc32dca973.slice
...
-rw-r--r-- 1 root root 0 Feb 17 22:28 notify_on_release
-rw-r--r-- 1 root root 0 Feb 17 22:28 tasks