How to create a Kubernetes Kapsule cluster
Scaleway Kubernetes Kapsule provides a managed environment for creating, configuring, and operating a cluster of preconfigured nodes for containerized applications. This service allows you to deploy Kubernetes clusters without the complexity of managing the underlying infrastructure.
Key benefits include:
- Dynamic scaling of Pods based on workload demands.
- Simplified cluster management via kubectl, the Kubernetes command-line tool.
To facilitate cluster administration, Scaleway provides a .kubeconfig file, enabling you to manage your cluster locally using kubectl. This tool is essential for executing commands against Kubernetes clusters.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account with access to the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
Cluster configuration
- Navigate to Kubernetes under the Containers section of the Scaleway console side menu. The Kubernetes dashboard displays.
- From the drop-down menu, select the geographical region where you want to create your cluster.
- Click Create cluster to launch the cluster creation wizard.
- On the cluster configuration page, provide the following details:
- Check the Organization and Project for the new cluster.
- Select Kubernetes Kapsule as the cluster type, which uses exclusively Scaleway Instances.
- Confirm the geographical region for the cluster.
- Select the control plane offer for your cluster. Options include shared or dedicated control planes.
- Specify the Kubernetes version for your cluster.
- Enter the cluster's details. Provide a name for the cluster. Optionally, you can add a description and tags for better organization.
- Configure the Private Network for the cluster to ensure secure and isolated network communication. Each cluster is auto-configured with a /22 IP subnet. Click Select Private Network to:
- Attach an existing Private Network (VPC) within the same Availability Zone from the drop-down menu.
- Attach a new Private Network to the cluster.
- Click Configure pools to proceed.
Pool configuration
This section outlines the settings for your cluster pools. You can configure as many pools for your cluster as you require.
- Configure the following for each pool:
- Choose an Availability Zone for the pool's nodes.
- Select the node type for the pool.
- Configure the system volume. This volume contains the operating system of the nodes in your pool.
- Configure pool options, including node count and whether to enable autoscaling. Options also include enabling autoheal and linking to a placement group, or you can retain default settings.
- Enable full isolation, if required.
- Click Add pool to integrate the pool into the cluster.
- To add more pools, click Expand and repeat the steps above.
- Once all pools are configured, click Review to finalize your cluster setup.
Review configuration
- Review the configuration details of your Kubernetes cluster and its pools.
- Click Create cluster to deploy your cluster. Once deployment is complete, the cluster appears in the clusters list.
See Also
Still need help?Create a support ticket