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

removing a deployment from go templater does not delete the deployment #13

Open
tonzgao opened this issue Oct 6, 2019 · 2 comments
Open

Comments

@tonzgao
Copy link

tonzgao commented Oct 6, 2019

I renamed a service and removed the old deployment from in.yaml.tmpl. on new deploy, the old deployment still existed

for similar reasons, it can't handle deploying immutable resources after the first deployment

@ColinChartier
Copy link
Contributor

There's a kubectl command for this "kubectl apply --prune --all", but it's destructive and usually not what you want to happen by default

@tonzgao
Copy link
Author

tonzgao commented Oct 7, 2019

thats reasonable. in the case of immutable resources though it will cause your deployment to fail

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