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

create a common endpoint/configmap object lock based HA code block that can be reused by each control plane component #99

Open
cathyhongzhang opened this issue Nov 25, 2020 · 3 comments

Comments

@cathyhongzhang
Copy link

What would you like to be added:
A common code block that can be shared by all global scheduling platform control plane components to support HA.

Why is this needed:
Each control plane component needs to support HA. We can leverage existing k8s endpoint/configmap object based lock mechanism to add HA to each control plane component. Since they share quite some common code pieces, we can extract these code pieces and put them into a common code block so that every component can reuse this code block to implement its HA.

@jshaofuturewei
Copy link
Collaborator

Research has been done and each component resource lock will use namespace + kind as its uid for its lock record.

@cathyhongzhang
Copy link
Author

will write a draft for discussion.

@jshaofuturewei jshaofuturewei added this to the Spring Release 2021 milestone Nov 30, 2020
@jshaofuturewei
Copy link
Collaborator

It is not urgent after discussion. Therefore it has been move to Spring release.

For kube-controller-manager and kube-scheduler, both of them use resource lock mechanisms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants