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

Introduced member leases to work-around limitations in Server-Side-Apply #207

Merged

Conversation

amshuman-kr
Copy link
Collaborator

How to categorize this PR?

/area control-plane
/kind enhancement

What this PR does / why we need it:
Introduced member leases to work-around limitations in Server-Side-Apply.

Which issue(s) this PR fixes:
Alternative design to #206.

Special notes for your reviewer:
Limitations in Server-Side Apply are documented in #179. I have updated the proposal with alternative design that was discussed out-of-band of using leases per member instead of introducing a new EtcdMember resource (as described in #206).
cc @shreyas-s-rao @timuthy @abdasgupta

Release note:

NONE

@amshuman-kr amshuman-kr requested a review from a team as a code owner July 26, 2021 07:43
@gardener-robot gardener-robot added area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) labels Jul 26, 2021
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 26, 2021
@gardener-robot-ci-3 gardener-robot-ci-3 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Jul 26, 2021
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 26, 2021
@gardener-robot-ci-3 gardener-robot-ci-3 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 26, 2021
Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for writing the latest decisions down. I only have a few questions/suggestions.

docs/proposals/multi-node/README.md Outdated Show resolved Hide resolved
docs/proposals/multi-node/README.md Show resolved Hide resolved
docs/proposals/multi-node/README.md Show resolved Hide resolved
docs/proposals/multi-node/README.md Show resolved Hide resolved
docs/proposals/multi-node/README.md Outdated Show resolved Hide resolved
@gardener-robot gardener-robot added the needs/changes Needs (more) changes label Jul 26, 2021
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 26, 2021
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 26, 2021
@amshuman-kr
Copy link
Collaborator Author

@timuthy Thanks for the review! I have addressed your comments. Can you please check if this fine or if more changes are required?

Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks for addressing the feedback

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/changes Needs (more) changes needs/review Needs review labels Jul 27, 2021
Copy link
Contributor

@shreyas-s-rao shreyas-s-rao left a comment

Choose a reason for hiding this comment

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

@amshuman-kr Thanks for updating the proposal with the changes from our discussion. I just had a doubt regarding the utility of id field over role field. Please address this. Thanks.

docs/proposals/multi-node/README.md Outdated Show resolved Hide resolved
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 28, 2021
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 28, 2021
@amshuman-kr
Copy link
Collaborator Author

@shreyas-s-rao Thanks for the review. I have changed the proposal as discussed. Now both id and role fields are present in status.members and populated via : separated value (like 272e204152:Leader) in spec.holderIdentity of the corresponding leases. Can you PTAL?

Copy link
Contributor

@shreyas-s-rao shreyas-s-rao left a comment

Choose a reason for hiding this comment

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

@amshuman-kr Thanks for addressing my concern. LGTM

@amshuman-kr amshuman-kr merged commit 0482777 into gardener:master Jul 28, 2021
@amshuman-kr amshuman-kr deleted the intruduce-lease-for-members branch July 28, 2021 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging size/m Size of pull request is medium (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants