Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Result of querying the Kubernetes API for a specific Node object
{
"kind": "Node",
"apiVersion": "v1",
"metadata": {
"name": "aks-agentpool-20086390-vmss00004b",
"uid": "08922a08-b87f-4a15-aa22-938b72345870",
"resourceVersion": "2825953",
"creationTimestamp": "2022-01-26T19:56:07Z",
"labels": {
"agentpool": "agentpool",
"beta.kubernetes.io/arch": "amd64",
"beta.kubernetes.io/instance-type": "Standard_DS2_v2",
"beta.kubernetes.io/os": "linux",
"failure-domain.beta.kubernetes.io/region": "westeurope",
"failure-domain.beta.kubernetes.io/zone": "westeurope-1",
"kubernetes.azure.com/agentpool": "agentpool",
"kubernetes.azure.com/cluster": "MC_rg-rt-main-we_aks-rt-main-we_westeurope",
"kubernetes.azure.com/mode": "system",
"kubernetes.azure.com/node-image-version": "AKSUbuntu-1804gen2containerd-2021.09.28",
"kubernetes.azure.com/os-sku": "Ubuntu",
"kubernetes.azure.com/role": "agent",
"kubernetes.azure.com/storageprofile": "managed",
"kubernetes.azure.com/storagetier": "Premium_LRS",
"kubernetes.io/arch": "amd64",
"kubernetes.io/hostname": "aks-agentpool-20086390-vmss00004b",
"kubernetes.io/os": "linux",
"kubernetes.io/role": "agent",
"node-role.kubernetes.io/agent": "",
"node.kubernetes.io/instance-type": "Standard_DS2_v2",
"storageprofile": "managed",
"storagetier": "Premium_LRS",
"topology.disk.csi.azure.com/zone": "westeurope-1",
"topology.kubernetes.io/region": "westeurope",
"topology.kubernetes.io/zone": "westeurope-1"
},
"annotations": {
"csi.volume.kubernetes.io/nodeid": "{\"disk.csi.azure.com\":\"aks-agentpool-20086390-vmss00004b\",\"file.csi.azure.com\":\"aks-agentpool-20086390-vmss00004b\"}",
"node.alpha.kubernetes.io/ttl": "0",
"volumes.kubernetes.io/controller-managed-attach-detach": "true"
},
"managedFields": [
{
"manager": "kube-controller-manager",
"operation": "Update",
"apiVersion": "v1",
"time": "2022-01-26T19:56:10Z",
"fieldsType": "FieldsV1",
"fieldsV1": {"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}}}
},
{
"manager": "kubectl-label",
"operation": "Update",
"apiVersion": "v1",
"time": "2022-01-26T19:56:33Z",
"fieldsType": "FieldsV1",
"fieldsV1": {"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}
},
{
"manager": "kubelet",
"operation": "Update",
"apiVersion": "v1",
"time": "2022-01-26T19:56:37Z",
"fieldsType": "FieldsV1",
"fieldsV1": {"f:metadata":{"f:annotations":{".":{},"f:csi.volume.kubernetes.io/nodeid":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/instance-type":{},"f:beta.kubernetes.io/os":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:node.kubernetes.io/instance-type":{},"f:storageprofile":{},"f:storagetier":{},"f:topology.disk.csi.azure.com/zone":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}},"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{}}}
}
]
},
"spec": {
"providerID": "azure:///subscriptions/6506b559-5861-471b-aa74-11b06d0688a3/resourceGroups/mc_rg-rt-main-we_aks-rt-main-we_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-20086390-vmss/virtualMachines/155"
},
"status": {
"capacity": {
"attachable-volumes-azure-disk": "8",
"cpu": "2",
"ephemeral-storage": "129900528Ki",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "7120616Ki",
"pods": "110"
},
"allocatable": {
"attachable-volumes-azure-disk": "8",
"cpu": "1900m",
"ephemeral-storage": "119716326407",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "4675304Ki",
"pods": "110"
},
"conditions": [
{
"type": "MemoryPressure",
"status": "False",
"lastHeartbeatTime": "2022-01-26T20:36:47Z",
"lastTransitionTime": "2022-01-26T19:56:07Z",
"reason": "KubeletHasSufficientMemory",
"message": "kubelet has sufficient memory available"
},
{
"type": "DiskPressure",
"status": "False",
"lastHeartbeatTime": "2022-01-26T20:36:47Z",
"lastTransitionTime": "2022-01-26T19:56:07Z",
"reason": "KubeletHasNoDiskPressure",
"message": "kubelet has no disk pressure"
},
{
"type": "PIDPressure",
"status": "False",
"lastHeartbeatTime": "2022-01-26T20:36:47Z",
"lastTransitionTime": "2022-01-26T19:56:07Z",
"reason": "KubeletHasSufficientPID",
"message": "kubelet has sufficient PID available"
},
{
"type": "Ready",
"status": "True",
"lastHeartbeatTime": "2022-01-26T20:36:47Z",
"lastTransitionTime": "2022-01-26T19:56:17Z",
"reason": "KubeletReady",
"message": "kubelet is posting ready status. AppArmor enabled"
}
],
"addresses": [
{
"type": "Hostname",
"address": "aks-agentpool-20086390-vmss00004b"
},
{
"type": "InternalIP",
"address": "10.240.0.4"
}
],
"daemonEndpoints": {
"kubeletEndpoint": {
"Port": 10250
}
},
"nodeInfo": {
"machineID": "b3fe0401fadc4addbf60b10f916ec682",
"systemUUID": "5ae3d39a-206e-46be-9e3a-aeba73960ab7",
"bootID": "5c346581-cb38-4f05-b476-7f491bf4aaf6",
"kernelVersion": "5.4.0-1059-azure",
"osImage": "Ubuntu 18.04.6 LTS",
"containerRuntimeVersion": "containerd://1.4.9+azure",
"kubeletVersion": "v1.21.2",
"kubeProxyVersion": "v1.21.2",
"operatingSystem": "linux",
"architecture": "amd64"
},
"images": [
{
"names": [
"mcr.azk8s.cn/azuremonitor/containerinsights/ciprod:ciprod08052021-1",
"mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod08052021-1"
],
"sizeBytes": 307432577
},
{
"names": [
"mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod08052021",
"mcr.azk8s.cn/azuremonitor/containerinsights/ciprod:ciprod08052021"
],
"sizeBytes": 307288309
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0",
"mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"
],
"sizeBytes": 166352383
},
{
"names": [
"mcr.microsoft.com/oss/cilium/cilium:1.10.3.2",
"mcr.azk8s.cn/oss/cilium/cilium:1.10.3.2"
],
"sizeBytes": 154278769
},
{
"names": [
"mcr.azk8s.cn/aks/hcp/hcp-tunnel-front:master.210906.1",
"mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210906.1"
],
"sizeBytes": 149500693
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:2871d2f0c82460dcee11d7c8421665d831fcae5b93b0b13503caad4fe42c79a8",
"mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.2-hotfix.20211115.1"
],
"sizeBytes": 136657355
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:32c561c5010150bca4b94d51f6ddf46f119727fa6f325855c7a3726f8664c2b4",
"mcr.azk8s.cn/oss/kubernetes/kube-proxy:v1.21.2-hotfix.20210830.1",
"mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.2-hotfix.20210830.1"
],
"sizeBytes": 136533765
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.2-hotfix.20210830",
"mcr.azk8s.cn/oss/kubernetes/kube-proxy:v1.21.2-hotfix.20210830"
],
"sizeBytes": 132797055
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:3b221b1c796a954319971ce69ba0f95978242df47c3f785df6d451929dbbeb31",
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.8.0.1"
],
"sizeBytes": 106828430
},
{
"names": [
"mcr.microsoft.com/oss/calico/node:v3.8.9.5",
"mcr.azk8s.cn/oss/calico/node:v3.8.9.5"
],
"sizeBytes": 101794833
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes/ingress/nginx-ingress-controller:0.47.0",
"mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.47.0"
],
"sizeBytes": 101445696
},
{
"names": [
"mcr.azk8s.cn/oss/cilium/operator:1.10.3",
"mcr.microsoft.com/oss/cilium/operator:1.10.3"
],
"sizeBytes": 98395697
},
{
"names": [
"mcr.azk8s.cn/aks/hcp/hcp-tunnel-front:master.210819.1",
"mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210819.1"
],
"sizeBytes": 96335208
},
{
"names": [
"mcr.azk8s.cn/aks/hcp/tunnel-openvpn:master.210623.2",
"mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"
],
"sizeBytes": 96125176
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes/exechealthz:1.2_v0.0.5",
"mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"
],
"sizeBytes": 94348102
},
{
"names": [
"mcr.azk8s.cn/aks/acc/sgx-attestation:2.0",
"mcr.microsoft.com/aks/acc/sgx-attestation:2.0"
],
"sizeBytes": 91841669
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.5.0",
"mcr.azk8s.cn/oss/kubernetes-csi/azurefile-csi:v1.5.0"
],
"sizeBytes": 91583660
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:985681a8d299d3acdad0aa2ef8ce5a0ae774530b4124c2cee099f10d6824091b",
"mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.7.0"
],
"sizeBytes": 87489567
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes-csi/azurefile-csi:v1.6.0",
"mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.6.0"
],
"sizeBytes": 85745730
},
{
"names": [
"mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.4.0",
"mcr.azk8s.cn/azure-application-gateway/kubernetes-ingress:1.4.0"
],
"sizeBytes": 79586703
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes-csi/azuredisk-csi:v1.7.0",
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.7.0"
],
"sizeBytes": 79348890
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.5.0",
"mcr.azk8s.cn/oss/kubernetes-csi/azuredisk-csi:v1.5.0"
],
"sizeBytes": 79187191
},
{
"names": [
"mcr.microsoft.com/containernetworking/azure-npm:v1.4.9",
"mcr.azk8s.cn/containernetworking/azure-npm:v1.4.9"
],
"sizeBytes": 75291405
},
{
"names": [
"mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.9.0",
"mcr.azk8s.cn/oss/nvidia/k8s-device-plugin:v0.9.0"
],
"sizeBytes": 67291599
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.1",
"mcr.azk8s.cn/oss/kubernetes/dashboard:v2.0.1"
],
"sizeBytes": 66415836
},
{
"names": [
"mcr.azk8s.cn/oss/calico/cni:v3.8.9.3",
"mcr.microsoft.com/oss/calico/cni:v3.8.9.3"
],
"sizeBytes": 63581323
},
{
"names": [
"mcr.azk8s.cn/containernetworking/networkmonitor:v1.1.8",
"mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8"
],
"sizeBytes": 63154716
},
{
"names": [
"mcr.azk8s.cn/oss/calico/node:v3.20.0",
"mcr.microsoft.com/oss/calico/node:v3.20.0"
],
"sizeBytes": 60721107
},
{
"names": [
"mcr.azk8s.cn/oss/azure/aad-pod-identity/nmi:v1.7.5.4",
"mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5.4"
],
"sizeBytes": 56813818
},
{
"names": [
"mcr.azk8s.cn/containernetworking/networkmonitor:v1.1.8post2",
"mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8_hotfix",
"mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8post2",
"mcr.azk8s.cn/containernetworking/networkmonitor:v1.1.8_hotfix"
],
"sizeBytes": 56368756
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v0.0.21.4",
"mcr.azk8s.cn/oss/kubernetes-csi/secrets-store/driver:v0.0.21.4"
],
"sizeBytes": 56238120
},
{
"names": [
"mcr.azk8s.cn/oss/azure/aad-pod-identity/nmi:v1.7.5.3",
"mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5.3"
],
"sizeBytes": 54770003
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes-csi/secrets-store/driver:v0.0.21.3",
"mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v0.0.21.3"
],
"sizeBytes": 54191441
},
{
"names": [
"mcr.azk8s.cn/oss/virtual-kubelet/virtual-kubelet:1.4.0",
"mcr.microsoft.com/oss/virtual-kubelet/virtual-kubelet:1.4.0"
],
"sizeBytes": 52307386
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.1.1",
"mcr.azk8s.cn/oss/kubernetes/azure-cloud-node-manager:v1.1.1"
],
"sizeBytes": 51559743
},
{
"names": [
"mcr.azk8s.cn/oss/virtual-kubelet/virtual-kubelet:1.3.6",
"mcr.microsoft.com/oss/virtual-kubelet/virtual-kubelet:1.3.6"
],
"sizeBytes": 50822202
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes/kubernetes-dashboard:v1.10.1",
"mcr.microsoft.com/oss/kubernetes/kubernetes-dashboard:v1.10.1"
],
"sizeBytes": 44907744
},
{
"names": [
"mcr.microsoft.com/oss/azure/secrets-store/provider-azure:0.0.14.4",
"mcr.azk8s.cn/oss/azure/secrets-store/provider-azure:0.0.14.4"
],
"sizeBytes": 44096187
},
{
"names": [
"mcr.azk8s.cn/oss/azure/secrets-store/provider-azure:0.0.14.3",
"mcr.microsoft.com/oss/azure/secrets-store/provider-azure:0.0.14.3"
],
"sizeBytes": 42049482
},
{
"names": [
"mcr.microsoft.com/aks/acc/sgx-device-plugin:1.0",
"mcr.azk8s.cn/aks/acc/sgx-device-plugin:1.0"
],
"sizeBytes": 42023095
},
{
"names": [
"mcr.azk8s.cn/containernetworking/azure-vnet-telemetry:v1.0.30",
"mcr.microsoft.com/containernetworking/azure-vnet-telemetry:v1.0.30"
],
"sizeBytes": 30784307
},
{
"names": [
"mcr.azk8s.cn/aks/command/runtime:master.210524.9",
"mcr.microsoft.com/aks/command/runtime:master.210524.9"
],
"sizeBytes": 30674883
},
{
"names": [
"mcr.azk8s.cn/aks/acc/sgx-webhook:0.9",
"mcr.microsoft.com/aks/acc/sgx-webhook:0.9"
],
"sizeBytes": 28358981
},
{
"names": [
"mcr.microsoft.com/oss/calico/kube-controllers:v3.20.0",
"mcr.azk8s.cn/oss/calico/kube-controllers:v3.20.0"
],
"sizeBytes": 26117895
},
{
"names": [
"mcr.azk8s.cn/aks/acc/sgx-webhook:0.6",
"mcr.microsoft.com/aks/acc/sgx-webhook:0.6"
],
"sizeBytes": 25551671
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/ip-masq-agent@sha256:b337b8d1cf30149a43594680d80e951c92da991ba61fd3f016cff2651f79cf27",
"mcr.microsoft.com/oss/kubernetes/ip-masq-agent:v2.5.0.8"
],
"sizeBytes": 25313398
},
{
"names": [
"mcr.azk8s.cn/aks/acc/sgx-plugin:0.4",
"mcr.microsoft.com/aks/acc/sgx-plugin:0.4"
],
"sizeBytes": 25245219
},
{
"names": [
"mcr.microsoft.com/oss/kubernetes/metrics-server:v0.4.4",
"mcr.azk8s.cn/oss/kubernetes/metrics-server:v0.4.4"
],
"sizeBytes": 25194689
},
{
"names": [
"mcr.azk8s.cn/oss/kubernetes/ip-masq-agent:v2.5.0.6",
"mcr.microsoft.com/oss/kubernetes/ip-masq-agent:v2.5.0.6"
],
"sizeBytes": 25051613
},
{
"names": [
"mcr.azk8s.cn/oss/open-policy-agent/gatekeeper:v3.4.1",
"mcr.microsoft.com/oss/open-policy-agent/gatekeeper:v3.4.1"
],
"sizeBytes": 24660260
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment