Mastering CI CD for Kubernetes on AKS |

  Рет қаралды 2,310

Nilesh Gule

Nilesh Gule

Күн бұрын

In this video, we dive into the intricacies of deploying your Kubernetes applications to Azure Kubernetes Service (AKS) using robust CI/CD practices. Whether you're a seasoned developer or just getting started, this video covers essential concepts and practical steps to streamline your deployment process.
*Key Points Covered:*
1. *Automated Deployment Workflow with GitHub Actions:*
Learn how to set up an automated CI/CD pipeline that integrates seamlessly with your AKS cluster. We'll leverage GitHub Actions to trigger builds, and deployments whenever code changes occur. The Github actions workflow is generated using AKS Deployment option
2. *Securing Secrets and Credentials:*
Discover best practices for managing secrets and avoiding the pitfalls of storing sensitive information in your source control. We'll demonstrate how to securely handle credentials during the CI/CD process using Github secrets.
3. *Least Privilege Access:*
Understand the importance of granting minimal permissions when connecting to Azure Container Registry (ACR) and AKS. We'll walk through role-based access control (RBAC) configurations to ensure a secure and efficient deployment pipeline.
4. *Helm Chart Deployment:*
Leverage Helm charts to package and version your Kubernetes applications. We'll demonstrate how to seamlessly integrate Helm charts to deploy multiple services into your CI/CD pipeline.
▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬
- 🔗 Github actions quickstart - docs.github.com/en/actions/qu...
- 🔗 Automated deployment for AKS preview - learn.microsoft.com/en-us/azu...
- 🔗 Cloud Native Ninja Kickstart video - • Cloud Native Ninja Kic...
- 🔗 Cloud Native Ninja part 1 - Getting started with container - • Getting started with C...
- 🔗 Cloud Native Ninja part 2 - Distributed microservices with Dapr - • Distributed Microservi...
- 🔗 Cloud Native Ninja part 3 - Containerize .NET Apps - • Containerize .NET Apps...
- 🔗 Cloud Native Ninja part 4 - Manage Multi container Apps with Docker Compose - • Manage Multi Container...
- 🔗 Cloud Native Ninja part 5 - Publish container image to DockerHub - • Publish container imag...
- 🔗 Cloud Native Ninja part 6 - Containerize Spring Boot Apps - • Containerize Spring Bo...
- 🔗 Cloud Native Ninja part 7 - Containerize Go Apps - • Containerize Go Apps |...
- 🔗 Cloud Native Ninja part 8 - Containerize React App - • Containerize React App...
- 🔗 Cloud Native Ninja part 9 - Getting started with Kubernetes - • Getting started with K...
- 🔗 Cloud Native Ninja part 10 - Kubernetes Deployments - • Kubernetes Deployments...
- 🔗 Cloud native ninja - part 11 - Kubernetes service - • Kubernetes Service | #...
- 🔗 Cloud native ninja - part 12 - Kubernetes Ingress with NGINX - • Demystifying Kubernete...
- 🔗 Cloud native ninja - part 13 - Demistifying Kubernetes Namespaces - • Demystifying Kubernete...
- 🔗 Cloud native ninja - part 14 - Package Applications using Helm - • Package Kubernetes App...
- 🔗 Cloud native ninja - part 15 - Mastering CI CD for Kubernetes on ASK - • Mastering CI CD for Ku...
- 🔗 Kubernetes Imperative commands - • Improve kubectl produc...
- 🔗 Cloud native ninja playlist- • Cloud Native Ninja
- 🔗 GitHub repo for the Cloud Native Ninja series - github.com/NileshGule/cloud-n...
▬▬▬▬▬▬ ⏱ Chapters⏱ ▬▬▬▬▬▬
00:00 - Quick overview of CI CD
04:15 - AKS Automated Deployment
05:10 - Setup GitHub workflow
09:00 - Approve Pull Request fro GitHub Workflow
10:00 - Review contnets of GitHub workflow for CI CD
11:00 - CI CD pipeline overview
11:45 - GitHub Actions jobs
13:20 - Build container images using Docker Compose
15:25 - Inspect Docekr Compose file to see how commit hash is added as tag of the image
17:20 - Trigger CI build to generate container images
19:55 - Grant permission to the Azure AD / Entra user
21:50 - Verify published images in Azure Container Registry
24:50 - CD stage to deploy application using Helm chart
26:10 - Verify deployed Kubernetes resources using Lens
28:15 - Fix the issue related to container image mismatch using Chart overrides
34:30 - GitHub Actions deploy job details
38:20 - Recap of the whole CI CD process
41:05 - Advantages of using CI CD
44:25 - Things not covered in this video
47:55 - summary
▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬
Connect with me here:
- 🔗 Subscribe: / @nilesh-gule
- 🔗 KZbin : / @nilesh-gule
- 🔗 GitHub: github.com/nileshgule
- 🔗 Twitter: / nileshgule
- 🔗 Website: www.HandsOnArchitect.com/
- 🔗 LinkedIn : / nileshgule

Пікірлер
Manage Kubernetes secrets with Azure Key Vault
16:49
Nilesh Gule
Рет қаралды 922
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 32 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 125 МЛН
Introduction to Flux CD on Kubernetes | GitOps | CICD
33:32
That DevOps Guy
Рет қаралды 24 М.
Docker init support for Java
14:14
Nilesh Gule
Рет қаралды 1,6 М.
keda  rabbitmq cluster creation on aks (azure kubernetes service)
7:03
k8sGPT : Kubernetes diagnosis with ChatGPT and Azure OpenAI
46:40
Let's learn GitHub Actions in a self-hosted Homelab!
23:53
Christian Lempa
Рет қаралды 38 М.
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 101 М.
Package Kubernetes App using Helm : #CloudNativeNinja PT14
40:23
Nilesh Gule
Рет қаралды 2,4 М.
Kubernetes CI/CD Pipeline Using Jenkins | DevOps Tutorial/Project - 2023
2:49:55
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 12 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,5 МЛН
ГОСЗАКУПОЧНЫЙ ПК за 10 тысяч рублей
36:28
Ремонтяш
Рет қаралды 528 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 904 М.