1 개요[ | ]
- kubectl get --raw "/api/v1/nodes/k8se-mgmt-stg-w01/proxy/stats/summary"
Console
Copy
$ kubectl get no
NAME STATUS ROLES AGE VERSION
controlplane Ready control-plane 13h v1.29.0
node01 Ready <none> 13h v1.29.0
2 전체[ | ]
Console
Copy
$ kubectl get --raw "/api/v1/nodes/node01/proxy/stats/summary"
{
"node": {
"nodeName": "node01",
"systemContainers": [
{
"name": "pods",
"startTime": "2024-03-04T04:23:50Z",
"cpu": {
"time": "2024-03-04T04:39:41Z",
"usageNanoCores": 12243573,
"usageCoreNanoSeconds": 12612564152
},
"memory": {
"time": "2024-03-04T04:39:41Z",
"availableBytes": 1877598208,
"usageBytes": 788094976,
"workingSetBytes": 202084352,
"rssBytes": 96509952,
"pageFaults": 0,
"majorPageFaults": 0
},
"swap": {
"time": "2024-03-04T04:39:41Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
},
{
"name": "kubelet",
"startTime": "2024-03-04T04:23:49Z",
"cpu": {
"time": "2024-03-04T04:39:35Z",
"usageNanoCores": 6041444,
"usageCoreNanoSeconds": 5804059425
},
"memory": {
"time": "2024-03-04T04:39:35Z",
"usageBytes": 113479680,
"workingSetBytes": 36499456,
"rssBytes": 32112640,
"pageFaults": 16962,
"majorPageFaults": 627
},
"swap": {
"time": "2024-03-04T04:39:35Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
}
],
"startTime": "2024-03-04T04:23:41Z",
"cpu": {
"time": "2024-03-04T04:39:41Z",
"usageNanoCores": 25449789,
"usageCoreNanoSeconds": 40795778106
},
"memory": {
"time": "2024-03-04T04:39:41Z",
"availableBytes": 1343369216,
"usageBytes": 1787949056,
"workingSetBytes": 736313344,
"rssBytes": 270524416,
"pageFaults": 63195,
"majorPageFaults": 198
},
"network": {
"time": "2024-03-04T04:39:41Z",
"name": "",
"interfaces": [
{
"name": "cali465940b6c97",
"rxBytes": 91562,
"rxErrors": 0,
"txBytes": 111348,
"txErrors": 0
},
{
"name": "enp1s0",
"rxBytes": 13510746,
"rxErrors": 0,
"txBytes": 872699,
"txErrors": 0
},
{
"name": "cali2f2670c9d0f",
"rxBytes": 89908,
"rxErrors": 0,
"txBytes": 113679,
"txErrors": 0
},
{
"name": "flannel.1",
"rxBytes": 0,
"rxErrors": 0,
"txBytes": 0,
"txErrors": 0
}
]
},
"fs": {
"time": "2024-03-04T04:39:51Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 6039949312,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 107350
},
"runtime": {
"imageFs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 828329984,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 9938
},
"containerFs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 828329984,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 9938
}
},
"rlimit": {
"time": "2024-03-04T04:40:01Z",
"maxpid": 15592,
"curproc": 305
},
"swap": {
"time": "2024-03-04T04:39:51Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
},
"pods": [
{
"podRef": {
"name": "coredns-86b698fbb6-8q542",
"namespace": "kube-system",
"uid": "a0ce66fe-3e92-418d-90ac-6d13170cc282"
},
"startTime": "2024-03-04T04:24:50Z",
"containers": [
{
"name": "coredns",
"startTime": "2024-03-04T04:24:51Z",
"cpu": {
"time": "2024-03-04T04:39:57Z",
"usageNanoCores": 458930,
"usageCoreNanoSeconds": 461945295
},
"memory": {
"time": "2024-03-04T04:39:57Z",
"availableBytes": 165224448,
"usageBytes": 45068288,
"workingSetBytes": 13033472,
"rssBytes": 11898880,
"pageFaults": 5907,
"majorPageFaults": 231
},
"rootfs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 36864,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 11
},
"logs": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 8192,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 2
},
"swap": {
"time": "2024-03-04T04:40:01Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
}
],
"cpu": {
"time": "2024-03-04T04:39:57Z",
"usageNanoCores": 447695,
"usageCoreNanoSeconds": 478808381
},
"memory": {
"time": "2024-03-04T04:39:57Z",
"availableBytes": 164794368,
"usageBytes": 45498368,
"workingSetBytes": 13463552,
"rssBytes": 11960320,
"pageFaults": 0,
"majorPageFaults": 0
},
"network": {
"time": "2024-03-04T04:39:55Z",
"name": "eth0",
"rxBytes": 112478,
"rxErrors": 0,
"txBytes": 92551,
"txErrors": 0,
"interfaces": [
{
"name": "eth0",
"rxBytes": 112478,
"rxErrors": 0,
"txBytes": 92551,
"txErrors": 0
}
]
},
"volume": [
{
"time": "2024-03-04T04:39:52Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 12288,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 5,
"name": "config-volume"
},
{
"time": "2024-03-04T04:39:52Z",
"availableBytes": 178245632,
"capacityBytes": 178257920,
"usedBytes": 12288,
"inodesFree": 253858,
"inodes": 253867,
"inodesUsed": 9,
"name": "kube-api-access-ftm8m"
}
],
"ephemeral-storage": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 61440,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 19
},
"process_stats": {
"process_count": 0
},
"swap": {
"time": "2024-03-04T04:39:57Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
},
{
"podRef": {
"name": "canal-gjxwj",
"namespace": "kube-system",
"uid": "dcf4046f-548c-49b8-bbcd-aea5cbad17d0"
},
"startTime": "2024-03-04T04:24:20Z",
"containers": [
{
"name": "kube-flannel",
"startTime": "2024-03-04T04:24:23Z",
"cpu": {
"time": "2024-03-04T04:39:51Z",
"usageNanoCores": 952105,
"usageCoreNanoSeconds": 949824272
},
"memory": {
"time": "2024-03-04T04:39:51Z",
"usageBytes": 44216320,
"workingSetBytes": 13426688,
"rssBytes": 9105408,
"pageFaults": 122364,
"majorPageFaults": 264
},
"rootfs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 40960,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 18
},
"logs": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 12288,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 2
},
"swap": {
"time": "2024-03-04T04:40:01Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
},
{
"name": "calico-node",
"startTime": "2024-03-04T04:24:22Z",
"cpu": {
"time": "2024-03-04T04:39:51Z",
"usageNanoCores": 11217684,
"usageCoreNanoSeconds": 9901579782
},
"memory": {
"time": "2024-03-04T04:39:51Z",
"usageBytes": 82681856,
"workingSetBytes": 71622656,
"rssBytes": 53100544,
"pageFaults": 515328,
"majorPageFaults": 198
},
"rootfs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 221184,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 67
},
"logs": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 286720,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 2
},
"swap": {
"time": "2024-03-04T04:40:01Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
}
],
"cpu": {
"time": "2024-03-04T04:39:52Z",
"usageNanoCores": 10117758,
"usageCoreNanoSeconds": 11429622670
},
"memory": {
"time": "2024-03-04T04:39:52Z",
"usageBytes": 653217792,
"workingSetBytes": 158638080,
"rssBytes": 62304256,
"pageFaults": 0,
"majorPageFaults": 0
},
"network": {
"time": "2024-03-04T04:39:51Z",
"name": "",
"interfaces": [
{
"name": "cali465940b6c97",
"rxBytes": 92380,
"rxErrors": 0,
"txBytes": 112373,
"txErrors": 0
},
{
"name": "enp1s0",
"rxBytes": 13518049,
"rxErrors": 0,
"txBytes": 891188,
"txErrors": 0
},
{
"name": "cali2f2670c9d0f",
"rxBytes": 90858,
"rxErrors": 0,
"txBytes": 115072,
"txErrors": 0
},
{
"name": "flannel.1",
"rxBytes": 0,
"rxErrors": 0,
"txBytes": 0,
"txErrors": 0
}
]
},
"volume": [
{
"time": "2024-03-04T04:39:04Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 28672,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 15,
"name": "flannel-cfg"
},
{
"time": "2024-03-04T04:39:04Z",
"availableBytes": 1974812672,
"capacityBytes": 1974824960,
"usedBytes": 12288,
"inodesFree": 253858,
"inodes": 253867,
"inodesUsed": 9,
"name": "kube-api-access-9bwz6"
}
],
"ephemeral-storage": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 593920,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 105
},
"process_stats": {
"process_count": 0
},
"swap": {
"time": "2024-03-04T04:39:52Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
},
{
"podRef": {
"name": "kube-proxy-lhxdd",
"namespace": "kube-system",
"uid": "60c50ecc-6729-416a-97f0-090256e46a21"
},
"startTime": "2024-03-04T04:24:20Z",
"containers": [
{
"name": "kube-proxy",
"startTime": "2024-03-04T04:24:20Z",
"cpu": {
"time": "2024-03-04T04:39:53Z",
"usageNanoCores": 128464,
"usageCoreNanoSeconds": 364002264
},
"memory": {
"time": "2024-03-04T04:39:53Z",
"usageBytes": 61259776,
"workingSetBytes": 16056320,
"rssBytes": 10014720,
"pageFaults": 23760,
"majorPageFaults": 396
},
"rootfs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 69632,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 25
},
"logs": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 8192,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 2
},
"swap": {
"time": "2024-03-04T04:40:01Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
}
],
"cpu": {
"time": "2024-03-04T04:39:56Z",
"usageNanoCores": 124313,
"usageCoreNanoSeconds": 369804696
},
"memory": {
"time": "2024-03-04T04:39:56Z",
"usageBytes": 61677568,
"workingSetBytes": 16474112,
"rssBytes": 10113024,
"pageFaults": 0,
"majorPageFaults": 0
},
"network": {
"time": "2024-03-04T04:39:48Z",
"name": "",
"interfaces": [
{
"name": "cali465940b6c97",
"rxBytes": 91562,
"rxErrors": 0,
"txBytes": 111348,
"txErrors": 0
},
{
"name": "enp1s0",
"rxBytes": 13512487,
"rxErrors": 0,
"txBytes": 890400,
"txErrors": 0
},
{
"name": "cali2f2670c9d0f",
"rxBytes": 89908,
"rxErrors": 0,
"txBytes": 113679,
"txErrors": 0
},
{
"name": "flannel.1",
"rxBytes": 0,
"rxErrors": 0,
"txBytes": 0,
"txErrors": 0
}
]
},
"volume": [
{
"time": "2024-03-04T04:39:55Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 16384,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 7,
"name": "kube-proxy"
},
{
"time": "2024-03-04T04:39:55Z",
"availableBytes": 1974812672,
"capacityBytes": 1974824960,
"usedBytes": 12288,
"inodesFree": 253858,
"inodes": 253867,
"inodesUsed": 9,
"name": "kube-api-access-5fz6g"
}
],
"ephemeral-storage": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 98304,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 35
},
"process_stats": {
"process_count": 0
},
"swap": {
"time": "2024-03-04T04:39:56Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
},
{
"podRef": {
"name": "coredns-86b698fbb6-hqpmj",
"namespace": "kube-system",
"uid": "8f7402ff-5db4-455e-9033-1a6247bea8e8"
},
"startTime": "2024-03-04T04:24:51Z",
"containers": [
{
"name": "coredns",
"startTime": "2024-03-04T04:24:51Z",
"cpu": {
"time": "2024-03-04T04:39:52Z",
"usageNanoCores": 457850,
"usageCoreNanoSeconds": 443964866
},
"memory": {
"time": "2024-03-04T04:39:52Z",
"availableBytes": 165171200,
"usageBytes": 27279360,
"workingSetBytes": 13086720,
"rssBytes": 12034048,
"pageFaults": 5577,
"majorPageFaults": 99
},
"rootfs": {
"time": "2024-03-04T04:39:58Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 36864,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 11
},
"logs": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 8192,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 2
},
"swap": {
"time": "2024-03-04T04:40:01Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
}
],
"cpu": {
"time": "2024-03-04T04:39:46Z",
"usageNanoCores": 438475,
"usageCoreNanoSeconds": 456970674
},
"memory": {
"time": "2024-03-04T04:39:46Z",
"availableBytes": 164745216,
"usageBytes": 27705344,
"workingSetBytes": 13512704,
"rssBytes": 12132352,
"pageFaults": 0,
"majorPageFaults": 0
},
"network": {
"time": "2024-03-04T04:39:53Z",
"name": "eth0",
"rxBytes": 115324,
"rxErrors": 0,
"txBytes": 91172,
"txErrors": 0,
"interfaces": [
{
"name": "eth0",
"rxBytes": 115324,
"rxErrors": 0,
"txBytes": 91172,
"txErrors": 0
}
]
},
"volume": [
{
"time": "2024-03-04T04:39:37Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 12288,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 5,
"name": "config-volume"
},
{
"time": "2024-03-04T04:39:37Z",
"availableBytes": 178245632,
"capacityBytes": 178257920,
"usedBytes": 12288,
"inodesFree": 253858,
"inodes": 253867,
"inodesUsed": 9,
"name": "kube-api-access-whkcr"
}
],
"ephemeral-storage": {
"time": "2024-03-04T04:40:01Z",
"availableBytes": 14561095680,
"capacityBytes": 20617822208,
"usedBytes": 61440,
"inodesFree": 2473130,
"inodes": 2580480,
"inodesUsed": 19
},
"process_stats": {
"process_count": 0
},
"swap": {
"time": "2024-03-04T04:39:46Z",
"swapAvailableBytes": 0,
"swapUsageBytes": 0
}
}
]
}
3 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.