Host a 3-tier architecture e-commerce microservices application on AKS/EKS/K8S with Azure DevOps based CI/CD pipeline
Repository Setting
Update .env and specify personal docker repo user name and tag versiondocker-compose.yaml builds all images and uploads to the repo accordingly
K8s\helm\values, update the repo to the personal Docker Hub account
Construct CI/CD pipeline
Build services: specify the Docker Registry Service Connection (docker hub) and the Docker Compose File (./docker-compose.yaml)Push services: Same attribute as build services, specify "push service image" in action
Release:Specify the artifact (github repo), and click on CD (lighting icon) to trigger build when the repo updated.
Stages: specify Job (Agent Job) and Tasks (install Helm and helm upgrade)
Cluster configuration
Configure AKS cluster: Node size Standard_D4als_v6 (non-arm) in system node pool
Configure Project setting\Service connections, adding GitHub and AKS Cluster KubeConfig
No comments:
Post a Comment