We'll continue using Minikube to simulate a cluster locally.
All the commands from this chapter are available in the 04-rs.sh (https://gist.github.com/vfarcic/f6588da3d1c8a82100a81709295d4a93) Gist.
minikube start --vm-driver=virtualbox kubectl config current-context
We created a single-node cluster and configured kubectl to use it.
Before we explore the first ReplicaSet example, we'll enter into the local copy of the vfarcic/k8s-spec repository and pull the latest version. Who knows, maybe I added some new stuff since the last time you checked it out.
cd k8s-specs git pull
Now that the cluster is running and the repository with the specs is up-to-date, we can create our first ReplicaSet.