-
Notifications
You must be signed in to change notification settings - Fork 456
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
Support leader election for katib-controller #1713
Support leader election for katib-controller #1713
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for your contribution! 🎉 👍
/hold /cc @andreyvelich |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
Can you please comment with |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent. |
/retest |
0a3296d
to
c81858e
Compare
I fixed setup-katib in e2e. job.batch/katib-cert-generator created
persistentvolumeclaim/katib-mysql created
validatingwebhookconfiguration.admissionregistration.k8s.io/katib.kubeflow.org created
Pod Status 0/7
All Katib components are running.
Katib deployments
NAME READY UP-TO-DATE AVAILABLE AGE
katib-controller 2/2 2 2 13s
katib-db-manager 1/1 1 1 13s
katib-mysql 0/1 1 0 13s
katib-ui 1/1 1 1 13s
pytorch-operator 1/1 1 1 15s
tf-job-operator 1/1 1 1 16s job.batch/katib-cert-generator created
persistentvolumeclaim/katib-mysql created
validatingwebhookconfiguration.admissionregistration.k8s.io/katib.kubeflow.org created
Pod Status 0/8
Pod Status 6/8
Pod Status 6/8
All Katib components are running.
Katib deployments
NAME READY UP-TO-DATE AVAILABLE AGE
katib-controller 2/2 2 2 34s
katib-db-manager 1/1 1 1 34s
katib-mysql 0/1 1 0 34s
katib-ui 1/1 1 1 34s
pytorch-operator 1/1 1 1 36s
tf-job-operator 1/1 1 1 37s |
These errors are caused by the pull rate limit in the docker hub. TOOMANYREQUESTS: You have reached your pull rate limit. You may increase the limit by authentica
ting and upgrading: https://www.docker.com/increase-rate-limit |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaocegege, johnugeorge, tenzen-y 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for pushing this @tenzen-y!
I left few comments.
/hold for the review
I modified scripts for the e2e test and fixed directory structure for HA manifests. |
manifests/v1beta1/installs/ha/katib-cert-manager/kustomization.yaml
Outdated
Show resolved
Hide resolved
a48b4f1
to
bd18869
Compare
@andreyvelich If it looks good to you, I would like to create PR in the website repository to add docs for katib-leader-election to katib-setup section. |
bd18869
to
c55bd42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates @tenzen-y!
Small comments from me.
manifests/v1beta1/installs/katib-leader-election/leader-election-rbac.yaml
Outdated
Show resolved
Hide resolved
manifests/v1beta1/installs/katib-leader-election/leader-election-rbac.yaml
Outdated
Show resolved
Hide resolved
manifests/v1beta1/installs/katib-leader-election/leader-election-rbac.yaml
Outdated
Show resolved
Hide resolved
manifests/v1beta1/installs/katib-leader-election/leader-election-rbac.yaml
Outdated
Show resolved
Hide resolved
…on-rbac.yaml Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
…on-rbac.yaml Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
…on-rbac.yaml Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
3127f1f
to
ee8fd73
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
Can you comment with |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent. |
…on-rbac.yaml Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Thank you for pushing this @tenzen-y! /lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaocegege, johnugeorge, tenzen-y 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 |
I think we can merge it. |
What this PR does / why we need it:
Support leader election for katib-controller.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1705
Checklist:
/assign
/assign @andreyvelich @gaocegege @johnugeorge