This time, we'll have an additional action we'll execute in preparation to create a Minikube cluster.
All the commands from this chapter are available in the 08-volume.sh (https://gist.github.com/vfarcic/5acafb64c0124a1965f6d371dd0dedd1) Gist.
cd k8s-specs git pull cp volume/prometheus-conf.yml \ ~/.minikube/files
We'll need the file inside the soon-to-be-created Minikube VM. When it starts, it will copy all the files from ~/.minikube/files on your host, into the /files directory in the VM.
Depending on your operating system, the ~/.minikube/files directory might be somewhere else. If that's the case, please adapt the preceding command.
Now that the files are copied to the shared directory, we can repeat the same process we did quite a few times before. Please note that we've added the step from the last chapter that enables...