How to Install Kubernetes on Ubuntu 21.04 | Install Kubernetes on Ubuntu | Install kubernetes

preview_player
Показать описание
▬▬▬▬▬▬ * Instruction's Guides * ▬▬▬▬▬▬

Kubernetes is Docker orchestration tool for managing the docker container. It is an opensource system used for deploying and managing containerized applications with highl availability.

In this session we are going to install the kubernetes on Ubuntu 21.04 but the same lab session can be followed for installing kubernetes on Ubuntu 20.04.

In this tutorial, we are going to see -
1. We will start with two virtual machine .i.e. master and worker
2. Setting up the host entries
3. Installing docker
4. Disable the firewall and turnoff the “swapping”
5. Install “apt-transport-https” package
8. Install kubernetes
9. Enable and Start kubelet
10. Initialize the kubernetes cluster
11. Move kube config file to current user
13. Join worker nodes to master(only run on worker)
14. Check the nodes status

▬▬▬▬▬▬ ⭐️ 🕘Timestamps ⭐️ ▬▬▬▬▬▬
0:00 - Intro
0:50 - Why we need to setup kubernetes cluster locally?
2:23 - Guide with all the installation instructions
2:44 - Vagrant setup for starting master node and worker node
4:12 - Start Vagrant
5:52 - Login and update hosts file
8:22 - Install docker
10:56 - Disable firewall and swapping
11:42 - Install apt-trasport-https
12:06 - Download the public keys
12:55 - Add kubernetes repo and install kubernetes
13:55 - Enabled and start kubelete
14:33 - Initialize the kubernetes cluster
16:07 - Move kube config file
19:28 - Join worker node to master node
21:15 - Kube join

▬▬▬▬▬▬ * Setup kubernetes using Kubespray * ▬▬▬▬▬▬

▬▬▬▬▬▬ * Spring Boot deployment on kubernetes tutorial* ▬▬▬▬▬▬

▬▬▬▬▬▬ * Spring Boot deployment on kubernetes tutorial* ▬▬▬▬▬▬

▬▬▬▬▬▬ * Helm Chart tutorial* ▬▬▬▬▬▬

▬▬▬▬▬▬ * Terraform tutorial* ▬▬▬▬▬▬

Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.

Video is copyrighted and can not be re-distributed on any platform.

#devops #kubernetes #ubuntu
Рекомендации по теме
Комментарии
Автор

Hi i am not able create any pods it is stuck in contianer creating status . can you help me with this

saiyashwanth
Автор

Awesome I like the kubernetes installation steps

knilesh
Автор

Installing Kubernets under Ubuntu 21.04 it might be needed to add cgroufs to the cgroup-driver, creating a file /etc/default/kubelet with this line:

tomislavtopic
Автор

nice video! which was the base OS of the system on which you installed the vagrant ubuntu VMs?

parashar
Автор

@Rahul Wagh thank you for sharing
also is there any tips on how to access the cluster dashboard from the way you demo in this video?

cesarniyomugabo
Автор

Hi I tried your steps, finaly try to "kubectl get nodes" command the worker node status has been "Not Ready"

pazhanimurugan
Автор

i am getting error- bento/ubuntu-20.04 could not be found while running vagrant up, please help

nidhi
Автор

you - well-done - Isn't it a good idea to install Kubernetes as root user? Also the latest kubernetes has stopped supporting Docker, it uses containerd instead as a run time.

Fayaz-Rehman
Автор

"The connection to the server localhost:8080 was refused - did you specify the right host or port?" on worker

deborarondon
Автор

Why do you install Xenial Kubernetes packages on Hirsute version of Ubuntu?

codebeta_cr
Автор

Hi Rahul, could you please provide your email contact, would like to discuss about kubernets and support. Thank you.

arunar