How To Handle Minikube(Cheatsheet)-1? K8s – Part: 7

0
204
views
How To Handle Minikube(Cheatsheet)-1? K8s - Part: 7

Handle Minikube (Cheatsheet)?

Minikube is used to run a single-node Kubernetes cluster inside a VM for trying out Kubernetes or for development purpose. Now in this article, we will get to know about the most useful command which we can be used to maintain our single node Kubernetes cluster. This will also help to the development and learn Kubernetes cluster environment.

For this article, you should have a Minikube environment on your system. If you don’t have then see the previous link for setup. Well, it’s a long list so just be ready on your system to check them one by one. I have divided this command cheatsheet among 5 Major Parts

List is below

  • Minikube Administration
  • Minikiube App Deployments & Administration
  • Clean Up
  • Few Troubleshoots
  • Important File Directory Information

Let’s Start

Section 1: Minikube Administration

This section is all about minikube administration commands.

COMMAND 1: Clean the configurations and start clean

COMMAND 2: Get Minikube Service UP




COMMAND 3: Start Kubernets with specific Version

COMMAND 4: Start Minikube Service with 2 CPUs and 4096 of memory

COMMAND 5: To Get Cluster Information

Assuming your Minikube starts up well. We can now issue kubectl commands to it.

COMMAND 6: Get Supported Kubernets version

COMMAND 7: Get minikube version, link: all minikube releases

COMMAND 8: To get Minikube status (Like if IP get changed)




COMMAND 9: Get Minikube IP

COMMAND 10: Get Logs Of minikube

COMMAND 11: To set minikube docker-env

COMMAND 12: List Get all addons for minikube

For further Minikube cheatsheet, follow these link:
Cheatsheet-2
Cheatsheet-3

Kubernetes Series Links:

Understanding Kubernetes Concepts RHEL/CentOs K8s Part-1
Understanding Kubernetes Concepts RHEL/CentOs k8s: Part-2
How to Install Kubernetes on CentOS/RHEL k8s?: Part-3
How to Install Kubernetes on CentOS/RHEL k8s?: Part-4
How To Bring Up The Kubernetes Dashboard? K8s-Part: 5
How to Run Kubernetes Cluster locally (minikube)? K8s – Part: 6
How To Handle Minikube(Cheatsheet)-3? K8s – Part: 7
How To Handle Minikube(Cheatsheet)-3? K8s – Part: 8
How To Handle Minikube(Cheatsheet)-3? K8s – Part: 9