Commit Graph

157 Commits

Author SHA1 Message Date
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
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
Tim Allclair ae1ae50454 Address PR feedback 2021-06-24 10:16:32 -07:00
Tim Allclair 4600715899 Document PSP best practices for PodSecurity transition 2021-06-24 10:16:32 -07:00
Kubernetes Prow Robot 2c7d774239
Merge pull request #28407 from tengqm/fix-links
Fix some links in the concepts section
2021-06-17 19:30:04 -07:00
Kubernetes Prow Robot 5dfcf92490
Merge pull request #28447 from tengqm/fix-file-modes
Remove exec permission on markdown files
2021-06-17 19:04:04 -07:00
Qiming Teng e9703497a1 Remove exec permission on markdown files
For some unknown reasons, we have got many markdown files with exec
permission. That is weird and risky.
2021-06-16 17:57:00 +08:00
Abdullah Gharaibeh a30d7351e8 Pod affinity namespaceSelector to beta 2021-06-15 09:03:28 -04:00
Qiming Teng ad93c9a6ef Fix some links in the concepts section
This PR fixes the links in the concepts section. Most of the links are
not dead links in English version because there are redirects for them.
However, these links will be broken when localized to any languages
other English.

Where appropriate. this PR also wraps some long lines which are
unfriendly to any localization team that try to catch the differences
between revisions.
2021-06-14 20:38:10 +08:00
Bruno Gabriel da Silva 0295ca4f9e
Adjust yaml indentation on allowedHostPaths example (#27731)
* Adjust yaml indentation on allowedHostPaths

allowedHostPaths is an attribute inside spec: of PSP, so the sample needs to be shifted to match the YAML.

* Adjusted the PSP example allowedHostPaths coments

Adjusted the whole example (including the #coments)
2021-06-09 18:37:26 -07:00
George Gaál 34d914fce3
Update node-resource-managers.md
fix typo
2021-04-19 22:16:54 +03:00
Kubernetes Prow Robot 502742296d
Merge pull request #26730 from cezaryzukowski/dev-1.21
The Memory Manager official documentation
2021-03-25 04:51:30 -07:00
Cezary Zukowski 5927f96029 The Memory Manager official documentation
Signed-off-by: Cezary Zukowski <c.zukowski@samsung.com>
2021-03-23 08:35:20 +01:00
Urvashi Mohnani 4cff5d40c7 Update docs for CRIContainerLogRotation
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2021-03-17 10:04:45 -04: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
ChandaniM123 65de0bda77 Merge remote-tracking branch 'upstream/master' into dev-1.21 2021-02-26 20:30:32 -05:00
Jailton Lopes 1077ed896f
Add glossary tooltip for “API server” to Resource Quotas concept
Signed-off-by: Jailton Lopes <jailton@gmail.com>
2021-02-19 17:42:50 -03:00
Tim Allclair f65f808fb2 Mark PSP deprecated in the docs 2021-02-16 16:39:43 -08:00
Kubernetes Prow Robot c24f62c16a
Merge pull request #26389 from kbhawkey/fixup-simply-usage
clean up use of word: simply
2021-02-09 02:02:40 -08:00
Kubernetes Prow Robot 539e524882
Merge pull request #26273 from Cweiping/feature/clairly_resource_quota_limit_for_PriorityClass
Clarify ResourceQuota limit for PriorityClass
2021-02-09 01:59:31 -08:00
Weiping Cai 188ccc220b
Clairly Resourcequota limit for PriorityClass
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2021-02-09 16:05:04 +08:00
Karen Bradshaw 3fd65482e8 clean up use of word: simply 2021-02-07 12:15:29 -05:00
Kubernetes Prow Robot bdc79d96a3
Merge pull request #25344 from makocchi-git/fix/trim_space_psp
Trim whitespaces in manifests
2020-12-15 08:29:49 -08:00