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

delete-planks has to be filtered #162

Closed
dwojciec opened this issue Apr 5, 2019 · 1 comment

Comments

@dwojciec
Copy link

commented Apr 5, 2019

I'm using an openshift multi user env on which each developer has his own infrastructure application project and we decided to use it to deploy plank when we are debugging.
Example : project called "infra22" on which we have multiple application (pod) running but by executing

 squashctl utils delete-planks --squash-namespace infra22

the result is

delete-planks --squash-namespace infra22
Found 4 plank pods in namespace infra22
Deleted plank pod kiali-7df9d879b4-dqvvg.
Deleted plank pod plank2mbjl.
Deleted plank pod plankc7kmt.
Deleted plank pod plankpjxxr.

the delete is removing all PODS !!! in my case the kiali pod is deleted
is it possible just to remove pod with a name starting with "plank%" to avoid to restart all pods running in this workspace ?
I'm using squashctl :

$ squashctl --version
squashctl version 0.5.7, created 2019-04-03.16:43:21

@mitchdraft mitchdraft added the bug label Apr 5, 2019

@mitchdraft

This comment has been minimized.

Copy link
Contributor

commented Apr 5, 2019

Thanks for pointing this out @dwojciec I will add a filter

I had assumed that only squash-related pods would exist in the chosen squash namespace but there is no need for that constraint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.