- Kubernetes → Nodes lists every node Kubernetes reports, grouped by node group, with readiness, capacity and scheduling. Cordon and drain start here.
- Node management changes the infrastructure: node groups, the control plane and the provider machines. Open it with Manage nodes and groups on the Nodes page.
Before you start
The portal says what is missing next to the control, for example “Editing infrastructure requires clusters.write for this cluster.” or “Draining this node requires kubernetes.write and kube_access.use for this cluster.” See Roles and access.
On a cluster you imported, Ankra does not run the machines. Node management reads “Infrastructure is managed outside Ankra.” and you can still cordon and drain nodes.
Find the nodes
Go to Infrastructure → Clusters → <your cluster> → Kubernetes → Nodes (/next/clusters/<cluster-id>/kubernetes/nodes). The tiles at the top read Ready, vCPU, Memory and Node groups (or Node pools). Below them each node group lists its nodes; a node that cannot take new pods carries Cordoned. A provider machine that has not registered with Kubernetes yet reads Not joined.
Click Manage nodes and groups to open Node management (/next/clusters/<cluster-id>/node-groups). It has three sections: Node groups (or Node pools), Control plane and Provider machines. Managed Kubernetes clusters show the node pools only; the provider runs their control plane.
Every change on Node management follows the same pattern: fill in the form, click Review change, check the Review infrastructure change dialog, then click Confirm change. The page then says “Request accepted. Follow Operations, then verify the actual infrastructure and affected workloads.” Follow the change under Operations with View Operations.
Add a node group
- Portal
- CLI
1
Open the form
On Node management, click Add node group (Add node pool on managed Kubernetes).
2
Describe the group
Enter a Group name (lowercase letters, numbers and hyphens; it cannot be changed later), choose the Instance type and set the Node count (0 to 100). Tick Enable autoscaling to give a Minimum nodes and Maximum nodes instead. Add Labels (one
key=value per line) and Taints (one key=value:effect per line, with NoSchedule, PreferNoSchedule or NoExecute) if workloads should be placed on this group.3
Confirm
Click Review change, then Confirm change.Check: the group appears under Node groups with “nodes requested”, and its nodes appear on Kubernetes → Nodes once they join.
Change a node group
- Portal
- CLI
1
Open the group
On Node management, click Inspect and edit on the group. Current settings shows the instance type, the requested and observed node counts, Fixed size or the autoscaling range, labels and taints.
2
Pick what to change
Choose a tab:
- Node count - a fixed size from 0 to 100 (from 1 on managed Kubernetes). Turn autoscaling off first: “Disable autoscaling before changing the fixed count.”
- Autoscaling - tick Enable autoscaling and set Minimum nodes and Maximum nodes. See Cluster autoscaling.
- Instance type - move the group to another size.
- Labels and Taints - the saved set replaces the group’s set. An empty set removes them all.
- Pool settings - on managed Kubernetes providers that support it: Autohealing and Upgrade policy.
- Delete - type the group’s name to confirm.
3
Confirm
Click Review change, read the risk note under the form, then click Confirm change.Check: under Operations the change runs to completion, and Current settings shows the new values after Refresh.
Change the control plane
On Node management, click Inspect control-plane settings. The page shows the number of control plane nodes and their instance type, and offers:- Change control-plane count - choose the number under Control-plane nodes. When a change is not possible right now, the page gives the reason.
- Resize control plane - choose a new Instance type. When the cluster has a single controller that can be resized while running, the dialog is Resize the only control plane: “The Kubernetes API is unavailable for a few minutes while the control plane restarts.” Confirm with Resize with API downtime.
Restart a machine or resize the bastion
- Portal
- CLI
1
Open the machine
On Node management, under Provider machines, click Inspect machine. Machine details shows the role, node group, instance type, provider status, power state and addresses.
2
Choose the action
Under What do you want to change?:
- Restart machine restarts the server at the provider. It does not drain its workloads first. Type the machine’s name to confirm. HPE Morpheus clusters have no restart.
- Resize bastion or gateway appears on the bastion (and the public gateway on Scaleway). Choose the new size.
3
Confirm
Click Review change, then Confirm change.Check: Inspect machine operations lists the request; once it finishes, Machine details shows the new power state or instance type.
Cordon and drain a node
Cordoning stops new pods from being scheduled on a node; its current pods keep running. Draining cordons the node and evicts its pods within their disruption budgets, which is what prepares a node for shutdown.- Portal
- CLI
1
Open the node
On Kubernetes → Nodes, click the node.
2
Cordon or drain
Under Scheduling, click Review cordon and confirm with Cordon node. To drain, click Review node drain instead.Check: after a cordon the node carries Cordoned.
3
Review the drain
The Drain page reads the live node and lists Pods on this node and Matching disruption budgets. Accept each risk it lists, click Review drain confirmation, type the node’s name, then click Start drain.Check: the receipt reads Drain in progress with Remaining evictable pods, and its title names the final state when the drain ends. Cancel drain stops it and keeps the node cordoned; Resume drain continues one that stopped.
4
Return the node to service
When the work on the node is done, open Review node scheduling and uncordon when ready, click Review uncordon and confirm with Uncordon node.
Stop and start the cluster
Stopping deletes or powers off the cluster’s servers, depending on the provider, and starting brings them back. Both are on Settings → Stop, start and schedules; see Power schedules.What the portal does not do
What can go wrong
Related
Operate an Ankra Managed Cluster
The CLI for node groups, the control plane, restarts and the bastion.
Node details
One node’s conditions, capacity, pods and metrics.
Cluster autoscaling
Let Ankra size a node group between limits.
Cluster settings
Every settings page of a cluster.