Skip to content

Commit 1f9ea55

Browse files
Update _index.md
1 parent 4de5552 commit 1f9ea55

File tree

1 file changed

+7
-6
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,17 @@ This is useful if you want to target a specific namespace with a label
116116

117117
### kubernetes.io/limit-ranger
118118

119-
Example: `kubernetes.io/limit-ranger: LimitRanger plugin set: cpu, memory request for container nginx; cpu, memory limit for container nginx`
119+
Example: `kubernetes.io/limit-ranger: "LimitRanger plugin set: cpu, memory request for container nginx; cpu, memory limit for container nginx"`
120120

121-
Used on: Namespace
121+
Used on: Pod
122122

123123
Kubernetes by default doesn't provide any resource limit, that means unless you explicitly define limits,
124124
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)
125+
You can define a default request or default limit for pods. You do this by creating a LimitRange in the relevant namespace.
126+
Pods deployed after you define a LimitRange will have these limits applied to them.
127+
The annotation `kubernetes.io/limit-ranger` records that resource defaults were specified for the Pod,
128+
and they were applied successfully.
129+
For more details, read about [LimitRanges](/docs/concepts/policy/limit-range).
129130

130131
### beta.kubernetes.io/arch (deprecated)
131132

0 commit comments

Comments
 (0)