Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Minikube Tutorials: Minikube Basic Workflow

Step 1 – Start your cluster

From a terminal with administrator access (but not logged in as root), run:

$ minikube start –driver=virtualbox

If minikube fails to start, see the drivers page for help setting up a compatible container or virtual-machine manager.

  • https://minikube.sigs.k8s.io/docs/drivers/

Step 2 – Interact with your cluster

If you already have kubectl installed, you can now use it to access your shiny new cluster:

$ kubectl get po -A

Alternatively, minikube can download the appropriate version of kubectl and you should be able to use it like this:

$ minikube kubectl — get po -A

You can also make your life easier by adding the following to your shell config:

alias kubectl=”minikube kubectl –“

Step 3 – Interact with your cluster

Initially, some services such as the storage-provisioner, may not yet be in a Running state. This is a normal condition during cluster bring-up, and will resolve itself momentarily. For additional insight into your cluster state, minikube bundles the Kubernetes Dashboard, allowing you to get easily acclimated to your new environment:

$ minikube dashboard

Step 4 – Manage your cluster

Pause Kubernetes without impacting deployed applications:

$ minikube pause

Unpause a paused instance:

$ minikube unpause

Halt the cluster:

$ minikube stop

Change the default memory limit (requires a restart):

$ minikube config set memory 9001

Browse the catalog of easily installed Kubernetes services:

$ minikube addons list

Create a second cluster running an older Kubernetes release:

$ minikube start -p aged --kubernetes-version=v1.16.1

Delete all of the minikube clusters:

 $ minikube delete --all
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x