Commit Graph

167 Commits

Author SHA1 Message Date
Qiming Teng 0de5b70e51 Refactor the label-annotation-taints page
The page is currently a mixture of labels, annotations and taints.
The line wrappings are terrible. This PR attempts to refactor the page
against the style guide.
2023-06-08 19:03:05 +08:00
Kubernetes Prow Robot ab289ff1a8
Merge pull request #40462 from Ritikaa96/annotation-nfd
Document node discovery annotations
2023-06-02 06:06:55 -07:00
Kubernetes Prow Robot f3552a9c05
Merge pull request #40636 from T-Lakshmi/doc-lable-annotation
Revise details for control plane taints / labels
2023-05-24 01:08:50 -07:00
Kubernetes Prow Robot 5a9e31e8ad
Merge pull request #40403 from Ritikaa96/annotation-scheduler-tolerationWhitelist
Document annotation scheduler.alpha.kubernetes.io/tolerationsWhitelist
2023-05-23 07:26:27 -07:00
Ritikaa96 9458ee79df Documenting node discover annotations
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
2023-05-23 17:13:36 +05:30
Marcelo Giles 3bcd9ef6d7
Add addonmanager.kubernetes.io label documentation 2023-05-19 18:38:31 -07:00
lakshmi dafde67176 applied review suggestions 2023-05-18 16:16:39 +05:30
lakshmi 3e343682a9 Revise details for control plane taints/labels 2023-05-10 14:50:34 +05:30
Paul Sanford 53ca344721
Fix references to exclude-from-external-load-balancer (add s)
The annotation is "node.kubernetes.io/exclude-from-external-load-balancers," but the docs refer to it twice as "node.kubernetes.io/exclude-from-external-load-balancer" (without the s at the end). This change fixes those references.
2023-04-17 16:52:42 -06:00
lakshmi 4b928e3392 updated labels node-role.kubernetes.io/control-plane and node-role.kubernetes.io/master. 2023-04-14 13:19:36 +05:30
Mickey Boxell 31439e3d56 Merge branch 'upstream/main' into dev-1.27 2023-04-05 14:20:36 -05:00
Katrina Verey 8c906eaab2
Add docs for ApplySet-based pruning in kubectl apply (#39818)
* Documentation for ApplySet-based pruning (KEP3659)

* Apply suggestions from code review

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

* Add ApplySet labels and annotations to well-known list

* Minor fixups

* Address feedback on label/annotation listing

* Apply suggestions from code review

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

* fix label vs annotation copy-paste errors

* Update prefix to kubernetes.io

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-04-04 05:23:53 -07:00
Joe Betz cf37b594f2
KEP-3488 ValidatingAdmissionPolicy: Enforcement actions, audit annotations, and secondary authz (#40098)
* Document auditAnnotations, validationActions and authorizer

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: Tim Allclair <timallclair@gmail.com>

* Apply feedback

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Allclair <timallclair@gmail.com>
2023-04-03 08:55:52 -07:00
Kubernetes Prow Robot 94b30e7c24
Merge pull request #39456 from kannon92/job-labels-off-dev-1-27
labels and job updates to mention new labels
2023-04-01 05:01:49 -07:00
Ritikaa96 0eb3f3b936 Annotation scheduler.alpha.kubernetes.io/tolerationsWhitelist Registered/Dcoumented 2023-03-31 18:42:57 +05:30
Kevin Hannon 7b6e694dc7 labels and job updates to mention new labels 2023-03-30 08:46:35 -04:00
Kubernetes Prow Robot 72f5bf1185
Merge pull request #40332 from pacoxu/patch-15
update kubernetes.io/os description as it can also be used in pod labels
2023-03-30 01:15:50 -07:00
Mickey Boxell a15fa4ae31 Merge remote-tracking branch 'upstream/main' into dev-1.27 2023-03-29 15:54:33 -05:00
Paco Xu 24586e49e7 add tips for pod os label: use runtime.GOOS 2023-03-28 15:48:44 +08:00
Paco Xu 3527ccd558 update `kubernetes.io/os` description as it can also be used in pod labels 2023-03-28 10:36:02 +08:00
Mickey Boxell 79fd7f88d6 Merge remote-tracking branch 'upstream/main' into dev-1.27 2023-03-20 21:58:19 -05:00
Katrina Verey dc203c13e6
Apply feedback 2023-03-20 15:53:23 -04:00
Katrina Verey 61b721d048
Apply suggestions from code review
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-03-20 15:12:11 -04:00
Katrina Verey b9700f0045
Add annotations reserved by the KRM Functions Specification 2023-03-17 16:21:05 -04:00
Paco Xu 6ee697735d add kubectl.kubernetes.io/default-logs-container deprecated information
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-03-10 17:35:44 +08:00
Mickey Boxell 987edf7ef0 Merge remote-tracking branch 'upstream/main' into dev-1.27 2023-03-06 19:22:46 -06:00
Dipesh Rawat 2714d3455f
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-02-28 14:40:09 +00:00
Dipesh Rawat 9c86598eb1
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-02-28 14:39:59 +00:00
Dipesh Rawat ff72b666e9
Add volume.beta.kubernetes.io/storage-class annotation
Signed-off-by: Dipesh Rawat <Dipesh.rawat@ibm.com>
2023-02-28 11:50:35 +00:00
Dipesh Rawat c2d4ca7b19
Add volume.beta.kubernetes.io/storage-class annotation
Signed-off-by: Dipesh Rawat <Dipesh.rawat@ibm.com>
2023-02-27 23:36:18 +00:00
Kubernetes Prow Robot 3a7fab6118
Merge pull request #39630 from reylejano/merged-main-dev-1.27
Merged main into dev-1.27 branch
2023-02-24 04:55:38 -08:00
Kubernetes Prow Robot 11440eaf84
Merge pull request #36162 from mk46/autoupdate
Register and document rbac.authorization.kubernetes.io/autoupdate annotation
2023-02-22 07:51:57 -08:00
Manish Kumar 7b08c16746 Fix comments. 2023-02-22 18:18:35 +05:30
Raunak Pradip Shah 9ab8cd6c0b Update volume mode change annotation in documentation 2023-02-09 11:25:13 +05:30
Kartik Sharma 1672e3ac99
Register service.alpha.kubernetes.io/tolerate-unready-endpoints Ann… (#39122)
* Registered service.alpha.kubernetes.io/tolerate-unready-endpoints Annotation

* Update content/en/docs/reference/labels-annotations-taints/_index.md

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

* Update content/en/docs/reference/labels-annotations-taints/_index.md

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

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-01-28 10:18:33 -08:00
Sascha Grunert c1bf88e71e
Update seccomp docs for v1.27
seccomp annotation will become non-functional in v1.27, which will be
now reflected in the documentation as well.

Ref: https://github.com/kubernetes/kubernetes/pull/114947

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-01-18 14:28:07 +01:00
Afzal Ansari 3911e15a3c
Document volume.kubernetes.io/selected-node annotation (#36399)
* Documented annotation for pv.kubernetes.io/bind-completed

Signed-off-by: afzal442 <afzal442@gmail.com>

* Documented annotation for `volume.kubernetes.io/selected-node`

Signed-off-by: afzal442 <afzal442@gmail.com>

Signed-off-by: afzal442 <afzal442@gmail.com>
2023-01-17 10:20:33 -08:00
Ritikaa96 a30ff6cf27 Adding pv.kubernetes.io annotations in labels-annotations-taints 2023-01-13 16:32:00 +05:30
Manish Kumar 001249edfd Register and document RBAC autoupdate
Update content/en/docs/reference/labels-annotations-taints/_index.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-01-03 15:22:27 +00:00
Kubernetes Prow Robot 4150bc7ff9
Merge pull request #37145 from Kartik494/controllermanaged
Register and document volumes.kubernetes.io/controller-managed-attach-detach annotation
2023-01-03 06:45:32 -08:00
Kubernetes Prow Robot 702568acfc
Merge pull request #38161 from Ritikaa96/kube-aggregator-annotation
adding annotation for kube-aggregator automanaged in labels-md
2023-01-03 01:51:31 -08:00
Kubernetes Prow Robot 6be02b27fc
Merge pull request #38272 from chiukapoor/critical-pod-annotation
Add scheduler.alpha.kubernetes.io/critical-pod annotation
2022-12-22 05:27:28 -08:00
Ritikaa96 0f6cdedf54 adding annotation for kube-aggregator automanaged in labels-md 2022-12-14 09:49:43 +05:30
Chirayu Kapoor 7674d8cdf3
Add scheduler.alpha.kubernetes.io/critical-pod annotation
Signed-off-by: Chirayu Kapoor <dev.csociety@gmail.com>
2022-12-12 12:41:19 +05:30
carolina valencia 7cd85d1fc4 Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-12-07 11:40:37 -03:00
windsonsea 26c67e6288 Change a https// to https:// 2022-12-03 21:25:27 +08:00
Shihang Zhang 5f3614c564 update doc of KEP-2799 2022-11-28 13:15:05 -08:00
Kartik Sharma 68722949d0
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-11-28 16:08:46 +05:30
Kartik Sharma ad1d573c3a
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-11-28 16:08:12 +05:30
kartik494 04a9fb1678 Registered volumes.kubernetes.io/controller-managed-attach-detach annotation 2022-11-28 10:10:58 +05:30
Kubernetes Prow Robot b5aafaaac4
Merge pull request #37863 from krol3/merged-main-dev-1.26-02
Merge main branch into dev-1.26
2022-11-21 19:32:13 -08:00
Aldo Culquicondor b8fc810198
Graduate JobTrackingWithFinalizers to stable (#37764)
* Graduate JobTrackingWithFinalizers to stable

* JobTrackingWithFinalizers disabled in 1.23, 1.24
2022-11-18 01:58:31 -08:00
Ayushman dc714f7fb0
Added scheduler.alpha.kubernetes.io/node-selector annotation (#34477)
* Added scheduler.alpha.kubernetes.io/node-selector annotation

* Update content/en/docs/reference/labels-annotations-taints/_index.md

Co-authored-by: Rey Lejano <rlejano@gmail.com>

* changed pod to namespace

* added pods in

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2022-11-09 13:42:54 -08:00
Abigail McCarthy 98f310ab58 Updates page weights in reference docs section
Some of these pages are autogenerated, but not all. This PR updates the pages that are not autogenerated within the docs/en/reference section
2022-11-04 11:37:59 -04:00
Kubernetes Prow Robot a467d92671
Merge pull request #34939 from PriyanshuAhlawat/limitannotation
Add LimitRanger plugin to labels, taints and annotations
2022-10-30 17:10:45 -07:00
Tim Bannister 1eef742465
Favor EndpointSlice over Endpoints
Document EndpointSlice as the preferred and most appropriate mechanism
to record the backing endpoints of a Service.

Co-authored-by: Rob Scott <rob.scott87@gmail.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-10-11 12:38:39 +01:00
PriyanshuAhlawat 1f9ea5579b Update _index.md 2022-10-07 22:24:35 +05:30
Kubernetes Prow Robot 77490236ef
Merge pull request #37198 from sftim/20221007_reinstate_node_role_master_taint
Reinstate legacy taint for control plane nodes
2022-10-07 05:31:52 -07:00
Tim Bannister 36ee838abc
Reinstate legacy taint for control plane nodes
Similar to APIs, we don't delete legacy taints and labels from the page,
we leave them there and mark them as deprecated.

Reinstate taint node-role.kubernetes.io/master.
2022-10-07 13:04:03 +01:00
Kubernetes Prow Robot 9c3479be01
Merge pull request #34260 from Rishit-dagli/Rishit-dagli-defaultTolerations
Register and document scheduler.alpha.kubernetes.io/defaultTolerations annotation
2022-10-02 09:42:13 -07:00
Kubernetes Prow Robot 5c5b3f120c
Merge pull request #36811 from PriyanshuAhlawat/exclude_annotation
Update Label Annotations section
2022-09-30 06:52:29 -07:00
Jai Govindani 781c75e8e3
refactor: Descriptions on Well-Known Annotations/Labels/Taints 2022-09-20 21:51:42 +07:00
Priyanshu Ahlawat 63b9da1dc8
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Michelle Wu <35519562+Michelle951@users.noreply.github.com>
2022-09-15 11:55:54 +05:30
PriyanshuAhlawat 6083a1886f Update _index.md 2022-09-14 19:40:27 +05:30
Kubernetes Prow Robot b22651a7db
Merge pull request #35846 from mk46/safe-to-evict
Register and document cluster-autoscaler `safe-to-evict` annotation
2022-09-13 10:15:02 -07:00
Manish Kumar 098d3aa101 Registered and documented `safe-to-evict` annotation 2022-09-08 17:34:12 +05:30
NitishKumar06 15ea9dfd71 k8s.io added in well-known labels restriction -02 2022-09-05 19:49:01 +05:30
NitishKumar06 322b824ddd k8s.io added in well-known labels restriction 2022-09-05 19:25:21 +05:30
Kubernetes Prow Robot 73aaba9b4e
Merge pull request #35810 from yilmi/created-by-deprecated
Removing created-by label deprecated since 1.9
2022-09-02 06:36:05 -07:00
Yassine Ilmi bf29b18145
Apply suggestion from sftim review
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-09-02 15:02:18 +02:00
Rishit Dagli 8cc48b8111
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2022-08-23 21:20:29 +05:30
Yassine Ilmi e31d646d7c
Removing created-by label deprecated since 1.9 2022-08-22 19:21:57 +02:00
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03:00
Kubernetes Prow Robot b268418615
Merge pull request #33524 from saschagrunert/seccomp-annotation
Partly remove support for seccomp annotations
2022-08-15 19:15:07 -07:00
Shubham Kuchhal 9fe4a5e1f8 Added punctuation. 2022-08-13 14:08:13 +05:30
Shubham Kuchhal d555f3476e Corrected the document. 2022-08-12 16:17:38 +05:30
Shubham Kuchhal 6e7bcccf4f Added Documents for cluster-autoscaler.kubernetes.io/enable-ds-eviction annotation. 2022-08-12 13:51:01 +05:30
Kubernetes Prow Robot f6b1ad151c
Merge pull request #35610 from sftim/20220801_update_psp_docs
Update PodSecurityPolicy annotation details for v1.25
2022-08-06 02:36:17 -07:00
Kubernetes Prow Robot 60f69d7259
Merge pull request #35027 from nckturner/update-provided-node-ip
Update alpha.kubernetes.io/provided-node-ip
2022-08-03 22:11:47 -07:00
Sascha Grunert 45d0bdeaec
Partly remove support for seccomp annotations
From the release notes of
https://github.com/kubernetes/kubernetes/pull/109819, we have to update
according to the following situation:

```
Action required: support for the alpha seccomp annotations
`seccomp.security.alpha.kubernetes.io/pod` and
`container.seccomp.security.alpha.kubernetes.io`, deprecated since
v1.19, has been partially removed. Kubelets no longer support the
annotations, use of the annotations in static pods is no longer
supported, and the seccomp annotations are no longer auto-populated when
pods with seccomp fields are created. Auto-population of the seccomp
fields from the annotations is planned to be removed in 1.27. Pods
should use the corresponding pod or container
`securityContext.seccompProfile` field instead.
```

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-02 13:42:23 +02:00
Tim Bannister 2d03570219
Update PSP annotation for v1.25
Write about the kubernetes.io/psp annotation in the past tense.
2022-08-01 18:47:01 +01:00
carolina valencia d4fb248a84 Merge main into dev-1.25 to keep in sync
Merge remote-tracking branch 'upstream/main' into dev-1.25
2022-07-30 19:03:21 -03:00
Nick Turner 765fd75fd0 Update alpha.kubernetes.io/provided-node-ip
* The annotation is no longer set ONLY when --cloud-provider=external
* Now, it is set on kubelet startup if the --cloud-provider flag
  is set at all, including the deprecated in-tree values
  like `aws` and `gcp`.
2022-07-18 13:41:31 -07:00
PriyanshuAhlawat 4de555282b Update _index.md 2022-07-11 20:28:17 +05:30
Mahé 23eea7e122
Add more context in the annotation page
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-06-29 09:27:42 +02:00
Kubernetes Prow Robot 0d218fc6be
Merge pull request #34539 from didicodes/merged-main-dev-1.25
Merged main into dev-1.25
2022-06-28 14:05:34 -07:00
mtardy 60ee2c2d14 Add the documentation on the kubernetes.io/psp annotation 2022-06-28 21:11:59 +02:00
Jihoon Seo e7caadc564 Replace skew shortcode parameters 2022-06-17 16:17:01 +09:00
Kubernetes Prow Robot cbff0cfd4a
Merge pull request #32991 from jai/jai/fix-well-known-annotations-labels-taints-examples
fix: Well-Known Annotations/Labels/Taints examples
2022-06-16 22:58:32 -07:00
Rishit Dagli 7cb3dbed40 Add example 2022-06-13 16:10:54 +00:00
Rishit Dagli e58e5cca3d Document `defaultTolerations` 2022-06-13 16:10:47 +00:00
Lubomir I. Ivanov ed9ea9c4f2 kubeadm: apply changes around "master" taint for 1.25
The "master" taint is no longer applied on control plane
nodes by kubeadm 1.25.

Remove mentions of the taint from the documentation:
- implementation details
- create a kubeadm cluster
- known labels / taints
2022-05-19 22:13:09 +03:00
Manish Kumar e7300a151c
Register and document annotations on Secret that relate to ServiceAccount (#32005)
* Registered secret annotation

Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>

* Update content/en/docs/reference/labels-annotations-taints/_index.md

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

* Update content/en/docs/reference/labels-annotations-taints/_index.md

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

* Updated Secret type

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-05-17 07:40:27 -07:00
Jai Govindani 891014838e
fix: Add quotes on annotation boolean
Co-authored-by: divya-mohan0209 <divya.mohan0209@gmail.com>
2022-05-03 16:58:42 +07:00
Nate W 5ead53b3e8 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-05-02 10:29:49 -07:00
xin.li b831e96c6a [en] modify debug-cluster/audit
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-29 20:40:59 +08:00
SataQiu 279fbc658d Update content/en/docs/reference/labels-annotations-taints/audit-annotations.md
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2022-04-28 19:53:21 +08:00
Nate W 712f45dee4 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-26 13:11:13 -07:00
Kubernetes Prow Robot 212a936a53
Merge pull request #32673 from RaunakShah/3151-docs
Add docs for preventing volume mode conversion
2022-04-26 10:38:53 -07:00
Raunak Pradip Shah b656cd8d55 Some formatting changes 2022-04-22 15:31:49 +05:30