fix(app): Introduced flag to specify leader election behavious
resolve: https://github.com/volcano-sh/volcano/issues/2798
Welcome @CharlesQQ! It looks like this is your first PR to volcano-sh/volcano 🎉
I think we should do some checks between those three parameters
cc @wangyang0616
I agree with @lowang-bh is suggestion that the input parameters need to be verified.
@lowang-bh @wangyang0616 there have the checks for three parameter in leaderelection package, so no need to check again.
https://github.com/volcano-sh/volcano/blob/86ff94129a1ea47cdd3389e1f58dc6a79948f55f/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go#L76-L109
cc @wangyang0616
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
/reopen
@CharlesQQ: Reopened this PR.
In response to this:
/reopen
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: william-wang
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [william-wang]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment