filmov
tv
How to Install Minikube on Ubuntu 24.04 LTS - Single-Node Kubernetes Cluster
Показать описание
Learn how to install Minikube on Ubuntu 24.04 and set up a single-node Kubernetes cluster with this step-by-step tutorial! This guide covers everything from installing updates and Docker and configuring Minikube and verifying your installation. Follow along to get your Kubernetes cluster up and running smoothly.
**Steps Covered in This Tutorial:**
1. **Install Updates**
sudo apt update
sudo apt install -y curl wget apt-transport-https ca-certificates
sudo apt upgrade -y
2. **Install Docker**
- Add Docker Official GPG Key
sudo install -m 0755 -d /etc/apt/keyrings
- Add Docker APT Repository
sudo apt update
- Add Local User to Docker Group
sudo usermod -aG docker $USER
newgrp docker
docker --version
systemctl status docker
3. **Download and Install Minikube Binary**
- For arm64
sudo install minikube-linux-arm64 /usr/local/bin/minikube && rm minikube-linux-arm64
- For x86_64
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
Check minikube version
minikube version
4. **Install kubectl**
- For x86_64
- For arm64
chmod +x kubectl
sudo mv kubectl /usr/local/bin/
kubectl version -o yaml
5. **Start Minikube**
minikube start --driver=docker
or
minikube start --memory 4096 --cpus 2 --driver docker
minikube status
kubectl cluster-info
kubectl get nodes
6. **Manage Minikube addons for extended functionality**
minikube addons list
minikube addons enable [addons-name]
7. **Verify Minikube Installation by deploying a sample Nginx application**
kubectl create deployment nginx-app --image=nginx
kubectl get pods
kubectl expose deployment nginx-app --name=nginx-app-svc --type=NodePort --port=80
kubectl get svc nginx-app-svc
minikube service nginx-app-svc --url
8. **Stop, Start, and Delete Minikube**
minikube stop
minikube start
minikube delete
#Minikube #Ubuntu2404 #Kubernetes #Docker #LinuxTutorial #DevOps #TechTutorial #howto #KubernetesCluster
Bonus: Learn valuable tips throughout the process!
Keywords: Minikube, Kubernetes, Ubuntu 24.04, Single-Node Kubernetes Cluster, Docker, kubectl, Nginx Deployment, minikube addons
**Timestamps:**
0:04 Introduction
0:14 What is Minikube
2:45 Install Docker
5:56 Download and Install Minikube Binary
7:16 Installing Kubectl Utility
8:33 Start Minikube Cluster
10:47 Managing Minikube addons
13:01 Verify Minikube Installation
16:04 Stop, Start and Delete Minikube
Make sure to like, subscribe, and hit the notification bell to stay updated with our latest tutorials. Drop a comment if you have any questions or need further assistance!
**Steps Covered in This Tutorial:**
1. **Install Updates**
sudo apt update
sudo apt install -y curl wget apt-transport-https ca-certificates
sudo apt upgrade -y
2. **Install Docker**
- Add Docker Official GPG Key
sudo install -m 0755 -d /etc/apt/keyrings
- Add Docker APT Repository
sudo apt update
- Add Local User to Docker Group
sudo usermod -aG docker $USER
newgrp docker
docker --version
systemctl status docker
3. **Download and Install Minikube Binary**
- For arm64
sudo install minikube-linux-arm64 /usr/local/bin/minikube && rm minikube-linux-arm64
- For x86_64
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
Check minikube version
minikube version
4. **Install kubectl**
- For x86_64
- For arm64
chmod +x kubectl
sudo mv kubectl /usr/local/bin/
kubectl version -o yaml
5. **Start Minikube**
minikube start --driver=docker
or
minikube start --memory 4096 --cpus 2 --driver docker
minikube status
kubectl cluster-info
kubectl get nodes
6. **Manage Minikube addons for extended functionality**
minikube addons list
minikube addons enable [addons-name]
7. **Verify Minikube Installation by deploying a sample Nginx application**
kubectl create deployment nginx-app --image=nginx
kubectl get pods
kubectl expose deployment nginx-app --name=nginx-app-svc --type=NodePort --port=80
kubectl get svc nginx-app-svc
minikube service nginx-app-svc --url
8. **Stop, Start, and Delete Minikube**
minikube stop
minikube start
minikube delete
#Minikube #Ubuntu2404 #Kubernetes #Docker #LinuxTutorial #DevOps #TechTutorial #howto #KubernetesCluster
Bonus: Learn valuable tips throughout the process!
Keywords: Minikube, Kubernetes, Ubuntu 24.04, Single-Node Kubernetes Cluster, Docker, kubectl, Nginx Deployment, minikube addons
**Timestamps:**
0:04 Introduction
0:14 What is Minikube
2:45 Install Docker
5:56 Download and Install Minikube Binary
7:16 Installing Kubectl Utility
8:33 Start Minikube Cluster
10:47 Managing Minikube addons
13:01 Verify Minikube Installation
16:04 Stop, Start and Delete Minikube
Make sure to like, subscribe, and hit the notification bell to stay updated with our latest tutorials. Drop a comment if you have any questions or need further assistance!