Commit Graph

178 Commits

Author SHA1 Message Date
michellengnx baba5e4c35 Merge main into dev-1.32 to keep in sync 2024-12-09 23:11:06 -05:00
windsonsea 40e5543854 Clean up a policy concept page: resource-quotas 2024-12-05 09:46:21 +08:00
hacktivist123 9a29b3790b Merge main into dev-1.32 to keep in sync 2024-12-03 16:54:26 +00:00
Lakshmi Prasuna 67676624a5 updated the indentation 2024-12-02 15:55:20 +05:30
Charles Wong ace1c3b93a update docs for prefer-align-cpus-by-uncorecache feature 2024-11-26 18:55:26 +01:00
Francesco Romani 96a2e1793d node: start moving resource management docs to concepts
We have reached a point where the existing CPU management task page is quite hard to follow.
Start moving the resource management concepts to the concept page.

We begin with the CPU management policies, the worst offender right now.
Over time, the plan is to move all the concepts from tasks in the
concepts page.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2024-11-26 12:47:39 +01:00
Lakshmi Prasuna bf5ad7172a Improvement for LimitRange Documentation. 2024-11-19 13:06:33 +05:30
yashsingh74 c87b19193d
Updated the ResourceQuota doc for NodePort and LoadBalancer 2024-05-30 18:46:53 +05:30
Kubernetes Prow Robot 34ac45c19e
Merge pull request #42685 from pegasas/quota
clarification for ResourceQuota concept
2024-04-22 13:43:22 -07:00
John Huang efed6fd61c
Update content/en/docs/concepts/policy/resource-quotas.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-04-03 08:24:54 +08:00
John Huang d7cdaf6dca
Update content/en/docs/concepts/policy/resource-quotas.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-04-03 08:24:39 +08:00
John Huang 9e4ecf0c51
Update resource-quotas.md 2024-04-02 23:41:36 +08:00
John Huang 5e7dee826d
specify built-in API and CRD 2024-04-02 23:39:54 +08:00
John Huang 605f158e1f
fix description 2024-04-01 21:30:47 +08:00
Dipesh Rawat c889d9b251
Add metadata to use mechanism for API reference links 2024-03-14 14:50:24 +00:00
Takashiidobe d536e46dbd fix typos 2023-12-24 21:00:53 -05:00
yanggang 5f3f34b39b
Fix some typos in [en] docs.
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-11-16 00:35:39 +00:00
Kubernetes Prow Robot 4233c52cbc
Merge pull request #42051 from sybereal/fix-crossnamespacepodaffinity
Fix example errors for CrossNamespacePodAffinity
2023-10-10 09:03:31 +02:00
Mengjiao Liu e8b136c3b3 Use code_sample shortcode instead of code shortcode 2023-09-05 17:10:14 +08:00
pegasas a25ed42a6a
fix confusing expression 2023-08-26 00:42:59 +08:00
pegasas 6a661665d5 Update content/en/docs/concepts/policy/resource-quotas.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-08-24 09:42:13 +08:00
pegasas 8bd2ee51ca
Update content/en/docs/concepts/policy/resource-quotas.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-08-23 15:00:45 +08:00
pegasas e4d134143d clarification for ResourceQuota concept 2023-08-23 10:40:41 +08:00
Mengjiao Liu 68ba9633a2 Switch English to use code not codenew shortcode 2023-08-01 16:57:17 +08: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
Simon Engmann cfb6309c56
Fix example errors for CrossNamespacePodAffinity
Remove references to CrossNamespaceAffinity

The scope CrossNamespaceAffinity does not exist. Attempting to feed the example
YAML to `kubectl create` results in the following error:

> The ResourceQuota "disable-cross-namespace-affinity" is invalid:
> * spec.scopeSelector.matchExpressions.scopeName: Invalid value:
>  "CrossNamespaceAffinity": unsupported scope

Add missing operator for CrossNamespacePodAffinity

Trying to create the example ResourceQuotas without an operator results in the
following error from `kubectl create`:

> The ResourceQuota "disable-cross-namespace-affinity" is invalid:
> * spec.scopeSelector.matchExpressions.operator: Invalid value: "": must be
>   'Exist' when scope is any of ResourceQuotaScopeTerminating,
>   ResourceQuotaScopeNotTerminating, ResourceQuotaScopeBestEffort,
>   ResourceQuotaScopeNotBestEffort or
>   ResourceQuotaScopeCrossNamespacePodAffinity
> * spec.scopeSelector.matchExpressions.operator: Invalid value: "": not a valid
>     selector operator

The error message itself has another bug, as the operator is Exist*s*, not
Exist.

Signed-off-by: Simon Engmann <simon.engmann@sovity.de>
2023-07-19 09:13:41 +02:00
Jim Bugwadia e5d5a3f5f9
Update content/en/docs/concepts/policy/_index.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-05-29 18:49:59 -07:00
Jim Bugwadia 9def456bca update policies concept
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2023-05-27 17:04:35 -07:00
JenTing Hsiao a4a5b15ee7 Quota the variable
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-03-13 10:14:24 +08:00
nurayko 3415c996f2
Fix typo 2023-01-06 13:09:24 +02:00
Shubham Kuchhal 0b79c2ba12 Remove Note. 2022-12-05 13:02:31 +05:30
Shubham Kuchhal c9e326f641 Removed Reference from the removed Feature Gates. 2022-12-02 13:06:56 +05:30
kartik494 6abdc256ad Resource Quota behaviour on BestEffort Pod 2022-11-28 09:51:47 +05:30
Tim Bannister 2b6ca5dbac Move historical LimitRange context to end 2022-10-10 22:10:27 +01:00
Tim Bannister 6da0133a7d Fix up LimitRange concept 2022-10-10 22:10:10 +01:00
Sergey Kanzhelev 0eabe496cd limit ranger clarification 2022-10-10 17:46:28 +00:00
Tim Bannister 22ec0c1d1e Link from Policies concept to NetworkPolicy page 2022-09-09 10:04:41 +01: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
Kubernetes Prow Robot 6327ca0548
Merge pull request #33183 from afirth/patch-1
Update resource-quotas.md with info about RBAC
2022-06-07 19:39:48 -07:00
Alastair Firth 694b4db53d
Update resource-quotas.md
This line is about 6 years old and has been implemented for some time ;)

30e536f610~1/docs/admin/resourcequota/index.md#L19
https://kubernetes.slack.com/archives/C8WRR2BB9/p1635968976005100
2022-04-25 11:35:11 +02:00
Nate W f85be125b9 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-31 15:18:13 -07:00
Tim Bannister 672813f3e7
Move PSP into Security concepts section
The logical navigation definitely works better if Pod Security admission
and PodSecurityPolicy are pages in the same section. Make It So.

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2022-03-30 17:30:35 +01:00
Abdullah Gharaibeh ec2133bd1d Graduate PodAffinityNamespaceSelector to GA 2022-03-18 11:01:02 -04:00
Kubernetes Prow Robot 90188d33b7
Merge pull request #31636 from tengqm/fix-links-2
Fix links and markdown format for some pages
2022-03-05 12:54:54 -08:00
Tim Allclair 198ae37902
Rewrite PodSecurityPolicy migration guide (#31782) 2022-02-24 18:07:56 -08:00
Qiming Teng 459a3f96ac Fix links and markdown format for some pages 2022-02-05 15:19:21 +08:00
William Denniss 20ee91f0da
Include link to Pod Security Admission in the PodSecurityPolicy deprecation notice (#31475)
* Include link to Pod Security Admission in the PodSecurityPolicy deprecation notice

Add a link to the Pod Security Admission feature, which replaces PodSecurityPolicy. Currently users who read this page may not realize what the replacement is. The linked blog post talks about the KEP that created Pod Security Admission, but with no direct link.

* Remove link prefix

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
2022-01-25 16:28:26 -08:00
Christopher Negus 548ba073da Merge main into dev-1.22 to keep in sync 2021-07-09 18:19:13 +00:00
Tim Allclair 8b5fb9939b Don't recommend PSP usage, since it's deprecated 2021-06-28 13:53:17 -07:00
Kubernetes Prow Robot 165247a744
Merge pull request #28416 from ahg-g/ahg-nss2
Pod affinity namespaceSelector to beta
2021-06-27 19:47:25 -07:00