Kubernetes for developers


Learn how to deploy, manage and scale dockerized apps in Kubernetes

What you will learn

You will be able to deploy, manage and scale your apps in Kubernetes.

You will be able to deploy your apps on Azure AKS.

You will be able to create and deploy Deployment, Service, ConfigMap, Secret

You will be able to deploy and connect a web app (ASP NET Core) with a database (SQL Server).

Description

This goal of this course is to get you started with Kubernetes. Through a practical workshop, you’ll learn how to dockerize an app, deploy it to Kubernetes cluster and apply DevOps into it.


Subscribe to latest coupons on our Telegram channel.

Agenda:

  1. Create ASP.NET Core MVC app
  2. Add Model and Controller for Products
  3. Demo of the MVC app.cmproj
  4. Demo of the MVC app
  5. Explaining Dockerfile
  6. Build Docker Container for MVC app
  7. Push Docker container to Docker Hub
  8. Overview on setting up Kubernetes
  9. Deploy Docker container into Kubernetes using Dashboard
  10. Deploy Docker container using YAML and kubectl
  11. Create and deploy a Service
  12. Create and deploy MSSQL
  13. Connect web app to DB in Kubernetes using ENV
  14. Create PersistentVolume
  15. ConfigMap
  16. Secret
  17. Create AKS cluster
  18. Connect to AKS Dashboard and kubectl
  19. StorageClass to create an Azure Disk
  20. Using LoadBalancer instead of NodePort
  21. Deploy PVC to Azure AKS
  22. Deploy Secret to Azure AKS
  23. Deploy Sql Server container to Azure AKS
  24. Deploy the mvc app to Azure AKS
  25. Running the app on AKS
  26. Publish project to Github
  27. Create the CI pipeline using Azure DevOps
  28. Create the CD pipeline
  29. Edit the pipeline to use the newest container
  30. Run the CI-CD pipeline
English
language

Content

What is Kubernetes

Kubernetes architecture
Kubernetes Objects: Deployment I Service I Secret I PersistentVolume

Creating the demo app

Create the MVC app using Visual Studio
Add model and controller for Products
Demo for the MVC app

Creating the Docker containers for the app

Explaining Dockerfile
Build Docker Container for MVC app
Push Docker container to Docker Hub

Kubernetes on minikube

Overview on setting up Kubernetes
Deploy Docker container into Kubernetes using Dashboard
Create and deploy a Deployment object
Create and deploy a Service
Create and deploy MSSQL on Docker container to k8s
Connect web app to DB in Kubernetes using ENV
Create PersistentVolume
Create ConfigMap
Create Secret

Moving to Azure AKS

Create AKS cluster
Connect to AKS Dashboard and kubectl
StorageClass to create an Azure Disk
Using LoadBalancer instead of NodePort
Deploy PVC to Azure AKS
Deploy Secret to Azure AKS
Deploy Sql Server container to Azure AKS
Deploy the mvc app to Azure AKS
Running the app on AKS

DevOps for Kubernetes using Azure DevOps

Publish project to Github
CI pipeline: Build and Push container
CI pipeline: Copy and Publish yaml files
CI pipeline: Replace container Tag
CD pipeline: Deploy to Kubernetes from Azure DevOps
CD pipeline: Kubectl apply for each file
Run CI-CD pipelines

Deploy using Helm

Introduction to Helm
Create and deploy Helm package
Deploy Helm from CI/CD pipelines