Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 2.84 KB

index.md

File metadata and controls

50 lines (40 loc) · 2.84 KB
layout title description
frontpage
Kubernetes tutorial
Azure Kubernetes Service, Terraform, Helm, Prometheus, Grafana, Skaffold

Kubernetes tutorial

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

Introduction

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

Contents

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"}