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

Completed Pod not getting cleaned after failed sync or success #16589

Closed
mozarik opened this issue Sep 12, 2022 · 3 comments
Closed

Completed Pod not getting cleaned after failed sync or success #16589

mozarik opened this issue Sep 12, 2022 · 3 comments
Labels
autoteam community team/tse Technical Support Engineers type/bug Something isn't working

Comments

@mozarik
Copy link

mozarik commented Sep 12, 2022

Environment

  • Airbyte version: 0.40.4
  • OS Version / Instance: Ubuntu 18.04
  • Deployment: Kubernetes kube/overlays/stable
  • Step where error happened: Sync Data -> Complete or Error happened when sync

Current Behavior

Is the pod not getting cleaned after it use ?

kubectl get pod --field-selector=status.phase==Succeeded

NAME                                    READY   STATUS      RESTARTS   AGE
orchestrator-norm-job-11-attempt-1      0/1     Completed   0          111m
source-github-check-11-2-eopmb          0/4     Completed   0          109m
destination-bigquery-check-11-2-lztdk   0/4     Completed   0          109m
orchestrator-norm-job-11-attempt-2      0/1     Completed   0          38m

Expected Behavior

This is what I asked. is this expected behaviour ?

Logs

Steps to Reproduce

  1. Sync Data
  2. After sync failed or Success

Are you willing to submit a PR?

I dont know the code base yet

@sh4sh
Copy link
Contributor

sh4sh commented Sep 12, 2022

There's a service called pod-sweeper that should clean up these pods after 2 hours, so hopefully by now they are gone. There is explanation on why that limit was chosen here: #4737 (comment)

If you want to adjust how long succeeded pods take to clean up, you can edit this line of the deployment yaml: https://github.com/airbytehq/airbyte/blob/v0.40.4/kube/resources/pod-sweeper.yaml#L23

@sh4sh
Copy link
Contributor

sh4sh commented Sep 28, 2022

Hey @mozarik is this issue resolved or is there an issue with pod-sweeper?

@mozarik
Copy link
Author

mozarik commented Sep 29, 2022

Hey @mozarik is this issue resolved or is there an issue with pod-sweeper?

Sorry its resolved for now. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoteam community team/tse Technical Support Engineers type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants