layout | title | description |
---|---|---|
frontpage |
Kubernetes tutorial |
Azure Kubernetes Service, Terraform, Helm, Prometheus, Grafana, Skaffold |
Author: Vicente Herrera - @v1z3n
Level: Intermediate
Language: English
Prerequisites: Basic knowledge in containers and Kubernetes
Knowledge to learn: Kubernetes
Azure
AKS
Terraform
Helm
Prometheus
Grafana
Skaffold
I built this tutorial when joining Sysdig{:target="_blank"} to showcase my knowledge in containers, Kubernetes and cloud.
As usual, it has grown old, for example it mentions Helm v2, including the Tiller component, where at the time of writing this updated intro v3 is out that doesn't require Tiller. Also, there are many improvements listed on each section, for ideas about how to improve the tutorial.
Tools used in the tutorial:
- Kubernetes: Using Azure Kubernetes Service (AKS), but you could replace this for local Minikube if you want.
- Terraform: Infrastructure as code, to create the cluster
- Helm: To deploy predefined services to the cluster
- Prometheus: To generate some metrics about cluster and services behaviour
- Grafana: To plot resource usage graphically
- Hipster Shop demo: To have a sample microservices architecture running
- Skaffold: To deploy and live modify the microservices
Kubernetes tutorial{:class="solid-btn lesson"}
0. Getting started{:class="solid-btn lesson"}
1. Prerequisites{:class="solid-btn lesson"}
2. Initial Azure resources setup{:class="solid-btn lesson"}
3. Provision infrastructure with Terraform{:class="solid-btn lesson"}
4. Get credentials{:class="solid-btn lesson"}
5. Installing Prometheus and Grafana using Helm{:class="solid-btn lesson"}
6. Deploy microservices with Skaffold{:class="solid-btn lesson"}
7. Terminate and free resources{:class="solid-btn lesson"}
Appendix: Troubleshooting{:class="solid-btn lesson"}