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

some questions about job sync #1379

Closed
ultraji opened this issue Aug 24, 2021 · 3 comments
Closed

some questions about job sync #1379

ultraji opened this issue Aug 24, 2021 · 3 comments

Comments

@Jeffwan
Copy link
Member

Jeffwan commented Aug 25, 2021

@ultraji

Q1: This is at different level. when pod/services are removed, expectations are deleted but not here at the job level.
example: https://github.com/kubeflow/common/blob/2f3f636f16ef4cedb12543a96ac1412da98bbca5/pkg/controller.v1/common/pod.go#L211

The logic you attached indicates the job is deleted. That means normal path has been went through. Does it make sense?

Q2:

processNextWorkItem normally just validates the key. It passes the key to syncTFJob. Since syncTFJob needs to retrieve the job object for a deep copy, it has to handle the error one more time. However, it may not be reached because it has been handled earlier.

@Jeffwan
Copy link
Member

Jeffwan commented Aug 25, 2021

/kind question

@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale label Mar 2, 2022
@stale stale bot closed this as completed Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants