First K8 Cluster - kimschles/schlesinger-knowledge GitHub Wiki

Minikube: 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.

https://www.katacoda.com/courses/kubernetes/launch-single-node-cluster

Install Minikube

MacOS brew cask install minikube

Linux curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

Start Minikube minikube start

Look at the details of the cluster kubectl cluter-info

View the nodes in the cluster kubectl get nodes

Once a cluster is running, containers can be deployed

Deploy a container to the cluster kubectl run first-deployment --image<image-name-here> --port=80

View the pods kubectl get pods