How do I do progressive delivery for Backstage with Argo CD?

Progressive delivery refers to a set of techniques that enable teams to gradually roll out changes to users, minimizing risk and allowing for quick rollbacks if necessary. In this example, we'll explore how to implement progressive delivery for Backstage using Argo CD, which is a Kubernetes-native continuous delivery tool.

Progressive Delivery, Backstage, Argo CD, Kubernetes, Continuous Delivery, DevOps


    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: backstage-app
      namespace: argocd
    spec:
      source:
        repoURL: 'https://github.com/your-org/backstage.git'
        targetRevision: HEAD
        path: 'path/to/backstage'
      destination:
        server: 'https://kubernetes.default.svc'
        namespace: backstage
      syncPolicy:
        automated:
          selfHeal: true
          prune: true
        syncOptions:
          - CreateNamespace=true
      # Define progressive delivery rollout strategies here
      rollouts:
        - name: 'backstage-rollout'
          strategies:
            canary:
              steps:
                - setWeight: 20
                - pause: { duration: 15m }
                - setWeight: 50
                - pause: { duration: 15m }
                - setWeight: 100
    

Progressive Delivery Backstage Argo CD Kubernetes Continuous Delivery DevOps