Skip to main content
Kubernetes → Nodes lists the node objects Kubernetes keeps for a cluster, grouped by node group. A node’s own page shows its conditions, the pods on it and its scheduling state, and is where you cordon, uncordon or drain it. The machines behind the nodes, and adding or resizing node groups, are on Nodes.

Before you start

  • Permission to change scheduling. Reading nodes needs no more than a built-in role. Cordon and uncordon need kubernetes.write on the cluster. A drain needs kubernetes.write and kube_access.use, and reads the node through your cluster access grant. See Roles and access.
  • A cluster agent that is online. Scheduling changes need a live read of the node. While the agent is offline the list shows the last one Ankra recorded, and the buttons that change scheduling stay disabled.

Open the node list

Go to Infrastructure → Clusters → <your cluster> → Technical details → Kubernetes → Nodes (/next/clusters/<cluster-id>/kubernetes/nodes). Technical details is a group in the cluster menu that folds away; open it if it is closed. In the Kubernetes menu, Nodes is under Cluster. The page is headed Nodes. A line under the filters says where the list came from: “Read live from the cluster.” or “Served from the platform cache.”. When the agent is offline it reads “The cluster agent is offline: this list is the last one the platform recorded.”

What the list shows

Find a node

  • Type in Filter loaded nodes by name… to narrow the list.
  • Tick Needs attention only to show nodes that are not ready, have unknown readiness, are cordoned or report pressure, and provider machines missing from Kubernetes.
  • Sort by Name, Readiness, CPU capacity, Memory capacity, Created date, Kubernetes version, Operating system or Container runtime, ascending or descending.
  • Tick a node’s checkbox, or Select all shown nodes, to cordon or uncordon several at once (shift-click a second node to select every node between).
The count beside the tools reads, for example, “3 of 12 nodes”. Click a node’s name to open its page.

Read one node

A node’s page (/next/clusters/<cluster-id>/kubernetes/nodes/<node-name>) opens with a card of facts: readiness, Cordoned or Schedulable, roles, kubelet version, operating system, kernel, internal and external IP, allocatable and capacity, the taint count and the container runtime. Capacity is what the node can hold, not what it uses: for usage, see Cluster metrics narrowed to this node. When the page cannot read the node live, it says “Current node state is not verified” and shows the platform’s last recorded observation with its age. Scheduling changes wait for a live read; click Read node again. The sections below the card: The node page has no labels, annotations or cached-image panels, and no GPU card. Read those from the CLI (below). GPU use, memory, temperature and power are on the GPUs tab of Cluster metrics, with a connected Prometheus.

Cordon or uncordon a node

Cordoning stops new pods from being scheduled on a node. Pods already on it keep running. It does not prepare the node for shutdown: drain it for that.
1

Review the change

On the node’s page, under Scheduling, click Review cordon (or Review uncordon on a cordoned node). A dialog asks Cordon this node? or Return this node to scheduling?
2

Confirm

Click Cordon node or Uncordon node. Ankra checks the node’s identity and revision again before it applies the change. The page reads “Request accepted. Waiting for a live observation of the scheduling change.” until the node reports the new state, then “Observed cordoned. Existing pods remain on this node.” or “Observed schedulable. Workload health is reported separately.”
To cordon or uncordon several nodes at once, tick them in the node list (shift-click a second node to select every node between, or tick Select all shown nodes), then click Review cordon or Review uncordon and Confirm scheduling change. A review covers at most 20 nodes, and each node is checked again before its state changes.
Check: the node shows Cordoned (or Schedulable) on its page and in the node list.

Drain a node

A drain cordons the node, then evicts its pods while Kubernetes enforces their disruption budgets, so their controllers start them elsewhere. DaemonSet pods, static mirror pods and completed pods stay on the node. A drain does not back up data or check that the replacement pods are ready.
Pods with emptyDir or hostPath data lose that data when they are evicted, and pods without a workload controller may not be recreated. The drain review lists both and asks you to accept each before it starts.
1

Open the drain review

On the node’s page, under Scheduling, click Review node drain. The page Drain <node-name> reads the node and its workloads live and lists Pods on this node and Matching disruption budgets.
2

Accept each risk the review names

Under Review the drain, tick each box the review shows. It shows only the ones that apply: Allow eviction of pods using emptyDir or hostPath, Allow eviction of pods without a workload controller, Allow the Ankra agent to be evicted from this node and restart on another one., and Allow this drain to leave workloads, and possibly the cluster, offline until the node is uncordoned.. Click Refresh live review if the cluster changed while you read.
3

Confirm the drain

Click Review drain confirmation, type the node’s name and click Start drain. The page turns into the drain’s receipt: Drain in progress, with State, Started, Updated and Remaining evictable pods.
4

Wait for it to finish

Disruption budgets can hold an eviction back, so a drain can take a while. Cancel drain stops it from evicting more pods and keeps the node cordoned. If the receipt is headed Drain needs attention and says “The runner is not active. Review this receipt and resume the same operation when ready.”, click Resume drain. When the drain finishes, the receipt is headed Drain completed and links to Review node scheduling and uncordon when ready.
Check: Remaining evictable pods reads 0, and the node’s Workloads section lists only DaemonSet, static and completed pods. The node stays cordoned after the drain. Uncordon it when the maintenance is done.

Drain from the CLI

ankra cluster drain deletes the pods instead of evicting them, so it does not consult PodDisruptionBudgets and a budget at its limit does not hold it back. Check the budgets first, and use the portal’s drain for a node that carries a quorum member.

Read a node from the CLI

describe shows the node’s conditions and the events scoped to it; -o yaml prints the whole node object, including its labels, annotations, capacity and allocatable. top nodes shows live CPU and memory per node from metrics-server.

What can go wrong

“Scheduling changes require kubernetes.write for this cluster.” Your role cannot cordon or uncordon. Ask an administrator for a role with kubernetes.write. “Draining this node requires kubernetes.write and kube_access.use for this cluster.” Review node drain is hidden until your role holds both permissions. “The live node review could not be read. Check your cluster access grant and try again.” The drain review reads the node through your access grant. Check that you hold one for this cluster on Cluster access, then click Try again. “The drain was not started” The platform refused the drain as you reviewed it, usually because the cluster changed in between. Click Refresh live review, read the review again and confirm. “Scheduling request outcome unknown” Ankra could not tell whether the change was applied. Click Read node again and check the node’s state before you change it again. “This node was not found in the current Kubernetes read.” The node left the cluster, or was renamed. Click Back to nodes.