Install Minikube on Ubuntu 22.04 LTS AWS EC2 | Deploy an app on Minikube | Kubernetes Tutorial

Опубликовано: 30 Сентябрь 2024
на канале: DevOps Hint
5,750
82

In this Video we are going to cover Install Minikube on Ubuntu 22.04 LTS AWS EC2 | Deploy an app on Minikube | Kubernetes Tutorial Install cri-dockerd on Ubuntu 20.04 LTS| Install conntrack package on Ubuntu 20.04 LTS| Install crictl package on Ubuntu 20.04 LTS | Install calico network plugin on Minikube
#kubernetes #minikube #devops #k8s
0:00 Minikube Introduction
10:00 How to Install Minikube on Ubuntu 20.04 LTS AWS EC2
40:00 Deploy App on Kubernetes Cluster using Minikube
55:00 Access App on Minikube


Please find below step by step article

https://www.fosstechnix.com/how-to-in...



* minikube v1.24.0 on Ubuntu 20.04 (xen/amd64)* Using the none driver based on user configurationX Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.22.3 requires conntrack to be installed in root's pathSolution:sudo apt-get install -y conntrack


Error: minikube start --vm-driver=none* minikube v1.26.1 on Ubuntu 22.04 (xen/amd64)* Using the none driver based on user configuration* Starting control plane node minikube in cluster minikube* Running on localhost (CPUs=2, Memory=3922MB, Disk=19673MB) ...* Exiting due to NOT_FOUND_CRI_DOCKERD:* Suggestion: The none driver with Kubernetes v1.24+ and the docker container-runtime requires cri-dockerd. Please install cri-dockerd using these instructions: https://github.com/Mirantis/cri-docke...


Exiting due to GUEST_DRIVER_MISMATCH: The existing "minikube" cluster was created using the "none" driver, which is incompatible with requested "docker" driver.* Suggestion: Delete the existing 'minikube' cluster using: 'minikube delete', or start the existing 'minikube' cluster using: 'minikube start -driver=none' Solution:sudo systemctl enable dockersystemctl status dockersudo systemctl start/stop dockersudo groupadd dockersudo usermod -aG docker $USER -- to add the user to docker group.newgrp docker -- to activate the grp


Error:X Exiting due to HOST_JUJU_LOCK_PERMISSION: Failed to start host: boot lock: unable to open /tmp/juju-mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89: permission denied* Suggestion: Run 'sudo sysctl fs.protected_regular=0', or try a driver which does not require root, such as '--driver=docker'* Related issue: https://github.com/kubernetes/minikub... X Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1stdout:stderr:sudo: crictl: command not foundSolution:Follow below linkshttps://github.com/kubernetes-sigs/cr...