Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to unstall from helm repo but can use local git clone for launch-agent install #14

Open
flowinh2o opened this issue Jun 21, 2023 · 2 comments

Comments

@flowinh2o
Copy link

Hello. When I try to install from your repo source i get the following.

helm upgrade --namespace=wandb --create-namespace --install wandb-launch wandb/launch-agent -f helm_vars/wandb_launch/values-usw2.yaml -f helm_vars/wandb_launch/secrets.yaml --namespace=wandb-launch

Error: INSTALLATION FAILED: namespaces "wandb" already exists

Installing from local git clone seems to work fine. I am curious if it has to do with the namespace.yaml template that is in there but did not remove from the local copy.

Also you might want to check your README.md since the helm syntax has a couple --namespace options.

@zacharyblasczyk
Copy link
Contributor

Hello @flowinh2o,

I would recommend removing the --create-namespace flag after the namespace is created the first time.

I will look to see if there is a way to ensure that this works idempotently and iteratively with the same helm command.

@flowinh2o
Copy link
Author

I am running this job from a cicd job so would be nice to be able to just reinstall like most helm charts. The issue of creating namespaces with labels does seem to be somewhat contentious in the k8s community. One possible solution could be to use a Chart hook here https://stackoverflow.com/questions/69940055/how-to-add-label-to-existed-namespace-by-helm/76276158#76276158.

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

No branches or pull requests

2 participants