Kubernetes

What does Managed mean?

We offer a managed Kubernetes service.

What does Managed mean at NMS:

1. We install the cluster

2. We operate and monitor your cluster

3. We offer updates

4. We offer Backups

 

Getting Started

Getting Started

Create NWS Managed Kubernetes

To start our Managed Kubernetes service, you must first create an account on our NWS Customer Interface and provide a valid payment method

k8s 1.PNG

k8s 3.PNG

The first step to the cluster would now be to start the first cluster in the Clusters submenu. In the concrete example with the smallest requirements and in version 1.25.2

k8s 4.PNG

k8s 5.PNG

k8s 6.PNG

In the background, NWS automations start, create an OpenStack project, create the machines, and configure the cluster with all the necessary components. After 5-10 minutes, the cluster is ready for use.

Getting Started

Connect to the created cluster

Now that the cluster is built and kubectl is already installed, it is time to connect to the cluster. This is done by clicking on "Download-Config" in the context menu next to the cluster in the NWS backend.k8s 9 download config.PNG

k8s 9 download config 2.PNG

The just downloaded Config must now be moved to the correct place.

To do this, we create a directory in the user home that is still required (if it does not exist) and copy the file into it. At the end we adjust the rights. All work is done as a local user:

mkdir ~/.kube

mv ~/Downloads/config ~/.kube/

chmod 0600 ~/.kube/config

Now way is free for the first connection and the test with the cluster. Therefore, we execute the following command and check whether nodes are displayed.

kubectl get nodes 


NAME                                     STATUS   ROLES    AGE   VERSION
workshop-virgin2-ytwudzfwjco6-master-0   Ready    master   17h   v1.23.1
workshop-virgin2-ytwudzfwjco6-node-0     Ready    <none>   17h   v1.23.1


Getting Started

Starting further clusters in the same K8s project

If you need a staging cluster and a production cluster, this can easily be done in the same Kubernetes app - but you'll need to launch separate clusters for each.