
This mvc app demo runs the project and displays the products list via the products controller index action. Create and view products, and navigate the menu to the products page.
Publish your Docker image to Docker Hub by tagging the image with your Docker ID, then push it to the registry and verify it appears in your Docker Hub account.
Deploy a Docker container to Kubernetes using the dashboard, configure image, tag, and three pods, and expose it with external access via a service mapping port 777 to 80.
Learn to create and deploy a Kubernetes secret to securely store the database password, encode it with base64, and reference it in the app deployment before startup.
Connect to an AKS cluster from your local machine using Azure CLI and kubectl, obtain credentials, set your subscription, and open the dashboard.
Watch a hands-on demo of deploying a stateful set with a headless service, a persistent volume claim, and a SQL Server database, then scale from one to three replicas.
Explore passwordless identities in Kubernetes by deploying a cluster, Azure Key Vault, and managed identity, then link a Kubernetes service account to the Azure workload identity to read secrets securely.
Create a release CD pipeline in Azure DevOps to deploy YAML deployment files from a drop folder to a Kubernetes cluster, using production environment and namespace settings.
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.
Agenda:
Create ASP.NET Core MVC app
Add Model and Controller for Products
Demo of the MVC app.cmproj
Demo of the MVC app
Explaining Dockerfile
Build Docker Container for MVC app
Push Docker container to Docker Hub
Overview on setting up Kubernetes
Deploy Docker container into Kubernetes using Dashboard
Deploy Docker container using YAML and kubectl
Create and deploy a Service
Create and deploy MSSQL
Connect web app to DB in Kubernetes using ENV
Create PersistentVolume
ConfigMap
Secret
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
Publish project to Github
Create the CI pipeline using Azure DevOps
Create the CD pipeline
Edit the pipeline to use the newest container
Run the CI-CD pipeline