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

Each build creates new pod that only goes away after manually deleting #132

Open
MarkPare opened this issue Oct 4, 2018 · 2 comments
Open

Comments

@MarkPare
Copy link

MarkPare commented Oct 4, 2018

Each build spawns a new pod to carry out the build. I understand that this is expected behavior, but what I'm wondering is is there any mechanism for cleanup? Right now my GKE console and kubectl get pods command are polluted by dozens of pods that have Completed status. This number will only increase over time.

@viglesiasce, any thoughts?

Thanks!

@MarkPare
Copy link
Author

Is this not an issue for anyone else?

@viglesiasce
Copy link
Contributor

Hey @MarkPare this should not be the case. Can you post the minimal Jenkinsfile that reproduces this and also how your Kubernetes plugin is configured? What version of K8s and Jenkins is this?

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