Multi-Cloud Kubernetes cluster Setup

Multi-Cloud Kubernetes cluster Setup

Through my previous articles we have seen how kubernetes is setup on AWS but now we'll see how we can make a multi-cloud setup i.e. different nodes of the cluster on different cloud services platforms.

We will be using AWS and Microsoft Azure as cloud platform and also our own local system as one of the nodes.

Worker Node on Azure:

1 (2).jpg

Now, we launch an instance on Azure in order to configure worker node for the cluster as follows,

2.0.jpg

3kubereppoyum.jpg here we have configured yum repository which is required for installing kubernetes on our system,

4installsoftware.jpg

Installing Docker as our container engine for kubernetes:

5cont_engine.jpg

Now next we change the default cgroup driver to systemd driver:

5docker-changed-default-cgroupdriver-tosystemd.jpg

5.1.jpg

As we know kubernetes need tc command so, we need to install iproute-tc

6iproute.jpg

Our worker node is configured so we join the cluster using kubeadm command:

7clusterjoin-kubadm.jpg

As for other worker node we create it on our local system in a similar fashion as we did previously and join it to the cluster :

another node-in-local.jpg

Master node for our cluster is configured on AWS:

9-masteraws.jpg

As for configuring our master node after applying all the commands used in configuration of worker node we have to use some additional commands:

10master-conf.jpg

Now with this our Multi-cloud kubernetes cluster is configured as we used AWS for master node Microsoft Azure as one worker node and our own local system as one of the other worker nodes.

This project was done with some of my friends:

- Saurav Rana

-Sahil Negi

-Rithik Sharma

- Vibhanshu Sharma

-Devesh Bhardwaj.

Thank You.