Commit Graph

65 Commits (01cfb51bfed48d1bce79ff5c839d460c3f0acad8)

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
JenTing Hsiao a4a5b15ee7 Quota the variable
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-03-13 10:14:24 +08:00
kartik494 6abdc256ad Resource Quota behaviour on BestEffort Pod 2022-11-28 09:51:47 +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 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
Abdullah Gharaibeh ec2133bd1d Graduate PodAffinityNamespaceSelector to GA 2022-03-18 11:01:02 -04: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
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
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
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
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
Irvi Aini bb33373bb3
Merge branch 'master' into dev-1.20 2020-11-11 14:55:30 +01:00
Kubernetes Prow Robot 1db894c643
Merge pull request #24894 from tengqm/zh-sync-resource-quota
[zh] Sync changes to docs/concepts/policy/resource-quotas.md
2020-11-08 12:05:37 -08:00
Qiming Teng 4bf6c16cca [zh] Sync changes to docs/concepts/policy/resource-quotas.md
Also fixed a nit in English version.
2020-11-08 10:50:16 +08:00
Chris Bowzer 975cf8c261
Fix formatting issue in Compute Resource Quota documentation 2020-11-06 10:52:47 -08:00
eagleusb 45ec60bed5
Merge master into dev-1.20 to keep in sync 2020-10-22 17:44:02 +02:00
Qiming Teng a42b440589 Improve resource quota concepts
Fix some inaccurate and/or out-dated content in the resource quota
concept page.
2020-10-19 09:05:37 +08:00
Kubernetes Prow Robot 245f8b6170
Merge pull request #23929 from SergeyKanzhelev/pidlimiting
pid limiting documentation
2020-10-09 01:15:07 -07:00
Sergey Kanzhelev 7b7ed6bb10 documentation for pid limiting functionality 2020-09-17 17:00:28 +00:00
Kumar Kaushik acbaf2577a Limited resources in quota when scoped for priority class 2020-09-10 10:30:18 -07:00
Savitha Raghunathan 53c71ad3f9 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-08-03 16:09:39 -04:00
Qiming Teng c8f4704873 Fix links in concepts section (2) 2020-08-02 09:11:14 +08:00
TAKAHASHI Shuuji 36d9239fb1 Fix broken links to pages under /en/docs/tasks/administer-cluster/manage-resources/ 2020-08-01 17:45:36 +09:00
Savitha Raghunathan 7ddedb00a0 resolving conflicts 2020-06-17 17:11:24 -04:00
Weiping Cai cf3becadff
use kubectl create deployment to create deployment with --replicas and --port.
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-06-13 17:31:10 +08:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
iaoiui af50366896
Some docs incorrect v1.18 kubectl run command (#20784)
* use "kubectl create deploy" instead of "kubectl run"

* omit whitspace fix

* omit whitspace fix

* avoid shorthand
2020-05-08 19:27:52 -07:00
Jordan Liggitt ace502b542 Make feature-state tag usage consistent 2020-04-09 13:19:41 -04:00
Kubernetes Prow Robot 6635262bbc
Resource name constraints (4) (#19121)
xref: #17969, #19099, #18746
2020-03-05 11:28:38 -08:00
Andrew Allbright 470f932dd8
Latin Abbreviations "vs" Updated to "versus" (#19181)
* grep -lR ' vs ' ./content/en/docs | xargs sed -i '' -e 's/ vs / versus /g'

* Update content/en/docs/concepts/configuration/overview.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/concepts/policy/resource-quotas.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-02-19 00:14:25 -08:00
Damini Satya dff2f7b960 Official 1.17 Release Docs (#18011)
* feat: graduate TaintNodesByCondition to GA (#17073)

* Promote StartupProbe to beta (enabled by default). (#17164)

* Watch bookmarks to GA (#17026)

* feat: graduate ScheduleDaemonSetPods to GA (#17350)

* Update Docker installation instructions (#17405)

* Use exact version numbers for installing Docker in Ubuntu (#17428)

* Move CSIMigration and CSIMigrationGCE to Beta in Kubernetes v1.17 (#17478)

* Promote NodeLease feature to GA (#17189)

* Update docs for csi topology ga (#17408)

* Update RunAsUsername to beta (#17460)

* doc:Update RunAsUsername to beta

* doc: update samples - kubernetes.io/os is no longer beta

* Updating based on review feedback

* Promote Node-specific volume limits to GA (#17432)

* Promote PodShareProcessNamespace to stable (#17192)

* Promote PodShareProcessNamespace to stable

* Add for_k8s_version to feature-state label

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Readd version-check to shareProcessNamespace task

* Update service load balancer finalizer doc for GA (#17438)

* Update Topology Manager docs (#17451)

* Added information on how device plugins can take advantage
of Topology Manager
* Updated the Topology Manager documentation to include additionalinformation and update some out of date sections

* Fix broken Topology Manager link (#17746)

Part of What's Next Device Plugin section

* Update CRD defaulting docs for GA (#17450)

* Add documentation for VolumeSnapshot Beta (#17233)

* Updating EndpointSlice documentation for beta release in 1.17 (#17411)

* (docs/dualstack): v1.17 updates (#17457)

* Add placehold doc updates for dualstack in 1.17

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add Downward API and /etc/hosts Pod IP validation

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* remove addressed known issue via k/k pr 85246

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Remove known issue and add flag as part of k/k 79993

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* remove follow up placeholders

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update verbiage

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Make IP addressing consistent throughout the task

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update to status.podIPs

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update content/en/docs/tasks/network/validate-dual-stack.md

Use set instead of env

Co-Authored-By: Khaled Henidak (Kal) <khnidk@outlook.com>

* add topology.kubernetes.io/zone, topology.kubernetes.io/region and node.kubernetes.io/instance-type labels to docs (#17498)

Signed-off-by: Andrew Sy Kim <kiman@vmware.com>

* Service topology alpha documentation (#17459)

* Update list of feature flags for in-tree plugins migrated to CSI (#17533)

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Update Node concept for TaintNodesByCondition going GA (#17577)

* feat: graduate ResourceQuotaScopeSelectors to GA in 1.17 (#17554)

* kubeadm: update the upgrade documentation for 1.17 (#17587)

* doc: Simplify Windows deployments with RuntimeClass (#16697)

* doc: Simplify Windows deployments with RuntimeClass

* Updating on review feedback

* doc: Adding windows-build label from enhancement 1301

* update doc for kubelet option --reserved-cpus (#17648)

* feat: update TaintNodesByCondition in feature gates table (#17377)

* Update docs for v1 resource quota configuration (#17547)

* AdmissionConfiguration v1 (#17548)

* Update WebhookAdmissionConfiguration examples (#17549)

* Update AWS EBS Migration Feature state (#16126)

* Add resource version section to api-concepts documentation (#16910)

* Add Resource Version semantics section to api concepts

* Clarify risks of going back in time, add details about compaction and watch cache sizes

* Apply suggestions from liggitt

Co-Authored-By: Jordan Liggitt <jordan@liggitt.net>

* remove pesudocode, apply feedback

* Fix typo

* Clarify equality rules

* Cleanup kubectl generators docs (#17609)

* Write ReplicationController without a space

* Drop mentioning unsupported cluster versions

* Fix capitalization for “API group”

* Tweak wording

* Avoid using deprecated generator in example

* add Antrea description in dev-1.17 (#17919)

* Promote VolumeSubpathEnvExpansion to GA

* Reference Documentation for the Kubernetes API for 1.17 (#18019)

* Update feature-gates.md (#18033)

* Reference Documentation for kubectl Commands for 1.17 (#18017)

* Update for v1.17 (#18034)

* Update config.toml(release-1.17) for 1.17 (#18031)
2019-12-09 16:11:29 -08:00
Tanveer Alam 45c0769b54 Pods count should be part of object-count's spec. (#16859)
Pods count was added in compute-resources spec which should be in objects-count spec as we're passing count of pods in the definition.
2019-10-14 15:45:50 -07:00
Ismail Alidzhikov 34c22e6c75 Change Windows line-endings to Unix (#15195)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-08-27 07:34:43 -07:00
Barnabas Makonda 455f312775
Merge branch 'master' into dev-1.15 2019-06-19 23:19:27 +03:00
Supriya Sirbi 01bd547d3e Issue #14768- update Resource-quotas.md (#14963)
Remove "cpu" and "memory" description since they are no longer used
2019-06-19 12:14:31 -07:00
MAKOSCAFEE 8781518d32 update with master content resolving merge conflicts 2019-06-19 19:10:18 +03:00
Jordan Liggitt fc86f8fef9 Add custom resource quota example (#14492) 2019-06-10 12:25:10 -07:00
RaviSantosh Gudimetla d80e7f66c5 Remove enable resource quota note (#13732)
* Remove enable resource quota note

As of now, `ResourceQuotaScopeSelectors` is enabled by default, since it's in beta. So, let's remove it.

* Update resource-quotas.md
2019-04-09 18:12:12 -07:00
Shashank Patel 432d298753 fix typo resource quota page (#13712)
Associated with #13710
2019-04-09 09:12:01 -07:00
Steven E. Harris ef3c9ec370 Correct ResourceQuota PriorityClass config example (#12055)
The LimitedResource type has the field "MatchScopes" as a sibling to
the field "Resource," but the YAML document in the example showed the
"MatchScopes" field as a child of the top-level Configuration
type. Correct the example to match the actual schema.

While we're here, swap the order of the "scopeName" and "operator"
fields used in the YAML, to make it clearer in infix style that the
operator binds the scope name to a (possibly empty) set of values.
2019-01-08 04:21:44 -08:00
Will Beason 2c3438919c Fix ResourceQuota doc (#11016)
We don't support multiple ResourceQuota definitions in the same namespace.
2018-11-16 10:25:57 -08:00
Luc Perkins d65e1790ff Add admonition type to shortcode (#9482)
* Change existing admon blocks

* Fix includes issue
2018-11-06 11:33:04 -08:00
MengZeLee 04163e9a7c removing toc shortcode. (#10720) 2018-10-25 11:02:31 -07:00