What deployment strategies do deployment jobs support?
IntermediateConceptAzure DevOps, Bicep and Terraform
Answer
runOnce: run the deploy lifecycle hooks once.rolling: for VM environments, update a number or percentage of targets at a time (maxParallel).canary: deploy in increments (increments: [10, 20]), with hookspreDeploy,deploy,routeTraffic,postRouteTraffic,on: failure/success.
With the KubernetesManifest@1 task, canary uses trafficSplitMethod: pod or smi, deploying a -canary variant and a -baseline, then promote or reject. Many teams instead run canary logic in Argo Rollouts or Flagger and keep pipelines simple.
More on Azure DevOps, Bicep and Terraform
What services make up Azure DevOps?BeginnerWhat are branch policies in Azure Repos?BeginnerExplain the YAML pipeline structure in Azure Pipelines.BeginnerWhat are service connections and how should they authenticate?IntermediateWhat are environments in Azure Pipelines?IntermediateHow do templates work in Azure Pipelines?Intermediate