-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Feature Request] Deployment clean-up #3
Comments
@ChrisLahaye Hi! I am glad that you like this plugin! This feature is easy to implement, but before getting to work on it I am curious about why you need to clean up the |
We are using krelay-server as a bastion host, so to access a host that is only accessible from the network of the kubernetes cluster. We are doing this very rarely on our cluster and don't want to leave unregistered resources and processes running on the cluster. I think in general it would be good practice to provide a clean-up option that destroys the resources the tool created, even better if it is done in the same process in a transient way, like docker run --rm. Thank you for your consideration. |
@ChrisLahaye Hi! Thanks for your explanation, I will implement this feature in a few days 🚀 |
@ChrisLahaye Hi! Please try out the latest version |
Hi @knight42, I have a few more remarks:
The --rm for me personally solves all my issues, but I do believe above remarks would be welcome additions, so just leaving it here for thought. Thank you! |
Technically a single pod is sufficient, but the
Yes you are right, and the reason is that somebody else might be still using this Deployment, and removing it might break others' connection. Thanks for your advice! |
@ChrisLahaye Hi! just in case you might be interested, now that |
Hello,
It would be nice if there was an extra flag, e.g. --rm, to delete the deployment when the process exits.
Thank you for creating this plugin.
The text was updated successfully, but these errors were encountered: