Kubernetes - Node

Last Updated: 2023-08-26

Node is the abstraction of a machine, which may mean different things in different environment:

  • in a bare metal cluster: node = a bare metal machine
  • in a cluster on a cloud provider e.g. GKE: node = a GCE VM.
  • in a kind cluster: node = a docker container

To mark a Node unschedulable, run:

kubectl cordon $NODENAME

Pods that are part of a DaemonSet tolerate being run on an unschedulable Node. DaemonSets typically provide node-local services that should run on the Node even if it is being drained of workload applications.