Learn how to take a regular static website (that usually runs on a virtual machine) and migrate it into a containerized Helm chart running on Kubernetes.
Overview
Syllabus
Introduction
- Your first project on Kubernetes
- What you should know
- Configuring AWS access
- Our application: Pre-Kubernetes
- Our application: Post-Kubernetes
- How Docker containers work
- What is Kubernetes?
- Installing Docker
- Writing our project's Dockerfile
- Building the Docker image from the Dockerfile
- Writing our project's makefile
- Testing the website with make
- Challenge: Write a teardown make target
- Solution: Write a teardown make target
- What is kind?
- Installing kind
- Creating the kind cluster
- Creating the kind cluster with make
- Creating a local Docker Registry
- Creating the local Docker Registry with make
- Linking the local Docker Registry to the kind cluster
- Linking the kind registry with make
- Challenge: Deleting kind clusters with make
- Solution: Deleting kind clusters with make
- Understanding Kubernetes manifests: Part 1
- Understanding Kubernetes manifests: Part 2
- Creating a Deployment
- Creating a Service
- Understanding Ingress and Ingress controllers
- Creating the Ingress
- Configuring kind to use Ingress controllers
- What is Helm?
- Creating our Chart metadata
- Creating our Chart values
- Templatizing a Deployment
- Deploying our Helm Chart with make
- Challenge: Change the port number
- Solution: Change the port number
- From local testing to EKS: What's changing?
- Explaining the kubeconfig
- Logging into an AWS EKS cluster with kubectl
- Deploy our Docker image into AWS ECR with the Docker CLI
- Deploying our Helm Chart into AWS EKS with make
- The smoke test: Does it work?
- Cleaning up
- Next steps
Taught by
Carlos Nunez