Kubernetes Kosmos

Scaleway Kubernetes Kosmos Overview

Kubernetes Kosmos provides an alternative to a classic Kubernetes Kapsule. With Kubernetes Kosmos, you can create a Kubernetes cluster comprising both managed Scaleway Instances (with auto-healing and auto-scaling) and also external instances and servers from any other Cloud Provider. Scaleway still ensures the high availability of your services all over the world, in different zones, regions, and providers. In addition to the Kubernetes Kapsule pricing, you are charged for the Kubernetes Kosmos control plane, as well as an additional fee for managed external nodes.

In this documentation, we show you how to create and manage a Kubernetes Kosmos cluster from the Scaleway console.

Please refer to our Introduction to Kubernetes and Kubernetes Kapsule Documentation for further information about Kubernetes and the Scaleway Kubernetes Kapsule.

Requirements:

Concept

Kubernetes Kosmos is the first-of-its-kind managed Multi-Cloud Kubernetes Engine. It allows the connection of Instances and servers from any Cloud provider to a single managed Control-Plane hosted by Scaleway. Using Kubernetes in a Multi-Cloud cluster provides a high level of application redundancy by authorizing pods replication across different providers, regions, and availability zones.

Creating a Kubernetes Kosmos Cluster

1 . Click Kubernetes in the Compute section of the side menu. The Kubernetes creation page displays.

2 . Click Create a cluster.

The first page of the Cluster Creation Wizard displays. This concerns the configuration of your cluster.

3 . Complete the following steps of the wizard:

  • Choose a Cluster Type. This can be a Scaleway Kubernetes Kapsule or Kubernetes Kosmos.

    • Kubernetes Kapsule allows you to create clusters exclusively of Scaleway Instances, and includes features such as node auto-healing and pools auto-scaling.
    • Kubernetes Kosmos allows you to attach a compute instance or dedicated server from any Cloud provider to a Scaleway Kubernetes control plane.

Note: This document concerns the creation and management of a Kubernetes Kosmos cluster. To create a Kubernetes Kapsule Cluster, refer to the alternative documentation

  • The geographical region of the cluster:

  • The Kubernetes version for the cluster:

  • A name for the cluster and optionally a description and tags:

4 . Click Create a Cluster to create your cluster without any Scaleway Pools. If you choose this option, your cluster and its control plane are deployed, and you are taken to the cluster’s Overview tab. Continue to Adding a Multi Cloud Pool to your Cluster.

Alternatively, click Add and Configure a Pool to add a pool of Scaleway nodes to your cluster. In this case, the second page of the Cluster Creation Wizard displays. This concerns the settings for your pool.

5 . Enter:

  • The availability zone in which all your pool’s nodes will be created:

  • The node type you require:

  • 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:

6 . Click Create a cluster

Your cluster is deployed and you are taken to the cluster’s Overview tab.

Adding a Multi Cloud Pool to your Cluster

A Multi-Cloud pool allows you to attach external instances and servers to your cluster. Instances added to the same pool do not need to share the same configuration, nor do they have to be managed by the same Cloud provider.

Nodes from Multi-Cloud pools cannot benefit from the auto-healing and auto-scaling features of Scaleway Kapsule pool.

1 . Click Kubernetes in the Compute section of the side menu. The Kubernetes creation page displays.

2 . Click the cluster you want to add a pool to.

3 . Click the Pools tab.

4 . Click the green `+ Add a new pool button. The pool creation wizard displays.

5 . Complete the following steps of the wizard:

  • Choose a Pool Type. This can be a Scaleway Kubernetes Kapsule Pool or a Kubernetes Multi-Cloud Pool.

Note: This document concerns the creation and management of a Scaleway Kubernetes Multi Cloud Pool. For a Kubernetes Kapsule Pool, refer to the alternative documentation

  • A name for the pool and optionally a description and tags:

6 . Click Add Pool to finish.

Adding External Nodes to your Multi Cloud Pool

In order to add external nodes to your Multi Cloud Cluster, you must first create a Multi Cloud Pool.

1 . Click Kubernetes in the Compute section of the side menu. The Kubernetes creation page displays.

2 . Click the cluster you want to add external nodes to.

3 . Click the Nodes tab.

4 . Click the + Add an External Node button

The instructions for adding an external node display:

Connect to the node you want to add to your Kubernetes Kosmos cluster and run the command as described in the instruction panel.

Detaching Nodes from your Multi Cloud Pool

1 . Click Kubernetes in the Compute section of the side menu. The Kubernetes creation page displays.

2 . Click the cluster in question.

3 . Click the Nodes tab.

4 . Click the unlink icon next to the node you want to detach. A pop-up asks you to confirm the action.

5 . Click Detach this node.

Note: This action will remove your node from the cluster. Your external node will not be deleted from your other cloud provider account(s).

Limitations

Be aware that auto scaling and auto healing features are not available on external providers’ nodes. Since Scaleway does not have access to your other providers’ accounts, it is not possible to carry out actions such as automatic deletion, creation,and reboot of external nodes.

Discover the Cloud That Makes Sense