Skip to content

Conversation

arunvthangaraj
Copy link
Contributor

Description of changes:

This PR adds a backstage template to deploy a ephemeral k8s cluster to the management cluster.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@elamaran11
Copy link
Contributor

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@elamaran11 elamaran11 requested a review from csantanapr May 20, 2025 22:34
Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@arunvthangaraj
Copy link
Contributor Author

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@elamaran11 Yes the backstage template does deploy a argocd app which uses vcluster helm chart to deploy the virtual cluster to management cluster.

@elamaran11
Copy link
Contributor

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@elamaran11 Yes the backstage template does deploy a argocd app which uses vcluster helm chart to deploy the virtual cluster to management cluster.

@arunvthangaraj Understood, thanks for the clarity. One question though, does this work even if the backstage template is invoked multiple times for creating multiple vClusters by different personas at the same time?

@elamaran11
Copy link
Contributor

@csantanapr Review this from your end.

@arunvthangaraj
Copy link
Contributor Author

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@elamaran11 Yes the backstage template does deploy a argocd app which uses vcluster helm chart to deploy the virtual cluster to management cluster.

@arunvthangaraj Understood, thanks for the clarity. One question though, does this work even if the backstage template is invoked multiple times for creating multiple vClusters by different personas at the same time?

yes it will work. One caveat though it will create multiple vclusters in the same namespace since the namespace is hard coded in the argo app. Do i need to make the namespace dynamic based on the name ?

@elamaran11
Copy link
Contributor

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@elamaran11 Yes the backstage template does deploy a argocd app which uses vcluster helm chart to deploy the virtual cluster to management cluster.

@arunvthangaraj Understood, thanks for the clarity. One question though, does this work even if the backstage template is invoked multiple times for creating multiple vClusters by different personas at the same time?

yes it will work. One caveat though it will create multiple vclusters in the same namespace since the namespace is hard coded in the argo app. Do i need to make the namespace dynamic based on the name ?

If thats the case, It should work to support across different namespaces.

@arunvthangaraj
Copy link
Contributor Author

@arunvthangaraj Are you not deploying vCluster on Management Cluster thru ArgoCD. The expectation is to have vCluster i stalled thru ArgoCD and accessed via CLI in workshop like this https://github.com/cnoe-io/stacks/tree/main/vcluster-multi-env/vcluster

@elamaran11 Yes the backstage template does deploy a argocd app which uses vcluster helm chart to deploy the virtual cluster to management cluster.

@arunvthangaraj Understood, thanks for the clarity. One question though, does this work even if the backstage template is invoked multiple times for creating multiple vClusters by different personas at the same time?

yes it will work. One caveat though it will create multiple vclusters in the same namespace since the namespace is hard coded in the argo app. Do i need to make the namespace dynamic based on the name ?

If thats the case, It should work to support across different namespaces.

ok will push a change for this then. Will let you all know when i complete validating the changes in a TE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants