Commit Graph

323 Commits (03ae214e8129b009b7a336dfa328e3eb2cb15dc2)

Author SHA1 Message Date
Kubernetes Prow Robot 790379c73e
Merge pull request #45180 from sanposhiho/min-domain
graduate MinDomain feature to stable
2024-03-04 17:40:38 -08:00
Kensei Nakada 9d31d214bd
add note for a feature gate 2024-03-02 14:01:09 +09:00
Charles Uneze 24f0a51371
Update content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md
Co-authored-by: Michael <haifeng.yao@daocloud.io>
2024-02-29 08:15:14 +01:00
Charles Uneze 41743ab932
Update taint-and-toleration.md 2024-02-28 22:28:36 +01:00
Kensei Nakada 8db9dcd226
update based on review 2024-02-24 15:30:13 +09:00
Alexis Boissiere 2f298d2077
Fix trailing whitespace in scheduler section 2024-02-19 13:55:48 +01:00
Alexis Boissiere e839bf7aee
Fix spelling mistake in scheduling section 2024-02-19 13:55:40 +01:00
Kensei Nakada 01cfb51bfe
graduate MinDomain feature to stable 2024-02-17 20:03:34 +09:00
Alexis Boissiere 33dcba8aa6
Fix spelling mistake in kube scheduler 2024-02-16 17:27:27 +01:00
Kubernetes Prow Robot a3604dd589
Merge pull request #45032 from dipesh-rawat/improve-feature-state-shortcode
Enhance 'feature-state' shortcode to utilize feature gate description files
2024-02-13 22:08:00 -08:00
Lawrence Chou 3ca2b443ac
Fix `matchLabelKeys` example yaml syntax
It should be `spec.template.spec.affinity` instead of `spec.template.affinity`.

```
$ explain deploy.spec.template.spec.affinity
GROUP:      apps
KIND:       Deployment
VERSION:    v1

FIELD: affinity <Affinity>

...
```
```
$ k explain deploy.spec.template.affinity
GROUP:      apps
KIND:       Deployment
VERSION:    v1

error: field "affinity" does not exist
```
2024-02-13 10:37:33 +08:00
Dipesh Rawat a3f297bc80
Use new feature_gate_name option 2024-02-12 19:16:20 +00:00
Suhas Adhav 4ddb452c16
update note message and place 2024-01-25 22:22:16 +05:30
Suhas Adhav 25d3b7c714
make comment as note 2024-01-25 22:15:55 +05:30
Suhas Adhav 8fa7cbcc7b
revert previous change and add yaml comment 2024-01-24 18:01:08 +05:30
Suhas Adhav 008dfcd9e7
Change limits to requests
in the example for pod overhead - we need to have requests section instead of limits
2024-01-23 22:57:25 +05:30
Kubernetes Prow Robot bd5a1866ed
Merge pull request #43702 from vaibhav2107/example-reupdate
Add the link of supposed example in topology-spread-constraints.md
2024-01-22 04:26:17 +01:00
vaibhav2107 36a3e21cd2 Added Imagefs inodes default settings in Eviction Hard 2024-01-10 20:23:01 +05:30
vaibhav2107 606a9c7f32 Added Imagefs inodes default settings in Eviction Hard 2024-01-10 12:59:59 +05:30
Kubernetes Prow Robot a5e512e0e9
Merge pull request #44539 from haripriya9647/values
Improve an expression from 'value's to 'values' for taint-and-toleration
2024-01-04 00:12:38 +01:00
Qiming Teng 8b46ec4047 Fix several link errors 2024-01-01 21:15:50 +08:00
Haripriya 362f84dea0 'value's to 'values'
commit
2023-12-27 17:40:21 +05:30
windsonsea ca9f211613 Update scheduling framework concept 2023-12-15 22:10:14 +08:00
Qiming Teng 2fe79a7c28 Update references to the config APIs 2023-12-14 09:24:12 +08:00
Tim Bannister 9010b97f01
Revise message
Avoid mentioning change we expect for a future (patch) release
2023-12-13 15:20:36 +00:00
Kensei Nakada 2520994c31
Feature gate SchedulerQueueingHints is disabled by default 2023-12-13 17:45:25 +09:00
vaibhav2107 bbf3000b8a Updated topology spread constraints.md 2023-11-24 08:33:03 +05:30
Kat Cosgrove 2d9fbc1c7e
Merge remote-tracking branch 'upstream/main' into dev-1.29 2023-11-22 22:07:26 +00:00
Kubernetes Prow Robot dad8686f24
Merge pull request #43813 from sanposhiho/qhint
add a doc for QueueingHint
2023-11-22 16:06:39 +01:00
Aritra Ghosh 071262933b
Adding script for cgroup v2 memory available.sh (#41931)
* script for cgroup v2 memory available.sh

* Update content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md

Co-authored-by: Michael <haifeng.yao@daocloud.io>

* Update memory-available-cgroupv2.sh

---------

Co-authored-by: Michael <haifeng.yao@daocloud.io>
2023-11-22 02:07:28 +01:00
Kensei Nakada de6a6410ea
fix based on review 2023-11-22 08:46:00 +09:00
Kensei Nakada 2ec25fbe7b
add: the doc for matchLabelKeys/mismatchLabelKeys in pod (anti)affinity (#43812)
* add: the doc for matchLabelKeys/mismatchLabelKeys in pod (anti)affinity

* fix based on reviews

* add the explanation for labelSelector

* address the review
2023-11-20 15:04:59 +01:00
Kensei Nakada 5126f13386
address the review 2023-11-19 08:19:33 +09:00
Patrick Ohly 725f68ff18 dra: warn about scheduling performance
That pods with ResourceClaims get scheduled more slowly, but that this also
affects other pods may be surprising and is worth calling out.
2023-11-14 11:54:37 +01:00
Kensei Nakada 0190eebb5e
fix based on reviews 2023-11-04 14:27:35 -05:00
Kensei Nakada ba05f7a2ab
add a doc for QueueingHint 2023-11-04 09:49:39 +09:00
vaibhav2107 9151b93cd9 Add the link of supposed example in topology-spread-constraints.md 2023-10-27 00:28:20 +05:30
Kubernetes Prow Robot c40d90f67e
Merge pull request #43336 from Affan-7/image-gc
Remove misleading docs around eviction and image garbage collection
2023-10-24 12:55:07 +02:00
oculushut e124688855
Clearer information about the emptyDir and correction for how topologyKey works (#42780)
* removes "tmpfs is cleared on node reboot"

I believe the statement is confusing since we are in the emptyDir section of the documentation.  

If a Node is restarted then all pods that resided on that node will be rescheduled onto another Node.  Rescheduled pods will have an empty volume  whether you choose emptyDir.medium "Memory" or not.

* removes bad comma

* improves memory limit description

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* removes incorrect explanation for topologyKey in an affinity or anti-affinity rule (#1)

The existing text does not make sense to me.  

There is no zone "V" or "R" in the example.  

I have changed the text to be consistent with top answer here which seems to make more sense: https://stackoverflow.com/questions/72240224/what-is-topologykey-in-pod-affinity

* gives more context to node label configuration

* manually wraps text and replaces absolute links with relative ones

* Update assign-pod-node.md

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-10-17 03:40:52 +02:00
Karena Angell 6573fead87
Update pod-scheduling-readiness.md to beta
Pod Scheduling Readiness graduated to beta in 1.27, this minor update reflects that feature state.
2023-10-11 23:50:41 -06:00
Aritra Ghosh 76756833c1
Update taint-and-toleration.md with types of taint effects (#42315)
* Update taint-and-toleration.md

Revamped the taint effect to introduce the effects early in the article

* Update taint-and-toleration.md

* Update taint-and-toleration.md

* Update taint-and-toleration.md

* Update taint-and-toleration.md

* Update content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md

Co-authored-by: Mauren Berti <698465+stormqueen1990@users.noreply.github.com>

* Update content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md

Co-authored-by: Mauren Berti <698465+stormqueen1990@users.noreply.github.com>

* Update content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md

Co-authored-by: Mauren Berti <698465+stormqueen1990@users.noreply.github.com>

* Update taint-and-toleration.md

* Update taint-and-toleration.md

* Update taint-and-toleration.md

* Update taint-and-toleration.md

* Apply suggestions from code review

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Apply suggestions from code review

Co-authored-by: Qiming Teng <tengqm@outlook.com>

---------

Co-authored-by: Mauren Berti <698465+stormqueen1990@users.noreply.github.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-10-10 05:04:38 +02:00
Tamilselvan 33d2511be5
Fix stale info about spread minDomains (#42758)
* Stale information about minDomains

* Update topology-spread-constraints.md

* Update topology-spread-constraints.md

* Update topology-spread-constraints.md

* Update content/en/docs/concepts/scheduling-eviction/topology-spread-constraints.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-10-06 00:03:46 +02:00
Mohammed Affan 2b61bd9cfe Remove misleading docs around eviction and image garbage collection 2023-10-05 12:07:29 +05:30
tamilselvan1102 97fbcee7dc Fix - Remove details about SelectorSpread plugin 2023-09-27 12:24:04 +05:30
Kubernetes Prow Robot ca57565f16
Merge pull request #42920 from sftim/20230622_add_pod_affinity_text
Add pod affinity note
2023-09-06 13:52:55 -07:00
Kubernetes Prow Robot fe22087638
Merge pull request #42178 from sftim/20230724_revise_node_pressure_eviction_concept
Revise node pressure eviction concept
2023-09-06 12:54:52 -07:00
Daniel Shebib b4652d7304 add pod affinity note 2023-09-06 17:13:26 +01:00
Mengjiao Liu e8b136c3b3 Use code_sample shortcode instead of code shortcode 2023-09-05 17:10:14 +08:00
Tim Bannister a5560747df Mention tainting nodes by condition 2023-09-04 18:23:36 +01:00
Tim Bannister f971ce2815 Link to pod phase 2023-09-04 18:23:36 +01:00
Tim Bannister 35fa37e0fb Mention static pods and node-pressure eviction 2023-09-04 18:23:36 +01:00
Tim Bannister 43e61bdadf Revise node-pressure eviction concept
Co-authored-by: Michael <haifeng.yao@daocloud.io>
2023-09-04 18:23:36 +01:00
Tim Bannister 20b43d6095
Merge branch 'main' into 'dev-1.28' 2023-08-09 11:13:31 +01:00
Kubernetes Prow Robot a0abc5b5c4
Merge pull request #42445 from pohly/dra-update
dra: cleanup of Kubernetes 1.28 update
2023-08-08 02:22:16 -07:00
Tim Bannister 98b52d510b dra: cleanup of Kubernetes 1.28 update
This is a follow-up to https://github.com/kubernetes/website/pull/41856 with
the suggested enhancements.
2023-08-08 09:02:44 +02:00
Kubernetes Prow Robot d9091f38c9
Merge pull request #41856 from pohly/dra-update
dra: update for Kubernetes 1.28
2023-08-07 14:44:32 -07:00
Kubernetes Prow Robot cc4e3ec66d
Merge pull request #42236 from sftim/20230726_link_to_node_labels
Link to specific node labels rather than entire list
2023-08-02 10:10:42 -07:00
Patrick Ohly 6c926cb5db dra: update for Kubernetes 1.28
Several improvements under the hood which don't need to be documented here. API
changes (like storing generated resource claim names in the pod status) are
part of the generated API documentation.

What is worth mentioning because it was listed as "limitation" before is that
pre-scheduled pods are now supported better.
2023-08-02 16:09:18 +02:00
Kubernetes Prow Robot 8766ddab71
Merge pull request #42344 from radimih/patch-1
Fix description of Gt and Lt operators in selectors
2023-08-02 01:44:09 -07:00
Radimir Mikhailov d267b7b3a9
Fixed description of Gt and Lt operators 2023-08-01 17:09:12 +07:00
Mengjiao Liu 68ba9633a2 Switch English to use code not codenew shortcode 2023-08-01 16:57:17 +08:00
Tim Bannister 29c6a60501 Link to specific node labels rather than entire list
Less visual space compared to the original approach, but still shows
which labels you can expect to find set on a node.

Co-authored-by: Ritikaa96 <ritika@india.nec.com>
2023-07-27 11:26:33 +01:00
Andrey Goran eb522c126f
Replace {{< codenew ... >}} with {{% codenew ... %}} in all English docs (#42180)
* Replaced {{< codenew ... >}} with {{% codenew ... %}} in all files

* Reverted changes in non-english localizations
2023-07-25 05:54:06 -07:00
Mohammed Affan b64e69439c Add link for descheduler 2023-07-24 15:31:46 +05:30
Rishit Dagli e7cf1ca19b
Merge dev-1.28 into main 2023-07-04 19:21:49 -04:00
Max d61f12d86f
fixed typo for taint-and-toleration.md 2023-06-29 12:50:35 +01:00
Max 4116be05c0
Update taint-and-toleration.md
fixed some typos
2023-06-28 17:33:53 +01:00
Rishit Dagli e2dc67dbc1
Merge pull request #3 from Rishit-dagli/main
Merged main dev-1.28
2023-06-21 13:09:03 -04:00
Qian_Xiao 972abbf09f
Fix node score calculation in resource-bin-packing.md
The nodescore calculation formula misses parentheses causing it confusing to understand.
2023-06-14 13:41:54 -07:00
Vaibhav Goel 290b12ca94
Removed the keyword new from dynamic-resource-allocation.md (#41483)
* Removed the new keyword from dynamic-resource-allocation.md

* Updated the grammar in dynamic-resource-allocation.md
2023-06-12 17:59:57 -07:00
Sreeram Venkitesh 81fd15afe4
Added section on operators for `nodeAffinity` and `podAffinity` (#39742)
* Added section in the docs about the behaviour of operator in the node and pod affinity docs

* Fixes from review

* Fixed podAffinity and added note about non-integer values

* Fixes from review

* Fixed review comments

* Fixes from review
2023-05-24 01:18:50 -07:00
Ruslan Stelmachenko 4d051d9b29
Fix well-known label name 2023-04-28 21:27:29 +02:00
Wei Huang 625b031344
fixup: address comments 2023-04-13 14:37:57 -07:00
Wei Huang 936ac5574f
fixup: address comments 2023-04-13 11:36:02 -07:00
Wei Huang 9c88b40f05
Update scheduler framework doc to include PreEnqueue 2023-04-12 20:48:56 -07:00
Kubernetes Prow Robot 4dcb78cdbd
Merge pull request #40008 from denkensk/update-match
doc: forbid to set matchLabelKeys when labelSelector isn’t set in topologySpreadConstraints
2023-04-05 16:57:47 -07:00
Kubernetes Prow Robot f62d58d9bd
Merge pull request #39978 from moshe010/pod-resource-api-dra-doc-upstream
Extend PodResources API for Dynamic Resource Allocation
2023-04-04 08:35:53 -07:00
Moshe Levi eaf9199d07 doc: extend PodResources API for Dynamic Resource Allocation
Signed-off-by: Moshe Levi <moshele@nvidia.com>
2023-04-04 10:17:03 +03:00
Kubernetes Prow Robot 40a6ff8ad1
Merge pull request #40048 from tzneal/remove-pod-eviction-timeout-docs
remove pod-eviction-timeout documentation
2023-04-03 08:27:51 -07:00
Daniel Vega-Myhre a6d1ec99df
Add docs for mutable scheduling directives on gated Pods (#40000)
* initial commit

* address comments

* Update content/en/docs/concepts/scheduling-eviction/pod-scheduling-readiness.md

Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>

* adjust phrasing

* Update content/en/docs/concepts/scheduling-eviction/pod-scheduling-readiness.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Update content/en/docs/concepts/scheduling-eviction/pod-scheduling-readiness.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

---------

Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-04-03 07:59:51 -07:00
Alex Wang 1378908574 doc: forbid to set matchLabelKeys when labelSelector isn’t set in topologySpreadConstraints
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2023-04-02 22:55:01 +08:00
Todd Neal 3a81c94ba8 remove pod-eviction-timeout documentation
pod-eviction-timeout has been removed from v1.27, update the docs to
reference the taint based eviction that is now the default and only
mechanism.
2023-03-21 08:00:33 -05:00
Mickey Boxell 79fd7f88d6 Merge remote-tracking branch 'upstream/main' into dev-1.27 2023-03-20 21:58:19 -05:00
Patrick Ohly 5beb348e62 dynamic resource allocation: update for 1.27
The API group was bumped to make some incompatible internal changes and the
user-visible renaming of PodScheduling to PodSchedulingContext.
2023-03-17 20:31:48 +01:00
Dhairya-Arora01 64af02f281 fixed the outdated link 2023-03-12 14:17:00 +00:00
Kubernetes Prow Robot bd456cf518
Merge pull request #39824 from mickeyboxell/merged-main-dev-1.27
Merged main dev 1.27
2023-03-10 07:00:40 -08:00
Kubernetes Prow Robot d3979d5150
Merge pull request #39773 from Huang-Wei/1.27/PodSchedulingReadiness-beta
Doc for Beta feature PodSchedulingReadiness
2023-03-08 23:14:01 -08:00
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