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

docs(multizone): add leader and follower information #1537

Closed
wants to merge 1 commit into from

Conversation

slonka
Copy link
Contributor

@slonka slonka commented Nov 27, 2023

Can someone help me fill this out? I always struggle with remembering who connects to whom, what runs on a leader, what runs on followers and what runs on both.

Did you sign your commit? Instructions

Have you read Contributing guidelines?

Copy link

netlify bot commented Nov 27, 2023

Deploy Preview for kuma ready!

Name Link
🔨 Latest commit c0dc492
🔍 Latest deploy log https://app.netlify.com/sites/kuma/deploys/65646b632d415d0008471fbb
😎 Deploy Preview https://deploy-preview-1537--kuma.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -69,13 +69,28 @@ A multi-zone deployment includes:
- Send zone ingresses down to zone control plane.
- Keep an inventory of all data plane proxies running in all zones (this is only done for observability but is not required for operations).
- Reject connections from data plane proxies.
- Leader
- Writes to the store
Copy link
Contributor

Choose a reason for hiding this comment

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

But you can also write stuff to a follower, for example PUT request to create a policy can go to any instance

- Leader
- Writes to the store
- Does insights processing
- Other leader components (CP catalog, gc, subscription finalizer, inter cp server)
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like this is might be quite cryptic for the users reading this doc.

Same with "insights processing".

- The **zone control planes**:
- Accept connections from data plane proxies started within this zone.
- Receive policy updates from the global control plane.
- Send data plane proxies and zone ingress changes to the global control plane.
- Compute and send configurations using XDS to the local data plane proxies.
- Update list of services which exist in the zone in the zone ingress.
- Reject policy changes that do not come from global.
- Leader
- Writes to the store
- Runs k8s controllers (pod converter, CNI taint)
Copy link
Contributor

Choose a reason for hiding this comment

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

Global also run this if global is on Kube

- Does insights processing
- Other leader components (CP catalog, gc, subscription finalizer, inter cp server)
- Followers
- Run default components
Copy link
Contributor

Choose a reason for hiding this comment

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

what are default components in this context?

@slonka
Copy link
Contributor Author

slonka commented Mar 28, 2024

Will reopen if this is needed again.

@slonka slonka closed this Mar 28, 2024
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

Successfully merging this pull request may close these issues.

3 participants