Install ubuntu 20.04 on virtualbox5/3/2023 ![]() kubectl is a command line tool that runs commands against the clusters. kubelet is a primary node agent that runs each node. kubeadm is a tool that we will be using to init control plane node and join worker node. ![]() You will require kubeadm, kubeletand kubectl when installing Kubernetes cluster nodes. modprobe overlay modprobe br_netfilter vim /etc/sysctl.d/k8s.conf -> Add the following content into k8s.conf -nf-call-iptables = 1 _forward = 1 -nf-call-ip6tables = 1 sysctl -system export OS=xUbuntu_20.04 export VER=1.22 export WEBSITE= echo "deb $WEBSITE/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VER/$OS/ /" | tee -a /etc/apt//cri-0.list curl -L $WEBSITE/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VER/$OS/Release.key | apt-key add - echo "deb $WEBSITE/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /" | tee -a /etc/apt//libcontainers.list curl -L $WEBSITE/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | apt-key add - apt-get update apt-get install -y cri-o cri-o-runc systemctl daemon-reload systemctl enable crio systemctl start crio systemctl status crio ![]() This example uses CRI-O however we can also install other container runtimes such as Docker that uses containerd. So, we will need to install a container runtime before installing Kubernetes. Kubernetes is a platform for container orchestration and CRI is a Kubernetes API that interacts with different container runtimes. sudo -i apt-get update & apt-get upgrade -y apt-get install -y vimĢ.2) Container runtime interface installation ![]() We will install tools such as Vim, which we will use later when setting up the Kubernetes. Voila, the Ubuntu installation is complete.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |