Launch Kubernetes Cluster

Kubernets is the open source container orchestratoin tool. Its designed automates deployment, scaling and manage containerized application and operating application of containers.

Here are the steps on how to launch Kubernetes on Neevcloud:

Navigate to the Dashboard.

  1. Click on "Kubernetes".

  2. At the top right corner, click "Create Kubernetes".

  • Now select the Template ->

Here we can see two types of templates:

  1. Kubernetes-single-Master

  2. Kubernetes-Multi-Master

  • High Availability (HA) refers to a system or service's capability to remain operational and accessible to users over extended periods, typically measured as a percentage of uptime. High availability ensures that a system is consistently available and operational, minimizing downtime.

  • Ensure you enable the High Availability feature to create three master nodes working in Active/Active mode. Leave it disabled to create a single master node.

  • Now select the Master Flavor:-

  • Select the Worker Node: Number of nodes you can select

  • Select the Worker Flavor: Note that all worker nodes will be of the same flavor

Autoscaling Overview

Autoscaling, sometimes referred to as automatic scaling or auto-scaling, is a crucial cloud computing service that dynamically adjusts the number of computational resources assigned to an application or service in line with its ongoing workload. This capability aims to ensure that the application remains capable of efficiently managing fluctuating traffic levels or demands, while also optimizing the utilization of resources and reducing expenses.

  • If you enable autoscaling, you should select the worker nodes based on usage.

  • Next Cluster Network -> If you have already created the network, you can choose an existing network; otherwise, it will work in the default network.

  • Next Boot Volume -> Storage Policy > Default, storage size(GB)

  • Enable Floating IP

  • When you enable the floating IP, you will get an IP for each master and worker node.

  • Select the "SSH_KEY": If you already have an SSH key, you can select it. If you do not have one, click "Generate SSH key", follow the provided URL, and scroll down to the key section.

  • Give the Name > Click the Create cluster ->

  1. Navigate to the Dashboard.

  2. Select Kubernetes.

  3. Click **Create cluster

  • See the details of Kubernetes cluster like Overview, Pools ->

  • Networking In Kubernetes Cluster ->

  • Go the Networking > Networks > Select the Created cluster ->

  • Here we can see details about the cluster status, Name of node, IPs, etc ->

  • To access Kubernetes externally Download kubeconfig ->

After downloading the kubeconfig file, copy this file to any Linux terminal.

  • Run these commands to execute the YAML file

  • export KUBECONFIG=path of file

  • snap install kubectl --classic

  • kubectl get nodes

To SSH into the Master Node

  1. Navigate to the server dashboard

  2. Identify your master node and its public IP

  1. Navigate to the directory containing your SSH key.

  2. Open the terminal and type ssh -i ssh_key.pem core@ip-address where "ssh_key.pem" is the name of your SSH key and "IP-address" is the public IP address of your master node.

Last updated