Scale the Node Pools

You can change the number of nodes in the node pool to optimize your resource usage.

Add nodes to a node pool to scale out, or remove nodes from a node pool to scale in.

To scale out the node pool:

  1. Access the Oracle Cloud Infrastructure Console.
  2. From the navigation menu, select Developer Services. Under Containers & Artifacts, click Kubernetes Cluster (OKE).
  3. From the Compartment dropdown, select the compartment where your cluster is located.
  4. Click the name of the cluster you want to modify.
  5. Under Resources, click Node Pools, and then click the node pool that you want to scale out.
  6. On the Node Pool details page, click Scale and edit the number of the nodes in the node pool.
  7. Click Scale to save the changes.

To scale in the node pool:

  1. Access the Oracle Cloud Infrastructure Console.
  2. From the navigation menu, select Developer Services. Under Containers & Artifacts, click Kubernetes Cluster (OKE).
  3. From the Compartment dropdown, select the compartment where your cluster is located.
  4. From the list of clusters, click the name of the cluster you want to modify.
  5. Under Resources, click Node Pools.
  6. From the list of node pools, click the name of the node pool.
  7. Under Resources, click Nodes.
  8. Click the arrow on the right, and under Actions, click Delete Node. In the Confirm page, do the following:
    1. Click Show advanced options.
    2. Under Cordon and drain, before terminating the node, specify the time to allow to cordon and drain the node.
    3. Select the Force terminate after grace period check box, if you want to terminate the node at the end of the eviction grace period.

      If this check box is selected, the nodes are terminated even if they have not been successfully cordoned and drained.

  9. Repeat steps 2 to 8 for each node that you want to remove.