-
Notifications
You must be signed in to change notification settings - Fork 110
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
add info on scaling logic to typha overview #1360
Changes from all commits
ada404f
7b8c930
2d7d433
675906a
644f71d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -16,3 +16,31 @@ If you are using the Kubernetes API Datastore, we recommend using Typha. Althoug | |||||
|
||||||
- Since one Typha instance can support hundreds of Felix instances, it reduces the load on the datastore by a large factor. | ||||||
- Since Typha can filter out updates that are not relevant to Felix, it also reduces Felix's CPU usage. In a high-scale (100+ node) Kubernetes cluster, this is essential because the number of updates generated by the API server scales with the number of nodes. | ||||||
|
||||||
## Operator Scaling Logic | ||||||
|
||||||
If you're using the Operator installation, then the operator will automatically scales Typha pods for optimal performance. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- Small Cluster Considerations: Special handling is in place for clusters with fewer than five nodes. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
|
||||||
Here's the scaling logic it uses: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove. The table explains itself. |
||||||
|
||||||
Typha Replicas per Node Count | ||||||
|
||||||
| Nodes | Replicas | | ||||||
| ---- | ---- | | ||||||
| `1-2` | 1 | | ||||||
| `3-4` | 2 | | ||||||
| `<200` | 3 | | ||||||
| `<400` | 4 | | ||||||
| `<600` | 5 | | ||||||
| `...` | | | ||||||
| `<2000` | 12 | | ||||||
| `...` | | | ||||||
| `<3600` | 20 | | ||||||
|
||||||
:::note | ||||||
|
||||||
This algorithm may change as needs evolve. | ||||||
|
||||||
::: | ||||||
Comment on lines
+42
to
+46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On second thought, let's remove this too. The same applies to pretty much everything in the docs. If we make a change, that should be documented just like any other change. |
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.
We use sentence case for headings.