Commit Graph

54 Commits (01cfb51bfed48d1bce79ff5c839d460c3f0acad8)

Author SHA1 Message Date
Qiming Teng 8b46ec4047 Fix several link errors 2024-01-01 21:15:50 +08: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
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
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
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
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
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
Dhairya-Arora01 64af02f281 fixed the outdated link 2023-03-12 14:17:00 +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
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
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
Balaram Vedulla e8cb7ec9ba
Update assign-pod-node.md 2022-07-17 19:02:52 +02: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
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
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
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 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
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 b2097006f0
Merge pull request #29385 from shannonxtreme/assign-pods-nodes
Refactor Assigning Pods to Nodes
2022-03-23 01:01:59 -07:00
Abdullah Gharaibeh ec2133bd1d Graduate PodAffinityNamespaceSelector to GA 2022-03-18 11:01:02 -04: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
Shannon Kularathna 4650e1df61 Refactor Assign Pods to Nodes 2022-01-21 15:27:20 +00:00
Abdullah Gharaibeh a30d7351e8 Pod affinity namespaceSelector to beta 2021-06-15 09:03:28 -04:00
Jihoon Seo 3100379bcd Fix errors #27565, #27569 2021-04-19 11:36:43 +09:00
Tim Bannister 965aa51daf Merge master into dev-1.21 to keep in sync, plus latest API reference
This sync merge includes API reference updates.
2021-04-06 21:38:24 +01:00
Kubernetes Prow Robot 279bf48616
Merge pull request #27143 from allcentury/patch-1
update assign-pod doc
2021-03-27 02:52:43 -07:00
Victor Palade ca046d9b1f Merge master into dev-1.21 to keep in sync 2021-03-26 21:29:52 +01:00
Anthony Ross 7be3cdcc91
update assign-pod doc
General grammar and spelling fixes.
2021-03-19 10:19:43 -07:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
ChandaniM123 f4dee4c08b Merge remote-tracking branch 'upstream/master' into dev-1.21 2021-03-12 18:13:48 -05:00
Qiming Teng 285986acda Fix section order under scheduling-eviction 2021-03-09 09:16:03 +08:00
Abdullah Gharaibeh 07c5dbcbca Docs for pod affinity namespace selector and pod affinity corss-namespace quota scope. 2021-03-07 19:07:31 -05:00
Karen Bradshaw 3fd65482e8 clean up use of word: simply 2021-02-07 12:15:29 -05:00
Pierre Laporte fc202da36b
Clarify pod anti-affinity description
The code example uses `preferredDuringScheduling...`, as opposed to
`requiredDuringScheduling...`.  So the anti-affinity rule is a soft one.  It
says that the pod _should_ not be scheduled on [...] rather than that the pod
_cannot_ be scheduled on [...].
2020-12-14 11:41:52 +01:00
Aldo Culquicondor 45da527a31 Add usage for per-profile node affinity 2020-11-10 13:48:47 -05:00
Tim Hockin 300c2e8545 Better docs for standard topology labels
As per KEP 1659, topology labels are now more formalized.  Move away
from the older `failure-domain.beta` names ands use `topology` names
instead.
2020-11-03 11:27:58 -08:00
Tim Bannister 4b3617299a Link to well-known labels rather than repeating the list
- easier to maintain
- less visual space; readers who are interested can follow the hyperlink
2020-09-08 19:47:50 +01:00