For these labs we will use Minikube as our Kubernetes environment. This is going to run locally on a virtual machine on your laptop.
Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day.
If you already followed all steps in the prerequisites repo you can skip this step and move to Task 1
.
If you did not, follow all steps in the prerequisites repo
minikube start
Ensure that everything is working:
minikube status
---
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
To verify that kubectl
has been configured correctly run the kubectl get nodes
command:
kubectl get nodes
---
NAME STATUS ROLES AGE VERSION
minikube Ready master 197d v1.19.4
NOTE: if you do not see the
minikube
node you are most likely connected to the wrong cluster