Skip to content

Flux for temporary review environments #831

Answered by stefanprodan
asoee asked this question in Q&A
Discussion options

You must be logged in to vote

There are two types of ephemeral environments that we wish to address in Flux v2:

  • preview namespaces (Kustomize+Helm)
  • preview clusters (ClusterAPI)

To deploy applications from feature branches onto ephemeral namespaces, we could introduce a new toolkit component (e.g. preview-controller) that reacts to events such as PR/branch create/push/delete.

The preview-controller could manage ephemeral namespaces and app deployments by generating GitRepository, Kustomization, and HelmRelease objects on the fly. When the PR is merged and the branch deleted, the controller will react by removing the generated objects and thus triggering garbage collection of the whole preview environment.

The previe…

Replies: 14 comments 19 replies

Comment options

You must be logged in to vote
5 replies
@squaremo
Comment options

@hugo082
Comment options

@goldsam
Comment options

@jmcruz1983
Comment options

@navpreet-securitas
Comment options

Answer selected by kingdonb
Comment options

You must be logged in to vote
5 replies
@naushadmohammed
Comment options

@mrknmc
Comment options

@paprickar
Comment options

@naushadmohammed
Comment options

@naushadmohammed
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@alam0rt
Comment options

@stealthybox
Comment options

@jcputter
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@GregoireW
Comment options

@sbernheim
Comment options

@GregoireW
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@makkes
Comment options

@Ph0tonic
Comment options

Comment options

You must be logged in to vote
1 reply
@tplass-ias
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet