loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
738 stars 65 forks source link

--skip-wait on vcluster doesn't skip anything #231

Closed withinboredom closed 1 year ago

withinboredom commented 1 year ago

Example command:

loft create vcluster a-name --project a-project --use --template a-template --skip-wait

This will wait until the cluster is available instead of not waiting.

use-case:

neogopher commented 1 year ago

Hi @withinboredom , I tried the same after creating a template with a couple of apps to install.

--skip-wait skips and returns the prompt immediately. Also, tried by removing the flag and it starts waiting on the vcluster as expected. image

Could there be any other configuration in your case, which could be causing this.

withinboredom commented 1 year ago

Looking. It seems the vcluster was set to "wait" in the Loft UI for that template.

carlmontanari commented 1 year ago

It seems the vcluster was set to "wait" in the Loft UI for that template.

Which setting is this? Not sure im tracking, but if you are happy and working I am happy 😁

withinboredom commented 1 year ago

image

In the app configuration, not vcluster configuration (my mistake).