Create a Cluster
Explore how to create Kubernetes clusters that meet specific resource and configuration requirements, including setting up Prometheus monitoring and environment variables. Understand the process for different platforms like GKE, EKS, AKS, Docker Desktop, and Minikube to prepare for advanced metrics and alert debugging.
We'll cover the following...
Pulling the code #
The vfarcic/k8s-specs repository will continue being our source of Kubernetes definitions we’ll use for our examples. We’ll make sure that it is up-to-date by pulling the latest version.
🔍 All the commands from this chapter are available in the 04-instrument.sh Gist. Just as in the previous chapter, it contains not only the commands but also
Prometheus’ expressions. If you’re planning to copy&paste the expressions from the Gist, please exclude the comments. Each expression has a# Prometheus expressioncomment on top to help you identify it.
cd k8s-specs
git pull
Given that we learned how to ...