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
.
Click on
"Kubernetes"
.At the top right corner, click
"Create Kubernetes
".
Now select the
Template
->
Here we can see two types of templates
:
Kubernetes-single-Master
Kubernetes-Multi-Master
High Availability (HA)
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 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
->
Navigate to the Dashboard
.Select
Kubernetes
.
Click
**Create cluster
See the details of Kubernetes cluster like Overview, Pools ->
Networking In Kubernetes Cluste
r ->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
To SSH into the Master Node
Navigate to the server dashboard
Identify your master node and its public IP
Navigate to the directory containing your SSH key.
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