Starting a new Kubernetes course. Ive been struggling to get things working from just videos on youtube alone so decided to go back to full blown training from the start. Like most of us, yes I can get Kubernetes up and running. I even got Rancher and Longhorn storage working but... What does it all mean behind the scenes? Whats a manifest, deployment, pod setup, scaling, ect..

In the training I started using my own overgrown 5 node cluster and realized im over complicating things and rolled back to installing Minikube for quick testing. Notes from that install are as follows.

minikube start
minikube is local Kubernetes
Downloads – Oracle VM VirtualBox

Install Virtual box for your system, im on Mac so this maybe slighty different.

curl -LO
sudo install minikube-darwin-amd64 /usr/local/bin/minikube

Change to your downloads directory, this command downloads the full iso which I was not prepared for. I am use to downloading and loading it into virtualbox and setting it up myself.

minikube start --driver=virtualbox

output> 😄  minikube v1.21.0 on Darwin 11.4
✨  Using the virtualbox driver based on user configuration
E0624 06:36:06.530649    2564 start.go:874] Error getting the current user: user: Current requires cgo or $USER set in environment
💿  Downloading VM boot image ...
    > minikube-v1.21.0.iso.sha256: 65 B / 65 B [-------------] 100.00% ? p/s 0s
    > minikube-v1.21.0.iso: 243.03 MiB / 243.03 MiB  100.00% 243.42 MiB p/s 1.2
👍  Starting control plane node minikube in cluster minikube
💾  Downloading Kubernetes v1.20.7 preload ...
    > preloaded-images-k8s-v11-v1...: 492.20 MiB / 492.20 MiB  100.00% 106.29 M
🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.20.7 on Docker 20.10.6 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔎  Verifying Kubernetes components...
    ▪ Using image
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

Run the following to set virtualbox driver:
minikube config set driver virtualbox
output>❗ These changes will take effect upon a minikube delete and then a minikube start

To be continued...

Share Tweet Send
You've successfully subscribed to Metristech
Great! Next, complete checkout for full access to Metristech
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.