Commit Graph

236 Commits

Author SHA1 Message Date
Alex Wang d84256921b doc: graduate matchLabelKeys in podTopologySpread to beta
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2023-03-07 11:07:09 +08:00
Wei Huang fc019615ab
Doc for Beta feature PodSchedulingReadiness 2023-03-06 09:02:48 -08:00
Dipesh Rawat bee8feccc2
Add minimum and maximum values for PriorityClass
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-02-23 17:39:00 +00:00
Dipesh Rawat 4df5efbaea
Add minimum and maximum values for PriorityClass 2023-02-23 16:37:18 +00:00
zhuzhenghao 07526a10ce Clean up page assign-pod-node 2023-02-19 14:58:34 +08:00
Todd Neal f9a19295ee
Update content/en/docs/concepts/scheduling-eviction/assign-pod-node.md
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-02-14 09:51:42 -06:00
Todd Neal 47e6adfcc9 add a node indicating when nodeName should be used 2023-02-14 09:27:50 -06:00
Kubernetes Prow Robot 61a122963f
Merge pull request #39271 from Zhuzhenghao/en/resource-bin-package
Tweak page style for resource-bin-packing.md
2023-02-04 23:44:29 -08:00
zhuzhenghao 87e8d214e1 Tweak page style for resource-bin-packing.md 2023-02-05 14:49:26 +08:00
zhuzhenghao 3aa5fe0cca Cleanup node-pressure-eviction.md 2023-02-05 14:17:55 +08:00
Yi-Han Chen e66d61d9a6 fix(#38432): Use Kubernetes colors in stateDiagram
improve stateDiagram's style in pod-scheduling-readiness page
2022-12-29 00:03:07 -05:00
Mengjiao Liu b272f1c4ce Fix minDomains note in topology-spread-constraints page 2022-12-20 11:21:43 +08:00
carolina valencia 7cd85d1fc4 Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-12-07 11:40:37 -03:00
Hamza Sheikh dfda271e99
Update kube-scheduler.md (#38264)
* Update kube-scheduler.md

A clearer way to write this paragraph explaining the scheduler.

Previous version: For every newly created pod or other unscheduled pods, kube-scheduler selects an optimal node for them to run on. However, every container in pods has different requirements for resources and every pod also has different requirements. Therefore, existing nodes need to be filtered according to the specific scheduling requirements.

Proposed version: Kube-scheduler selects an optimal node to run newly created or not yet scheduled (unscheduled) pods. Since containers in pods, and pods themselves have different requirements, existing nodes need to be filtered according to the specific scheduling requirements.

* Update kube-scheduler.md

I tried merging both our versions to make it a bit more concise, since feasibility is discussed in the subsequent paragraphs.
2022-12-05 21:26:37 -08:00
Tim Bannister 8f9446f87d
Merge branch 'main' into dev-1.26 2022-12-03 21:36:34 +00:00
Kubernetes Prow Robot cec61c1754
Merge pull request #38052 from krol3/merged-main-dev-1.26
Merge main branch into dev-1.26
2022-11-29 11:59:09 -08:00
Aldo Culquicondor 58d150dc8a
Clarify node affinity API (#38032)
* Clarify node affinity API

* Refer to the items by their names

* Clarify cardinality
2022-11-29 07:43:23 -08:00
Wei Huang 0025a584be
Remove redundant mermaid bits 2022-11-28 10:09:27 -08:00
Kubernetes Prow Robot be09333a58
Merge pull request #37766 from pohly/dynamic-resource-allocation-concepts
dynamic resource allocation concepts
2022-11-28 04:44:07 -08:00
Patrick Ohly 197de4f5ba document dynamic resource allocation concepts
The documentation intentionally only gives an overview. The API documentation
and the KEP have more details. Specific examples will be provided by hardware
vendors that provide resource drivers.

The new page gets placed between "Scheduling Framework" (because that
introduces the concept of a scheduler plugin) and "Scheduler Performance
Tuning" (which seems like a more advanced topic).
2022-11-28 11:48:35 +01:00
carolina valencia b4ad83ef13 Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-11-24 11:49:25 -03:00
Wei Huang 0e70ff0230
fixup: address comments 2022-11-18 10:43:45 -08:00
Wei Huang 21a7c4cc7e
Doc for Alpha feature PodSchedulingReadiness 2022-11-18 10:41:53 -08:00
Thomas VIVET f0ae13bd0a
Update topology-spread-constraints.md
Fix typo MinDomainsInPodToplogySpread -> MinDomainsInPodTopologySpread
2022-11-14 15:52:37 +01:00
carolina valencia 4d9111a85c Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-11-08 18:17:11 -03:00
Abigail McCarthy 3174fdf2d4 Adjust page weights for /docs/concepts section
Changes the page weights of the index files for folders in the /docs/concepts folder. There were some overlapping weights and weights that were close together.
2022-11-04 10:13:53 -04:00
kerthcet d8e7a7a700 Feat: graduate NodeInclusionPolicy to beta
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-11-03 19:17:49 +08:00
Christopher Negus 66df1d729e Add page weights to concepts -> scheduling-eviction pages 2022-10-25 15:58:57 +00:00
Michael e039acdca8 fix alignment in topology-spread-constraints.md 2022-10-19 08:16:01 +08:00
Kubernetes Prow Robot 342456405d
Merge pull request #36396 from kadtendulkar/kad33
Fix hyperlink on Pod Topology Spread Constraints page
2022-10-18 14:57:02 -07:00
Vaibhav Goel 8ff7e1845d
Updated the behaviour of evictionHard (#36961)
* Updated the behaviour of evictionHard

* Modified the changes in documenting hard eviction behaviour

* Updated the changes
2022-10-02 08:28:13 -07:00
Natan Yellin 3a701b3ea8
Remove misleading word from node eviction docs
Do not imply that node eviction can occur based on CPU. This isn't possible AFAIK.
2022-09-24 18:26:51 +03:00
kadtendulkar 8ebd741c83 Update content/en/docs/concepts/scheduling-eviction/topology-spread-constraints.md 2022-08-29 22:26:36 +05:30
Tanmay Bangalore 9b3288927d Change requestedToCapacityRatioParam to requestedToCapacityRatio in bin-packing docs.
The name requestedToCapacityRatioParam is actually the *type* of the
requestedToCapacityRatio field, as specified in the docs.
2022-08-24 13:16:06 -07:00
kerthcet 3b0b5b9d1c Document the new NodeInclusionPolicyInPodTopologySpread feature gate
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-17 10:31:51 +08:00
Kubernetes Prow Robot 6bb496b6f8
Merge pull request #35966 from kerthcet/feat/update
update the documents of podTopologySpread
2022-08-16 11:18:11 -07:00
kerthcet 5aa74d45b5 address comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-16 15:10:16 +08:00
Kubernetes Prow Robot 936b5859ba
Merge pull request #35165 from denkensk/doc-respect-PodTopologySpread
Add docs for MatchLabelKeysInPodTopologySpread feature
2022-08-15 19:27:07 -07:00
kerthcet 391ed0294a revert the chang of remove newline
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-15 20:13:58 +08:00
kerthcet d0e8a08ab1 update the documents of podTopologySpread
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-15 10:37:52 +08:00
Alex Wang cce49fe7e6 add doc for MatchLabelKeysInPodTopologySpread
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-08-09 10:59:16 +08:00
Kensei Nakada b26ae49d9a
Update the doc for minDomains to graduate minDomains to beta 2022-08-06 15:29:27 +09:00
Kubernetes Prow Robot 723ae44d5a
Merge pull request #35104 from balaramvedulla/patch-1
Updates to Node affinity weight section
2022-07-25 00:16:58 -07:00
Kubernetes Prow Robot 7078c38d3b
Merge pull request #33792 from sftim/20220510_assign_pod_node_affinity_updates
Revise scheduling-related docs
2022-07-24 03:38:57 -07:00
Balaram Vedulla e8cb7ec9ba
Update assign-pod-node.md 2022-07-17 19:02:52 +02:00
windsonsea 1e550e9604 [en] updated /node-pressure-eviction.md 2022-07-17 16:33:29 +08:00
Tim Bannister bfff661ac0 Clarify known limitation of Pod topology spread constraints
The limitation is more around cluster autoscaling; nonetheless it seems
to belong under Known limitations.
2022-07-14 23:59:07 +01:00
Tim Bannister 72a070e619 Improve Pod Topology Spread Constraints concept
- Adjust heading levels
- Link to API reference for Pod
- Clarify examples
- Add introductory text
- Split two combined examples
- Explain that Pods in a group should set the same topology spread
  constraints
- Write headings in sentence case
- Avoid using “we”
2022-07-14 23:59:07 +01:00
Tim Bannister 829dee0940 Wrap text for Pod Topology Spread Constraints
Wrapping helps localization teams pick up and work with changes.
2022-07-14 23:59:07 +01:00
Tim Bannister 311cdc386a Reword topic Assigning Pods to Nodes
- Rewording
- Tidying

Co-authored-by: Abdullah Gharaibeh <40361897+ahg-g@users.noreply.github.com>
2022-07-14 23:59:07 +01:00
Tim Bannister 3225a082df Mention topology spread constraints appropriately
The concept Assigning Pods to Nodes should mention Pod topology spread
constraints. This commit ensures that it does.
2022-07-14 23:59:07 +01:00
Tim Bannister 6700656cb4 Move Pod Topology Spread Constraints into scheduling
These constraints apply specifically to the mechanism for placing Pods
onto nodes (that is, scheduling).
2022-07-14 23:59:05 +01:00
Qiming Teng 36736d44d9 Improve node pressure eviction page
There are deprecated kubelet flags related to garbage collection. These flags were listed in the `kubelet-garbage-collection.md` page, which was removed by b1573ad314. Linking to the `kubelet` reference is not a good solution because users may still get confused what are the specific flags related to this behavior.

This PR restores the table with the flags updated according to 1.24 version of `kubelet --help`.
2022-07-11 13:55:39 +08:00
Qiming Teng d705d9ed1c Batch fix links (3) 2022-07-09 09:14:06 +08:00
Sean Wei 34721abcac Use relative links for k8s.io 2022-06-30 12:08:14 +08:00
Remo Andreoli 3132fbe4f0
Fix wrong label key in scheduling example (#32646)
* Fixed deprecated comment in scheduling-eviction/assign-pod-node.md regarding example pods/pod-with-affinity-anti-affinity.yaml

* Changed the example to a more appropriate one
2022-06-23 18:11:19 -07:00
Kubernetes Prow Robot a7c6e4d61d
Merge pull request #34067 from dipankardas011/changeTaints-Tolerations
modifications to taint-and-tolerations page
2022-06-15 21:34:48 -07:00
Dipankar Das 42b739ff65
improved the taints and toleration
Update content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md

Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>
2022-06-16 09:51:36 +05:30
Sean Wei 34155fed0b Fix links for k/design-proposals-archive
The contributors/design-proposals in k/community was removed. It's only
available in k/design-proposals-archive repo now.

This commit also changes https://github.com/kubernetes/repo/blob/master/file.md
to https://git.k8s.io/repo/file.md for better consistency.
2022-06-10 22:49:04 +08:00
Kubernetes Prow Robot aaeb8292ef
Merge pull request #34160 from aeryaguzov/patch-1
Added link to Resource Quotas from Pod Overhead page
2022-06-08 07:50:22 -07:00
Kubernetes Prow Robot bc02513d69
Merge pull request #33748 from denkensk/update-bin-pack-doc
update the doc for bin pack scheduling
2022-06-08 06:26:22 -07:00
Alex Wang 12b198340f update binpack doc
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-06-08 14:42:12 +08:00
Andrey Ryaguzov 273a36de9a
Added link to Resource Quotas 2022-06-07 17:39:31 +04:00
Dipankar Das e705ab827a Removed the redundant syntax addition
Signed-off-by: Dipankar Das <dipsonu10@hotmail.com>
2022-06-02 16:35:13 +05:30
Dipankar Das d2f168f463 verbose explaination is added
Signed-off-by: Dipankar Das <dipsonu10@hotmail.com>
2022-06-02 16:33:22 +05:30
Dipankar Das 5461bdddac modifications to taint-and-tolerations
* change to the tolerations overview wrt to pods
* syntax of defining taint for a node

Signed-off-by: Dipankar Das <dipsonu10@hotmail.com>
2022-05-31 17:25:02 +05:30
Nitish Kumar 8063487091
Apply suggestions from code review
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2022-05-29 11:27:21 +05:30
Nitish Kumar ce9c2c8b4b Broken Link Updated 2022-05-29 08:03:36 +05:30
Nate W 712f45dee4 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-26 13:11:13 -07:00
nonylene 4759a9f652 scheduling-eviction/pod-overhaed.md: Fix a typo
Bustrable -> Burstable
2022-04-24 01:15:51 +09:00
Nate W 0135d3642b Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-19 15:45:28 -07:00
Sean Wei 01c3c53b7d [en] Fix Markdown format 2022-04-14 01:33:53 +08:00
Qiming Teng 0bc8468bfa The PodOverhead feature is GA 2022-04-13 11:49:50 +08:00
Nate W d1bce4cb0d Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-07 10:41:49 -07:00
tidusete 64da6792e9
Missunderstood pods/pod-with-node-affinity.yaml
Either we correct the code from pods/pod-with-node-affinity.yaml to match the description about the rules that apply or we correct the description in order to match the pods/pod-with-node-affinity.yaml
2022-03-30 18:01:59 +02:00
Nate W 7c67921f3f Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-28 08:48:23 -07:00
Mitesh Jain bf59d01af7
Fix broken link for attach labels in assign-pod-node.md 2022-03-27 12:26:44 +05:30
Kubernetes Prow Robot 39fd63ba12
Merge pull request #31989 from guettli/31930__fix_busybox_image_1.28
fix busybox image to version 1.28
2022-03-25 15:45:59 -07:00
Kubernetes Prow Robot b2097006f0
Merge pull request #29385 from shannonxtreme/assign-pods-nodes
Refactor Assigning Pods to Nodes
2022-03-23 01:01:59 -07:00
Kubernetes Prow Robot 3cab4da486
Merge pull request #32337 from tengqm/prefernominatednode-ga
Promote PreferNominatedNode to GA
2022-03-22 19:01:58 -07:00
Abdullah Gharaibeh ec2133bd1d Graduate PodAffinityNamespaceSelector to GA 2022-03-18 11:01:02 -04:00
Qiming Teng dc5d6d7a33 Promote PreferNominatedNode to GA 2022-03-18 13:02:28 +08:00
Nate W 5a0f2583c6 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-07 16:23:45 -08:00
Qiming Teng b76366329d Update scheduler configuration sample version
This PR updates the scheduler configuration YAML snippets to use the 'v1beta3' version API. 'v1beta1' is gone and not recommended. We don't have config API reference for 'v1beta1' now.
2022-03-03 20:08:38 +08:00
Thomas Guettler 7122a4498a fix busybox image to 1.28 (issues with `nslookup`).
Changes where done with these commands:

reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples
reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples

Related issues:

 https://github.com/docker-library/busybox/issues/48
 https://github.com/kubernetes/kubernetes/issues/66924
2022-03-02 20:48:26 +01:00
Kubernetes Prow Robot ee0389d360
Merge pull request #28290 from shannonxtreme/api-eviction
Add information to API Evictions from Safely Drain a Node
2022-02-28 19:25:46 -08:00
Alex Wang 665f51e60a graduate nonpreemptingpriority to ga 2022-01-27 11:51:01 +08:00
Shannon Kularathna 4650e1df61 Refactor Assign Pods to Nodes 2022-01-21 15:27:20 +00:00
Mengjiao Liu a35da2ba7f Fix wrong capitalization for preemptionPolicy field 2022-01-10 17:59:22 +08:00
killerkc12 5de2a04a2f Remove docker from Node-pressure Eviction 2021-12-15 16:59:57 +05:30
Qiming Teng b198199336 Configuration API for v1.23 2021-12-08 16:19:23 +08:00
Tim Bannister dc84f0cb97 Mark figures' intended size
This commit activates Sass styling to make image sizes more responsive
on the rendered page.
2021-10-17 21:31:52 +01:00
Shannon Kularathna d6345808f4 Add information to API evictions 2021-10-01 15:26:01 +00:00
Shannon Kularathna c2f55492bd Add information to API evictions 2021-09-10 20:51:57 +00:00
Li Bo 34d7331e4e change CPU and Memory to lowercase because resoure name is case-sensitive 2021-08-20 16:13:55 +08:00
Jason Haugen 1b8686e66a
Update kube-scheduler.md
fix a small grammatical error
2021-08-05 09:18:38 -05:00
Victor Palade 3c95e6a96b Merge master into dev-1.22 to keep in sync 2021-07-27 18:47:27 +03:00
Aldo Culquicondor d415f62dd2 Fix feature state for Scheduling Framework
It was declared GA in 1.19
https://github.com/kubernetes/enhancements/blob/master/keps/sig-scheduling/624-scheduling-framework/kep.yaml
2021-07-20 16:45:55 -04:00
Kubernetes Prow Robot 5f8fdc6abb
Merge pull request #28797 from jihoon-seo/210705_Update_links
Update links
2021-07-16 20:12:50 -07:00
Qiming Teng e9730d3e95 Switch kube-scheduler config to v1beta2 2021-07-13 14:16:44 +08:00