WhatTheHack/001-IntroToKubernetes
Peter C. Laudati cde5a3850b
[Hack Update] 001 intro to k8s resource.zip (#799)
* Added OpenAI Fundamentals to WTH home page AND linked to it from the archived "002-IntroToAI" hack

* added whitelist file for 002

* Added link to the student Resources.zip file hosted in GitHub releases to the Challenge 00 student guide.
2024-01-22 22:46:13 -05:00
..
Coach Fixed typo in the helm upgrade command (#725) 2023-09-22 15:34:13 -05:00
Images [Hack Update] 001-IntroToKubernetes - Add videos of Intro K8S solutions to coach guide (#576) 2023-03-06 22:11:27 -05:00
Student [Hack Update] 001 intro to k8s resource.zip (#799) 2024-01-22 22:46:13 -05:00
README.md [Hack Update] Refresh of 001-IntroToKubernetes (#509) 2022-09-29 16:03:54 -05:00

README.md

What The Hack - Intro To Kubernetes

Introduction

This intro level hack will help you get hands-on experience with Docker, Kubernetes and the Azure Kubernetes Service (AKS) on Microsoft Azure. Kubernetes has quickly gone from being the shiny new kid on the block to the defacto way to deploy and orchestrate containerized applications.

This hack starts off by covering containers, what problems they solve, and why Kubernetes is needed to help orchestrate them. You will learn all of the Kubernetes jargon (pods, services, and deployments, oh my!). By the end, you should have a good understanding of what Kubernetes is and be familiar with how to run it on Azure.

Learning Objectives

In this hack you will solve a common challenge for companies migrating to the cloud. You will take a simple multi-tiered web app, containerize it, and deploy it to an AKS cluster. Once the application is in AKS, you will learn how to tweak all the knobs and levers to scale, manage and monitor it.

  1. Containerize an application
  2. Deploy a Kubernetes cluster in Azure and deploy applications to it.
  3. Understand key Kubernetes management areas: scalability, upgrades and rollbacks, storage, networking, package management and monitoring

Challenges

  • Challenge 00: Prerequisites - Ready, Set, GO!
    • Prepare your workstation to work with Azure, Docker containers, and AKS
  • Challenge 01: Got Containers?
    • Package the "FabMedical" app into a Docker container and run it locally.
  • Challenge 02: The Azure Container Registry
    • Deploy an Azure Container Registry, secure it and publish your container.
  • Challenge 03: Introduction To Kubernetes
    • Install the Kubernetes CLI tool, deploy an AKS cluster in Azure, and verify it is running.
  • Challenge 04: Your First Deployment
    • Pods, Services, Deployments: Getting your YAML on! Deploy the "FabMedical" app to your AKS cluster.
  • Challenge 05: Scaling and High Availability
    • Flex Kubernetes' muscles by scaling pods, and then nodes. Observe how Kubernetes responds to resource limits.
  • Challenge 06: Deploy MongoDB to AKS
    • Deploy MongoDB to AKS from a public container registry.
  • Challenge 07: Updates and Rollbacks
    • Deploy v2 of FabMedical to AKS via rolling updates, roll it back, then deploy it again using the blue/green deployment methodology.
  • Challenge 08: Storage
    • Delete the MongoDB you created earlier and observe what happens when you don't have persistent storage. Fix it!
  • Challenge 09: Helm
    • Install Helm tools, customize a sample Helm package to deploy FabMedical, publish the Helm package to Azure Container Registry and use the Helm package to redeploy FabMedical to AKS.
  • Challenge 10: Networking and Ingress
    • Explore integrating DNS with Kubernetes services and explore different ways of routing traffic to FabMedical by configuring an Ingress Controller.
  • Challenge 11: Operations and Monitoring
    • Explore the logs provided by Kubernetes using the Kubernetes CLI, configure Azure Monitor and build a dashboard that monitors your AKS cluster

Prerequisites

Contributors