Skip to content

Commit 4de5552

Browse files
Update _index.md
1 parent 580c643 commit 4de5552

File tree

1 file changed

+16
-3
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+16
-3
lines changed

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,19 @@ to the name of the namespace. You can't change this label's value.
114114
This is useful if you want to target a specific namespace with a label
115115
{{< glossary_tooltip text="selector" term_id="selector" >}}.
116116

117+
### kubernetes.io/limit-ranger
118+
119+
Example: `kubernetes.io/limit-ranger: LimitRanger plugin set: cpu, memory request for container nginx; cpu, memory limit for container nginx`
120+
121+
Used on: Namespace
122+
123+
Kubernetes by default doesn't provide any resource limit, that means unless you explicitly define limits,
124+
your container can consume unlimited CPU and memory.
125+
We can define default limit for pods by creating a LimitRange in the relevant namespace.
126+
Pods deployed after this LimitRange will have these limits applied to them.
127+
The annotation `limit-ranger` indicates that limits were requested for the pod and they were applied successfully.
128+
For more details - [LimitRange](/docs/concepts/policy/limit-range)
129+
117130
### beta.kubernetes.io/arch (deprecated)
118131

119132
This label has been deprecated. Please use `kubernetes.io/arch` instead.
@@ -511,9 +524,9 @@ The kubelet checks D-value of the size of `/proc/sys/kernel/pid_max` and the PID
511524

512525
Example: `node.kubernetes.io/out-of-service:NoExecute`
513526

514-
A user can manually add the taint to a Node marking it out-of-service. If the `NodeOutOfServiceVolumeDetach`
527+
A user can manually add the taint to a Node marking it out-of-service. If the `NodeOutOfServiceVolumeDetach`
515528
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled on
516-
`kube-controller-manager`, and a Node is marked out-of-service with this taint, the pods on the node will be forcefully deleted if there are no matching tolerations on it and volume detach operations for the pods terminating on the node will happen immediately. This allows the Pods on the out-of-service node to recover quickly on a different node.
529+
`kube-controller-manager`, and a Node is marked out-of-service with this taint, the pods on the node will be forcefully deleted if there are no matching tolerations on it and volume detach operations for the pods terminating on the node will happen immediately. This allows the Pods on the out-of-service node to recover quickly on a different node.
517530

518531
{{< caution >}}
519532
Refer to
@@ -645,7 +658,7 @@ This determines whether a user can modify the mode of the source volume when a
645658
{{< glossary_tooltip text="PersistentVolumeClaim" term_id="persistent-volume-claim" >}} is being
646659
created from a VolumeSnapshot.
647660

648-
Refer to [Converting the volume mode of a Snapshot](/docs/concepts/storage/volume-snapshots/#convert-volume-mode)
661+
Refer to [Converting the volume mode of a Snapshot](/docs/concepts/storage/volume-snapshots/#convert-volume-mode)
649662
and the [Kubernetes CSI Developer Documentation](https://kubernetes-csi.github.io/docs/) for more information.
650663

651664
## Annotations used for audit

0 commit comments

Comments
 (0)