-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Add section for APF best practices #42114
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
Conversation
Welcome @natherz97! |
/cc |
/assign @andrewsykim @wojtek-t |
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.
Thanks
I recommend reviewing our style guide, including:
That will help you write text that matches the rest of the site, or at least matches how we'd like the rest of the site to read.
I also added some inline feedback.
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
/sig api-machinery |
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
/lgtm |
LGTM label has been added. Git tree hash: 849d9ee2ebb11fe3a2cdd807154d6608e32b64a8
|
/cc @MikeSpreitzer |
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.
Just some minor comments from me - other than that it LGTM.
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/cluster-administration/flow-control.md
Outdated
Show resolved
Hide resolved
@@ -782,6 +782,106 @@ APF adds the following two headers to each HTTP response message. | |||
- `X-Kubernetes-PF-PriorityLevel-UID` holds the UID of the | |||
PriorityLevelConfiguration object associated with that FlowSchema. | |||
|
|||
## Good practices for using API Priority and Fairness |
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.
Not blocking, but personally I think it would be more valuable to have "best practices" content in a separate page. This page already has a lot of information about the general concept which may be a very different audience from folks who are managing and optimizing their workloads.
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.
+1 overall, but I would block this PR on it
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.
Did you mean “wouldn't” @wojtek-t ?
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.
oops - sorry. Yes, I meant "wouldn't" ...
/lgtm /assign @MikeSpreitzer |
LGTM label has been added. Git tree hash: 1cc19b7854fa5f4377a00b2f070cdac788604beb
|
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.
Given https://github.com/kubernetes/website/pull/42114/files#r1314718145
/approve
Fixups, if any prove needed, are of course welcome.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sftim 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 |
This PR adds a section for APF best practices. The intent of this section is to educate cluster administrators how they can avoid APF-induced request latency or dropped requests. It covers how administrators can either modify their workload or tune APF configurations to avoid these issues.