Перейти к содержимому

Mastering CI CD for Kubernetes on AKS | #CloudNativeNinja PT15

Nilesh Gule

0:00 / 0:00

Mastering CI CD for Kubernetes on AKS | #CloudNativeNinja PT15

2 804 просмотра · 2 года назад
Nilesh Gule
6,94 тыс. подписчиков
2 804 просмотра · 2 года назад
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 - https://docs.github.com/en/actions/qu... 🔗 Automated deployment for AKS preview - https://learn.microsoft.com/en-us/azu... 🔗 Cloud Native Ninja Kickstart video -    • Cloud Native Ninja Kickstart | #CloudNativ...   🔗 Cloud Native Ninja part 1 - Getting started with container -    • Getting started with Containers | #CloudNa...   🔗 Cloud Native Ninja part 2 - Distributed microservices with Dapr -    • Distributed Microservices with Dapr | #Clo...   🔗 Cloud Native Ninja part 3 - Containerize .NET Apps -    • Containerize .NET Apps | #CloudNativeNinja...   🔗 Cloud Native Ninja part 4 - Manage Multi container Apps with Docker Compose -    • Manage Multi Container Apps with #dockerco...   🔗 Cloud Native Ninja part 5 - Publish container image to DockerHub -    • Publish container images to DockerHub | #C...   🔗 Cloud Native Ninja part 6 - Containerize Spring Boot Apps -    • Containerize Spring Boot Apps | #CloudNati...   🔗 Cloud Native Ninja part 7 - Containerize Go Apps -    • Containerize Go Apps | #CloudNativeNinja PT7   🔗 Cloud Native Ninja part 8 - Containerize React App -    • Containerize React App | #CloudNativeNinja...   🔗 Cloud Native Ninja part 9 - Getting started with Kubernetes -    • Getting started with Kubernetes | #CloudNa...   🔗 Cloud Native Ninja part 10 - Kubernetes Deployments -    • Kubernetes Deployments | #CloudNativeNinja...   🔗 Cloud native ninja - part 11 - Kubernetes service -    • Kubernetes Service | #CloudNativeNinja PT11   🔗 Cloud native ninja - part 12 - Kubernetes Ingress with NGINX -    • Demystifying Kubernetes Ingress with NGINX...   🔗 Cloud native ninja - part 13 - Demistifying Kubernetes Namespaces -    • Demystifying Kubernetes Namespaces | #Clou...   🔗 Cloud native ninja - part 14 - Package Applications using Helm -    • Package Kubernetes App using Helm : #Cloud...   🔗 Cloud native ninja - part 15 - Mastering CI CD for Kubernetes on ASK -    • Mastering CI CD for Kubernetes on AKS | #C...   🔗 Kubernetes Imperative commands -    • Improve kubectl productivity with imperati...   🔗 Cloud native ninja playlist-    • Cloud Native Ninja   🔗 GitHub repo for the Cloud Native Ninja series - https://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   🔗 YouTube :    / @nilesh-gule   🔗 GitHub: https://github.com/nileshgule 🔗 Twitter:   / nileshgule   🔗 Website: https://www.HandsOnArchitect.com/ 🔗 LinkedIn :   / nileshgule