Skip to content

Instantly share code, notes, and snippets.

@DazWilkin
Created December 17, 2020 18:09
Show Gist options
  • Save DazWilkin/9c3b819d1e24ba290b1462ac54c59368 to your computer and use it in GitHub Desktop.
Save DazWilkin/9c3b819d1e24ba290b1462ac54c59368 to your computer and use it in GitHub Desktop.
kubectl get node --output=yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Node
metadata:
annotations:
node.alpha.kubernetes.io/ttl: "0"
volumes.kubernetes.io/controller-managed-attach-detach: "true"
creationTimestamp: "2020-10-26T17:03:29Z"
labels:
beta.kubernetes.io/arch: amd64
beta.kubernetes.io/os: linux
kubernetes.io/arch: amd64
kubernetes.io/hostname: akri
kubernetes.io/os: linux
microk8s.io/cluster: "true"
node-role.kubernetes.io/master: ""
managedFields:
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:node.alpha.kubernetes.io/ttl: {}
manager: kube-controller-manager
operation: Update
time: "2020-10-26T17:03:40Z"
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
f:node-role.kubernetes.io/master: {}
manager: kubectl
operation: Update
time: "2020-10-26T17:04:03Z"
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:volumes.kubernetes.io/controller-managed-attach-detach: {}
f:labels:
.: {}
f:beta.kubernetes.io/arch: {}
f:beta.kubernetes.io/os: {}
f:kubernetes.io/arch: {}
f:kubernetes.io/hostname: {}
f:kubernetes.io/os: {}
f:microk8s.io/cluster: {}
f:status:
f:addresses:
.: {}
k:{"type":"Hostname"}:
.: {}
f:address: {}
f:type: {}
k:{"type":"InternalIP"}:
.: {}
f:address: {}
f:type: {}
f:allocatable:
.: {}
f:akri.sh/http-1b84e1: {}
f:akri.sh/http-1deb92: {}
f:akri.sh/http-1e7a2a: {}
f:akri.sh/http-4a70c3: {}
f:akri.sh/http-5e49e0: {}
f:akri.sh/http-6dcf21: {}
f:akri.sh/http-6f21fe: {}
f:akri.sh/http-7a3431: {}
f:akri.sh/http-7d3185: {}
f:akri.sh/http-82dea3: {}
f:akri.sh/http-88d74d: {}
f:akri.sh/http-8bb408: {}
f:akri.sh/http-8c07de: {}
f:akri.sh/http-8f52a9: {}
f:akri.sh/http-9b2264: {}
f:akri.sh/http-09aca6: {}
f:akri.sh/http-27e840: {}
f:akri.sh/http-38a57c: {}
f:akri.sh/http-61fb0a: {}
f:akri.sh/http-231bfa: {}
f:akri.sh/http-274e26: {}
f:akri.sh/http-703d61: {}
f:akri.sh/http-1185da: {}
f:akri.sh/http-5553ea: {}
f:akri.sh/http-11558a: {}
f:akri.sh/http-73385a: {}
f:akri.sh/http-a2bd2b: {}
f:akri.sh/http-a8cbff: {}
f:akri.sh/http-a607cc: {}
f:akri.sh/http-b3b5ab: {}
f:akri.sh/http-bd2637: {}
f:akri.sh/http-c90ecb: {}
f:akri.sh/http-ccb080: {}
f:akri.sh/http-d62266: {}
f:akri.sh/http-dae458: {}
f:akri.sh/http-dbb47e: {}
f:akri.sh/http-dcb17b: {}
f:akri.sh/http-e0f619: {}
f:akri.sh/http-e89337: {}
f:akri.sh/http-ec3aa2: {}
f:akri.sh/http-ff491c: {}
f:akri.sh/nessie-64ebdb: {}
f:akri.sh/zeroconf-4e7c97: {}
f:akri.sh/zeroconf-074bbf: {}
f:akri.sh/zeroconf-218f68: {}
f:akri.sh/zeroconf-2b9223: {}
f:akri.sh/zeroconf-7548ec: {}
f:akri.sh/zeroconf-ddec04: {}
f:akri.sh/zeroconf-e7f45d: {}
f:akri.sh/zeroconf-ef5d4a: {}
f:cpu: {}
f:ephemeral-storage: {}
f:hugepages-1Gi: {}
f:hugepages-2Mi: {}
f:memory: {}
f:pods: {}
f:capacity:
.: {}
f:akri.sh/http-1b84e1: {}
f:akri.sh/http-1deb92: {}
f:akri.sh/http-1e7a2a: {}
f:akri.sh/http-4a70c3: {}
f:akri.sh/http-5e49e0: {}
f:akri.sh/http-6dcf21: {}
f:akri.sh/http-6f21fe: {}
f:akri.sh/http-703d61: {}
f:akri.sh/http-73385a: {}
f:akri.sh/http-7a3431: {}
f:akri.sh/http-7d3185: {}
f:akri.sh/http-9b2264: {}
f:akri.sh/http-09aca6: {}
f:akri.sh/http-27e840: {}
f:akri.sh/http-38a57c: {}
f:akri.sh/http-61fb0a: {}
f:akri.sh/http-82dea3: {}
f:akri.sh/http-88d74d: {}
f:akri.sh/http-8bb408: {}
f:akri.sh/http-8c07de: {}
f:akri.sh/http-8f52a9: {}
f:akri.sh/http-231bfa: {}
f:akri.sh/http-274e26: {}
f:akri.sh/http-1185da: {}
f:akri.sh/http-5553ea: {}
f:akri.sh/http-11558a: {}
f:akri.sh/http-a2bd2b: {}
f:akri.sh/http-a8cbff: {}
f:akri.sh/http-a607cc: {}
f:akri.sh/http-b3b5ab: {}
f:akri.sh/http-bd2637: {}
f:akri.sh/http-c90ecb: {}
f:akri.sh/http-ccb080: {}
f:akri.sh/http-d62266: {}
f:akri.sh/http-dae458: {}
f:akri.sh/http-dbb47e: {}
f:akri.sh/http-dcb17b: {}
f:akri.sh/http-e0f619: {}
f:akri.sh/http-e89337: {}
f:akri.sh/http-ec3aa2: {}
f:akri.sh/http-ff491c: {}
f:akri.sh/nessie-64ebdb: {}
f:akri.sh/zeroconf-2b9223: {}
f:akri.sh/zeroconf-4e7c97: {}
f:akri.sh/zeroconf-074bbf: {}
f:akri.sh/zeroconf-218f68: {}
f:akri.sh/zeroconf-7548ec: {}
f:akri.sh/zeroconf-ddec04: {}
f:akri.sh/zeroconf-e7f45d: {}
f:akri.sh/zeroconf-ef5d4a: {}
f:cpu: {}
f:ephemeral-storage: {}
f:hugepages-1Gi: {}
f:hugepages-2Mi: {}
f:memory: {}
f:pods: {}
f:conditions:
.: {}
k:{"type":"DiskPressure"}:
.: {}
f:lastHeartbeatTime: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
k:{"type":"MemoryPressure"}:
.: {}
f:lastHeartbeatTime: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
k:{"type":"PIDPressure"}:
.: {}
f:lastHeartbeatTime: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
k:{"type":"Ready"}:
.: {}
f:lastHeartbeatTime: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
f:daemonEndpoints:
f:kubeletEndpoint:
f:Port: {}
f:images: {}
f:nodeInfo:
f:architecture: {}
f:bootID: {}
f:containerRuntimeVersion: {}
f:kernelVersion: {}
f:kubeProxyVersion: {}
f:kubeletVersion: {}
f:machineID: {}
f:operatingSystem: {}
f:osImage: {}
f:systemUUID: {}
manager: kubelet
operation: Update
time: "2020-12-16T20:41:55Z"
name: akri
resourceVersion: "449179"
selfLink: /api/v1/nodes/akri
uid: 55549c33-e023-4ff0-832b-c67dba0beb54
spec: {}
status:
addresses:
- address: 10.138.0.2
type: InternalIP
- address: akri
type: Hostname
allocatable:
akri.sh/http-1b84e1: "0"
akri.sh/http-1deb92: "0"
akri.sh/http-1e7a2a: "0"
akri.sh/http-4a70c3: "0"
akri.sh/http-5e49e0: "0"
akri.sh/http-61fb0a: "0"
akri.sh/http-6dcf21: "0"
akri.sh/http-6f21fe: "0"
akri.sh/http-7a3431: "0"
akri.sh/http-7d3185: "0"
akri.sh/http-9b2264: "0"
akri.sh/http-09aca6: "0"
akri.sh/http-27e840: "0"
akri.sh/http-38a57c: "0"
akri.sh/http-82dea3: "0"
akri.sh/http-88d74d: "0"
akri.sh/http-8bb408: "0"
akri.sh/http-8c07de: "0"
akri.sh/http-8f52a9: "0"
akri.sh/http-231bfa: "0"
akri.sh/http-274e26: "0"
akri.sh/http-703d61: "0"
akri.sh/http-1185da: "0"
akri.sh/http-5553ea: "0"
akri.sh/http-11558a: "0"
akri.sh/http-73385a: "0"
akri.sh/http-a2bd2b: "0"
akri.sh/http-a8cbff: "0"
akri.sh/http-a607cc: "0"
akri.sh/http-b3b5ab: "0"
akri.sh/http-bd2637: "0"
akri.sh/http-c90ecb: "0"
akri.sh/http-ccb080: "0"
akri.sh/http-d62266: "0"
akri.sh/http-dae458: "0"
akri.sh/http-dbb47e: "0"
akri.sh/http-dcb17b: "0"
akri.sh/http-e0f619: "0"
akri.sh/http-e89337: "0"
akri.sh/http-ec3aa2: "0"
akri.sh/http-ff491c: "0"
akri.sh/nessie-64ebdb: "0"
akri.sh/zeroconf-2b9223: "1"
akri.sh/zeroconf-4e7c97: "0"
akri.sh/zeroconf-074bbf: "0"
akri.sh/zeroconf-218f68: "1"
akri.sh/zeroconf-7548ec: "0"
akri.sh/zeroconf-ddec04: "1"
akri.sh/zeroconf-e7f45d: "0"
akri.sh/zeroconf-ef5d4a: "1"
cpu: "2"
ephemeral-storage: 8934656Ki
hugepages-1Gi: "0"
hugepages-2Mi: "0"
memory: 8050104Ki
pods: "110"
capacity:
akri.sh/http-1b84e1: "0"
akri.sh/http-1deb92: "0"
akri.sh/http-1e7a2a: "0"
akri.sh/http-4a70c3: "0"
akri.sh/http-5e49e0: "0"
akri.sh/http-6dcf21: "0"
akri.sh/http-6f21fe: "0"
akri.sh/http-7a3431: "0"
akri.sh/http-7d3185: "0"
akri.sh/http-8bb408: "0"
akri.sh/http-8c07de: "0"
akri.sh/http-8f52a9: "0"
akri.sh/http-9b2264: "0"
akri.sh/http-09aca6: "0"
akri.sh/http-27e840: "0"
akri.sh/http-38a57c: "0"
akri.sh/http-61fb0a: "0"
akri.sh/http-82dea3: "0"
akri.sh/http-88d74d: "0"
akri.sh/http-231bfa: "0"
akri.sh/http-274e26: "0"
akri.sh/http-703d61: "0"
akri.sh/http-1185da: "0"
akri.sh/http-5553ea: "0"
akri.sh/http-11558a: "0"
akri.sh/http-73385a: "0"
akri.sh/http-a2bd2b: "0"
akri.sh/http-a8cbff: "0"
akri.sh/http-a607cc: "0"
akri.sh/http-b3b5ab: "0"
akri.sh/http-bd2637: "0"
akri.sh/http-c90ecb: "0"
akri.sh/http-ccb080: "0"
akri.sh/http-d62266: "0"
akri.sh/http-dae458: "0"
akri.sh/http-dbb47e: "0"
akri.sh/http-dcb17b: "0"
akri.sh/http-e0f619: "0"
akri.sh/http-e89337: "0"
akri.sh/http-ec3aa2: "0"
akri.sh/http-ff491c: "0"
akri.sh/nessie-64ebdb: "0"
akri.sh/zeroconf-218f68: "1"
akri.sh/zeroconf-2b9223: "1"
akri.sh/zeroconf-4e7c97: "0"
akri.sh/zeroconf-074bbf: "0"
akri.sh/zeroconf-7548ec: "0"
akri.sh/zeroconf-ddec04: "1"
akri.sh/zeroconf-e7f45d: "0"
akri.sh/zeroconf-ef5d4a: "1"
cpu: "2"
ephemeral-storage: 9983232Ki
hugepages-1Gi: "0"
hugepages-2Mi: "0"
memory: 8152504Ki
pods: "110"
conditions:
- lastHeartbeatTime: "2020-12-17T17:48:19Z"
lastTransitionTime: "2020-10-26T17:03:26Z"
message: kubelet has sufficient memory available
reason: KubeletHasSufficientMemory
status: "False"
type: MemoryPressure
- lastHeartbeatTime: "2020-12-17T17:48:19Z"
lastTransitionTime: "2020-10-26T17:03:26Z"
message: kubelet has no disk pressure
reason: KubeletHasNoDiskPressure
status: "False"
type: DiskPressure
- lastHeartbeatTime: "2020-12-17T17:48:19Z"
lastTransitionTime: "2020-10-26T17:03:26Z"
message: kubelet has sufficient PID available
reason: KubeletHasSufficientPID
status: "False"
type: PIDPressure
- lastHeartbeatTime: "2020-12-17T17:48:19Z"
lastTransitionTime: "2020-12-10T19:27:58Z"
message: kubelet is posting ready status. AppArmor enabled
reason: KubeletReady
status: "True"
type: Ready
daemonEndpoints:
kubeletEndpoint:
Port: 10250
images:
- names:
- ghcr.io/dazwilkin/agent@sha256:1b76f7d24b86f0f9c7cd0847f0752350795e7e412330511a90b049fc7eb1ad3b
- ghcr.io/dazwilkin/agent:v0.0.44-amd64
sizeBytes: 161764039
- names:
- ghcr.io/dazwilkin/agent@sha256:3ffe32bcb5d17e1e3bc15f479a25696786e00176a457f813fbb4a703009bcb56
- ghcr.io/dazwilkin/agent:vTest
sizeBytes: 161763459
- names:
- ghcr.io/dazwilkin/controller@sha256:fcb4753fc86ec7eb4fdb4d09977c68c4a6286095c747894fbbfad6cfd3d1c8fa
- ghcr.io/dazwilkin/controller:v0.0.44-amd64
sizeBytes: 51811307
- names:
- ghcr.io/dazwilkin/zeroconf-broker@sha256:69810b622d37d0a9a544955d4d4c53f16fec6b8d32a111740f4503dcc164fcf0
sizeBytes: 46552597
- names:
- ghcr.io/dazwilkin/zeroconf-broker@sha256:324fdfaa8a038f552bd35bf16e95fba25a555a59ee12f90a80a8d82176c4c589
sizeBytes: 46551265
- names:
- ghcr.io/dazwilkin/akri-zeroconf-broker@sha256:616a800d5754336229dad7b02c6f20e8511981195e6c5f89e2073ac660b17b4a
sizeBytes: 46542385
- names:
- ghcr.io/dazwilkin/zeroconf-broker@sha256:7295c283f721f4a7c1034d6c8717ccf8ced0e304b1d398d2f7e68f809c81c08f
sizeBytes: 46522688
- names:
- docker.io/coredns/coredns@sha256:41bee6992c2ed0f4628fcef75751048927bcd6b1cee89c79f6acb63ca5474d5a
- docker.io/coredns/coredns:1.6.6
sizeBytes: 12932169
- names:
- ghcr.io/dazwilkin/akri-http-device@sha256:09b5bfe237288f3a05d3d9a9feca5feb2447fa1c49a1021c9deb1252caaa9174
sizeBytes: 12207145
- names:
- ghcr.io/dazwilkin/akri-http-discovery@sha256:1d3a27061c0b76adcd82248d6d5321872a02fb73c0bc9d46369f400436893e3c
sizeBytes: 12205338
- names:
- k8s.gcr.io/metrics-server-amd64@sha256:49a9f12f7067d11f42c803dbe61ed2c1299959ad85cb315b25ff7eef8e6b8892
- k8s.gcr.io/metrics-server-amd64:v0.2.1
sizeBytes: 11340481
- names:
- docker.io/cdkbot/addon-resizer-amd64@sha256:a5ff31fb60d32e02780441fc81bc91dd549097d6afeef3c6decb6005289795af
- docker.io/cdkbot/addon-resizer-amd64:1.8.1
sizeBytes: 8343051
- names:
- docker.io/curlimages/curl@sha256:a3e534fced74aeea171c4b59082f265d66914d09a71062739e5c871ed108a46e
- docker.io/curlimages/curl:latest
sizeBytes: 5777627
- names:
- docker.io/library/busybox@sha256:bde48e1751173b709090c2539fdf12d6ba64e88ec7a4301591227ce925f3c678
- docker.io/library/busybox:latest
sizeBytes: 768697
- names:
- k8s.gcr.io/pause@sha256:f78411e19d84a252e53bff71a4407a5686c46983a2c2eeed83929b888179acea
- k8s.gcr.io/pause:3.1
sizeBytes: 317164
nodeInfo:
architecture: amd64
bootID: 057155b7-93ae-4185-b47c-d0035d83b63f
containerRuntimeVersion: containerd://1.2.5
kernelVersion: 5.4.0-1032-gcp
kubeProxyVersion: v1.18.13
kubeletVersion: v1.18.13
machineID: 045bd0d78bfe7389ec188b8e2b2b047b
operatingSystem: linux
osImage: Ubuntu 20.04.1 LTS
systemUUID: 045bd0d7-8bfe-7389-ec18-8b8e2b2b047b
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment