Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 3.01 KB

config-deploy-multi-env.hbs.md

File metadata and controls

63 lines (44 loc) · 3.01 KB

Configure and deploy to multiple environments with custom parameters

This topic describes how to use carvel packages, Git repositories, and Flux CD to deploy workloads to multiple environments with Supply Chain Choreographer. By using a continuous delivery (CD) tool, you can apply Carvel packages to a runtime.

Overview

Flux CD is the VMware recommended CD tool. You can configure different parameters for each environment, such as replicas or host names. When you edit package parameters and commit them to a Git repository, Flux CD watches the Git repository and applies the package to your runtime environments.

Feature limits

To configure and deploy to multiple environments with custom parameters, ensure that your supply chains are compatible with the feature limits.

This feature is in beta and has the following limits:

  • Only the Out of the Box Basic Supply Chain package is supported.
  • The Testing and Scanning supply chains are not supported.
  • Innerloop development is not supported.

Using Carvel packages

You can configure your supply chain to outputs Carvel packages and deliver configuration for each environment. For information about using Carvel, see Carvel Package Supply Chains (beta).

Using GitOps delivery with Flux CD

You can deliver packages created by the Carvel package supply chain, and add them to clusters, by using a GitOps repository. For information about this delivery method, see Use Gitops Delivery with Flux CD (beta).

Using GitOps delivery with Carvel App

Alternatively, you can deliver packages created by the Carvel package supply chain, and add them to clusters by using a GitOps repository. For information about this delivery method, see Use Gitops Delivery with Carvel App

Using GitOps delivery with Argo CD

You can deliver packages created by the Carvel package supply chain, and add them to clusters by using a GitOps repository. For information about this delivery method, see Use Gitops Delivery with Argo CD.

Configuring blue-green deployment

You can use blue-green deployment to transfer user traffic from one version of an app to a later version while both are running. For information about setting up blue-green deployment, see Use blue-green deployment with Contour and PackageInstall (beta).

Configuring canary deployment

You can use canary deployment to gradually shift traffic from one version of an application to a later version, and at the same time, perform analysis to verify if the later version is either promoted or rolled back. For information about setting up canary deployments, see Use canary deployment with Contour and Carvel packages for Supply Chain Choreographer.