continuous-deployment-on-kubernetes
continuous-deployment-on-kubernetes copied to clipboard
Each build creates new pod that only goes away after manually deleting
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!
Is this not an issue for anyone else?
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?