Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Support for PodGroup updates #207

Merged
merged 3 commits into from
Jan 20, 2023

Conversation

tenzen-y
Copy link
Member

@tenzen-y tenzen-y commented Jan 19, 2023

Signed-off-by: Yuki Iwai yuki.iwai.tz@gmail.com

Currently, when users update CustomJob resources (e.g, TFJob) with runPolicy.schedulingPolicy or replicas changes, traininig-operator can not update PodGroup.

This means when hpa-controller updates replicas, training-operator does not update PodGroup.

So I implemented the logic to update PodGroup.

/assign @zw0610 @johnugeorge @terrytangyuan

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@tenzen-y
Copy link
Member Author

@johnugeorge Can we wait to create a new kubeflow/common release until this PR is merged?

@zw0610
Copy link
Member

zw0610 commented Jan 19, 2023

This means when hpa-controller updates replcase, training-operator does not update PodGroup.

are you referring replicas?

@tenzen-y
Copy link
Member Author

This means when hpa-controller updates replcase, training-operator does not update PodGroup.

are you referring replicas?

Ah, yes. This is a typo.

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@johnugeorge
Copy link
Member

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Jan 20, 2023
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: terrytangyuan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 9309adf into kubeflow:master Jan 20, 2023
@tenzen-y tenzen-y deleted the can-update-podgroup branch January 20, 2023 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants