We need an environment to start our journey. I am assuming most people will be on windows but I can also post for Mac and Linux.
The simplest solution for our setup is to leverage Minikube and and easy way to maintain it (i.e. updates etc) is to install via the windows package manager Chocolatey.
Run the following command to install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Now install minikube
choco install minikube
Next start minikube
minikube start --kubernetes-version=1.22.4
Now lets check and see how things are running
You should see something like this:
Now lets run our first pod
kubectl run nginx --image=nginx
We will now check to see if it is running:
kubectl get pods
Boom you have a pod running in Kubernetes.
Lets pause our environment until tomorrow:
Tomorrow when we start again we will need to:
That is it for today. Short and sweet. Going forward we will talk more about minikube, kubernetes and even some Kasten :)
Day by day and step by step we will learn together!