|
1 | 1 | --- |
| 2 | + |
2 | 3 | meta: |
3 | 4 | title: How to create a Kubernetes Kapsule cluster |
4 | | - description: Learn how to create and manage a Scaleway Kubernetes Kapsule cluster, a managed environment for running containerized applications. |
| 5 | + description: Learn how to create and manage a Scaleway Kubernetes Kapsule cluster, an advanced managed environment for containerized applications. |
5 | 6 | content: |
6 | 7 | h1: How to create a Kubernetes Kapsule cluster |
7 | | - paragraph: Learn how to create and manage a Scaleway Kubernetes Kapsule cluster, a managed environment for running containerized applications. |
8 | | -tags: kubernetes kapsule-cluster kapsule |
| 8 | + paragraph: Master the process of creating and managing a Scaleway Kubernetes Kapsule cluster, an advanced managed environment for containerized applications. |
| 9 | +tags: kubernetes, kapsule-cluster, kapsule |
9 | 10 | dates: |
10 | | - validation: 2024-06-17 |
| 11 | + validation: 2024-09-30 |
11 | 12 | posted: 2021-05-31 |
12 | 13 | categories: |
13 | 14 | - kubernetes |
14 | 15 | --- |
15 | 16 |
|
16 | | -Scaleway Kubernetes Kapsule provides a managed environment for you to create, configure and run a cluster of preconfigured machines for containerized applications. You will be able to create [Kubernetes](https://kubernetes.io) clusters without the complexity of managing the infrastructure. |
| 17 | +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](https://kubernetes.io) clusters without the complexity of managing the underlying infrastructure. |
17 | 18 |
|
18 | | -The service offers full flexibility such as: |
19 | | - * Scaling the number of pods depending on the workload. |
20 | | - * Managing your cluster easily via the [Kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) |
| 19 | +Key benefits include: |
| 20 | + * Dynamic scaling of pods based on workload demands. |
| 21 | + * Simplified cluster management via [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/), the Kubernetes command-line tool. |
21 | 22 |
|
22 | | -To administrate your Kubernetes cluster easily, Scaleway provides a `.kubeconfig` file that allows you to manage your cluster from your local computer by using `kubectl`. [Kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) is the command line interface for running commands against Kubernetes clusters. |
| 23 | +To facilitate cluster administration, Scaleway provides a `.kubeconfig` file, enabling you to manage your cluster locally using `kubectl`. [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) is essential for executing commands against Kubernetes clusters. |
23 | 24 |
|
24 | 25 | <Macro id="requirements" /> |
25 | 26 |
|
26 | | -- A Scaleway account logged into the [console](https://console.scaleway.com) |
| 27 | +- A Scaleway account with access to the [console](https://console.scaleway.com) |
27 | 28 | - [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization |
28 | 29 |
|
29 | | -1. Click **Kubernetes** in the **Containers** section of the [Scaleway console](https://console.scaleway.com/) side menu. The Kubernetes dashboard displays. |
30 | | -2. Click **Create cluster**. The first page of the cluster creation wizard displays. |
31 | | -3. This page concerns the configuration of your cluster. Enter the following information: |
32 | | - * The **cluster type**. Select **Kubernetes Kapsule** cluster to create a cluster using exclusively Scaleway Instances. |
33 | | - <Message type="note"> |
34 | | - This document concerns the creation and management of a **Kubernetes Kapsule** cluster. To create a Kubernetes Kosmos cluster, refer to the [Kubernetes Kosmos documentation](/containers/kubernetes/how-to/create-kosmos-cluster/) |
35 | | - </Message> |
36 | | - * The geographical **region** of the cluster. |
37 | | - * The Kubernetes **version** for the cluster. |
38 | | -4. Configure the **Private Network** for the cluster. A Private Network allows your cluster to communicate in an isolated and secure network. Each cluster is autoconfigured using a /22 IP subnet. |
39 | | - You can either: |
40 | | - * Attach an existing Private Network (VPC) within the same Availability Zone from the drop-down. |
| 30 | +## Cluster configuration |
| 31 | + |
| 32 | +<Message type="note"> |
| 33 | + This guide covers the creation of a **Kubernetes Kapsule** cluster. For Kubernetes Kosmos clusters, refer to the [Kubernetes Kosmos documentation](/containers/kubernetes/how-to/create-kosmos-cluster/). |
| 34 | +</Message> |
| 35 | + |
| 36 | +1. Navigate to **Kubernetes** under the **Containers** section of the [Scaleway console](https://console.scaleway.com/) side menu. The Kubernetes dashboard displays. |
| 37 | +2. Click **Create cluster** to launch the cluster creation wizard. |
| 38 | +3. On the cluster configuration page, provide the following details: |
| 39 | + * Check the Organization and Project for the new cluster. |
| 40 | + <Message type="important"> |
| 41 | + You cannot move a cluster from one Organization or Project to another once created. |
| 42 | + </Message> |
| 43 | + * Select **Kubernetes Kapsule** as the cluster type, which uses exclusively Scaleway Instances. |
| 44 | + * Choose the geographical **region** for the cluster. |
| 45 | + * Select the control plane offer for your cluster. Options include shared or dedicated control planes. |
| 46 | + <Message type="tip"> |
| 47 | + Need help deciding on a control plane offer? Learn more about our [Kubernetes control plane offers](/containers/kubernetes/reference-content/kubernetes-control-plane-offers/). |
| 48 | + </Message> |
| 49 | + * Specify the **Kubernetes version** for your cluster. |
| 50 | +4. Enter the **cluster's details**. Provide a name for the cluster. Optionally, you can add a description and tags for better organization. |
| 51 | +5. 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: |
| 52 | + * Attach an existing Private Network (VPC) within the same Availability Zone from the drop-down menu. |
41 | 53 | * Attach a new Private Network to the cluster. |
42 | 54 | <Message type="important"> |
43 | | - The Private Network of your cluster can not be detached, and the cluster can not be moved to another Private Network after creation. |
| 55 | + The Private Network cannot be detached, and the cluster cannot be moved to another Private Network post-creation. |
| 56 | + </Message> |
| 57 | +6. Click **Configure pools** to proceed. |
| 58 | + |
| 59 | +## Pool configuration |
| 60 | + |
| 61 | +This section outlines the settings for your cluster pools. You can configure as many pools for your cluster as you require. |
| 62 | + |
| 63 | +1. Configure the following for each pool: |
| 64 | + * Choose an **Availability Zone** for the pool's nodes. |
| 65 | + * Select the **node type** for the pool. |
| 66 | + <Message type="tip"> |
| 67 | + Need advice on choosing a node type? [Learn more about Kubernetes nodes.](/containers/kubernetes/concepts/#node) |
| 68 | + </Message> |
| 69 | + * Configure the **system volume**. This volume contains the operating system of the nodes in your pool. |
| 70 | + * 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. |
| 71 | + <Message type="tip"> |
| 72 | + - Unsure about the autoheal feature? [Learn more about autoheal.](/containers/kubernetes/concepts/#autoheal) |
| 73 | + - Need more information about placement groups? [Learn more about placement groups.](/compute/instances/concepts/#placement-groups) |
| 74 | + </Message> |
| 75 | + * Enable full isolation, if required. |
| 76 | + <Message type="tip"> |
| 77 | + Need more information on full isolation? [Learn more about full isolation.](/containers/kubernetes/reference-content/secure-cluster-with-private-network/#what-is-the-difference-between-controlled-isolation-and-full-isolation) |
| 78 | + </Message> |
| 79 | +2. Click **Add pool** to integrate the pool into the cluster. |
| 80 | +3. To add more pools, click **Expand** and repeat the steps above. |
| 81 | + <Message type="tip"> |
| 82 | + You can add or remove pools as needed before finalizing your cluster configuration. To remove a pool, click **Remove** within the respective pool. |
44 | 83 | </Message> |
45 | | -5. Enter the **name** for the cluster and, optionally, a description and tags, which can help you organize your cluster. |
46 | | -6. Click **Next**. The second page of the Kapsule cluster creation wizard displays. |
47 | | -7. This page concerns the settings for your cluster's pool. Enter the following information: |
48 | | - * The **Availability Zone** in which all your pool's nodes will be created. |
49 | | - * The **node type** you require. |
50 | | - * The configuration for your **node options**, including the number of nodes and whether to enable autoscale. You can also choose whether to enable autoheal and whether to link the cluster to a placement group. Alternatively, you can leave these options at default values. |
51 | | -8. Click **Create cluster**. Your cluster is being deployed. Once the cluster is ready, it appears in the clusters list. |
| 84 | +4. Once all pools are configured, click **Review** to finalize your cluster setup. |
52 | 85 |
|
| 86 | +## Review configuration |
53 | 87 |
|
| 88 | +1. Review the configuration details of your Kubernetes cluster and its pools. |
| 89 | + <Message type="tip"> |
| 90 | + To modify any element, click the <Icon name="edit" /> **Edit** icon next to the respective configuration component. |
| 91 | + </Message> |
| 92 | +2. Click **Create cluster** to deploy your cluster. Once deployment is complete, the cluster appears in the clusters list. |
0 commit comments