CI/CD for AKS apps with GitHub Actions and GitFlow
Last updated
Last updated
Dataflow
This scenario covers a push-based DevOps pipeline for a two-tier web application, with a front-end web component and a back-end that uses Redis. This pipeline uses GitHub Actions for build and deployment. The data flows through the scenario as follows:
The app code is developed.
The app code is committed to a GitHub git repository.
GitHub Actions builds a container image from the app code and pushes the container image to Azure Container Registry.
A GitHub Actions job deploys, or pushes, the app to the Azure Kubernetes Service (AKS) cluster using kubectl deployment of the Kubernetes manifest files.
Download a Visio file of this architecture.
Dataflow
This scenario covers a pull-based DevOps pipeline for a two-tier web application, with a front-end web component and a back-end that uses Redis. This pipeline uses GitHub Actions for build. For deployment, it uses Argo CD as a GitOps operator to pull/sync the app. The data flows through the scenario as follows:
The app code is developed.
The app code is committed to a GitHub repository.
GitHub Actions builds a container image from the app code and pushes the container image to Azure Container Registry.
GitHub Actions updates a Kubernetes manifest deployment file with the current image version based on the version number of the container image in the Azure Container Registry.
Argo CD syncs with, or pulls from, the Git repository.
Argo CD deploys the app to the AKS cluster.