Skip to content

Instantly share code, notes, and snippets.

@tbaums
Created December 14, 2023 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbaums/7cbd6abb4ee29675985c6817ea32276d to your computer and use it in GitHub Desktop.
Save tbaums/7cbd6abb4ee29675985c6817ea32276d to your computer and use it in GitHub Desktop.
node yaml example
apiVersion: v1
kind: Node
metadata:
name: node-example
labels:
disktype: ssd
spec:
podCIDR: 192.168.0.0/24
providerID: "provider-id"
status:
capacity:
cpu: "4"
memory: 16Gi
pods: "110"
allocatable:
cpu: "4"
memory: 15Gi
pods: "110"
conditions:
- type: Ready
status: "True"
lastHeartbeatTime: 2023-04-01T10:00:00Z
lastTransitionTime: 2023-04-01T10:00:00Z
addresses:
- type: InternalIP
address: 192.168.1.1
- type: Hostname
address: node-example
nodeInfo:
operatingSystem: linux
kernelVersion: 4.9.0-11-amd64
kubeletVersion: v1.20.0
containerRuntimeVersion: docker://19.3.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment