Skip to content

Add an example of applicationSet with multiple kustomize environment (dev/staging/prod) #123

Open
@lknite

Description

@lknite

I know the answer is 'just use kustomization' but being new to argocd and kustomization I'm finding locating examples difficult.

Will I run a kustomize against a repo which will build additional application files which I need to include? When I try to ask I often get answer like sure you can do like this or this or this, but without any detail.

I suspect it is very common for someone who has come across argo to see it as a possible solution with multiple clusters. The idea will always be can I have one application file that I can apply to multiple clusters? Or will I need an application file for each cluster and the only difference will be the destination?

I wonder if a couple examples could be added, using a single argo instance with multiple clusters added:

  1. here's how to install something like metric-server to multiple clusters
  2. here's how to install nginx with an ingress using an fqdn built using the cluster names, e.g.:
    • demo.dev.domain.net, demo.test.domain.net, demo.prod.domain.net

I know the ApplicationSet will be here soon, but it would be good to know how its supposed to be done with what currently exists. I know App of Apps exists, so is that the answer? One application targets exactly one destination? So if I have 18 clusters I'll need 18 application files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions