Skip to navigationSkip to main contentSkip to footerScaleway Docs

Migrating End-of-Life instance pools in your Kubernetes Kapsule cluster

Scaleway is deprecating support for certain Instance types that have reached their End of Life (EOL). This guide outlines the recommended steps to migrate your Kubernetes Kapsule cluster node pools from deprecated Instance types to currently supported ones.

Before you start

To complete the actions presented below, you must have:

Identifying deprecated Instance pools

  1. Log in to the Scaleway Console.
  2. Navigate to Kubernetes under the Containers section in the side menu of the console.
  3. From the drop-down menu, select the geographical region you want to manage.
  4. Select the cluster containing the node pools using deprecated Instances.
  5. In the Pools tab, check the Instance type column for any pools using deprecated or soon-to-be-removed types.

Creating replacement pools with supported Instance types

  1. For each pool containing end of life Instances:

    • Click + Create pool (or Add pool).
    • Choose a supported Instance type from the Node Type dropdown menu.
    • Configure the pool settings (e.g., Availability Zone, size, autoscaling, autoheal) to mirror the existing pool configuration as closely as possible.
    • Click Create (or Add pool) to initiate the new pool.
  2. Monitor the status of the new nodes until they reach Ready state:

    • In the Pools tab of the console.
    • Alternatively, use kubectl with the command:
      kubectl get nodes
Tip

Schedule this migration during a maintenance window or low-traffic period to minimize service disruption.

Migrating workloads to the new pool

  1. Cordon the deprecated nodes to prevent them from receiving new pods:

    kubectl cordon <deprecated-node-name>
  2. Drain the deprecated nodes to reschedule workloads onto the new nodes:

    kubectl drain <deprecated-node-name> --ignore-daemonsets --delete-emptydir-data
    Note

    The flags --ignore-daemonsets and --delete-emptydir-data may be necessary depending on your environment. Refer to the official Kubernetes documentation for detailed information on these options.

These commands ensure that your workloads are running on the new nodes before proceeding to delete the old pool.

Removing deprecated Instance pools

After verifying that workloads have been rescheduled, continue by deleting the old pool(s).

  1. Return to your cluster’s Pools tab and wait a few minutes to ensure all workloads have been rescheduled onto new nodes.
  2. Click more icon next to the deprecated pool.
  3. Select Delete pool.
  4. Confirm the deletion.

Verifying migration success

  1. Check your nodes:

    kubectl get nodes
    Note

    Only nodes based on supported Instance types should now be listed.

  2. Test your applications to confirm they are functioning correctly on the new nodes.

Tip

Minimize downtime by maintaining multiple replicas of key workloads and setting up Pod Disruption Budgets (PDBs).

Note

If you require assistance during the transitioning process, please contact our Support team.

Still need help?

Create a support ticket
No Results