This demo for Geekle DevOps Summit '22
- Geekle Global DevOps Summit '22 - October 4&5, 2022
- This demo requires the following secrets to be generated:
- AKS_CLUSTER_NAME -> AKS Cluster name
- AKS_CLUSTER_RESOURCE_GROUP -> Azure Resource Group
- AZURE_SERVICE_PROVIDER_CREDENTIALS -> SP with permission to access the Azure Resource Group
- GH_ENV_PAT -> PAT with repo admin access
- Open project in Codespaces or VS Code
- Use
docker-compose build
anddocker-compose up
commands to show off the application - Create a new branch,
- modify
azure-vote/azure-vote/config_file.cfg
to update homepage values
- modify
- Create a PR, utilize review-lab keyword comment - if desired.
- Show AKS Cluster to demonstrate any namespace updates/changes.
- Merge PR, observe that AKS Staging & Production - Deploy workflows kick off
- View Staging and Production environment deployments
This sample creates a multi-container application in an Azure Kubernetes Service (AKS) cluster. The application interface has been built using Python / Flask. The data component is using Redis.
To walk through a quick deployment of this application, see the AKS quick start.
To walk through a complete experience where this code is packaged into container images, uploaded to Azure Container Registry, and then run in and AKS cluster, see the AKS tutorials.
Environments - You can configure environments with protection rules and secrets. When a workflow job references an environment, the job won't start until all of the environment's protection rules pass.
You can store and manage Docker and OCI images in the Container registry, which uses the package namespace https://ghcr.io.