Replace v1.7 with {{page.version}}. (#5691)
This commit is contained in:
@@ -9,7 +9,7 @@ This page shows how to configure quotas for API objects, including
|
|||||||
PersistentVolumeClaims and Services. A quota restricts the number of
|
PersistentVolumeClaims and Services. A quota restricts the number of
|
||||||
objects, of a particular type, that can be created in a namespace.
|
objects, of a particular type, that can be created in a namespace.
|
||||||
You specify quotas in a
|
You specify quotas in a
|
||||||
[ResourceQuota](/docs/api-reference/v1.7/#resourcequota-v1-core)
|
[ResourceQuota](/docs/api-reference/{{page.version}}/#resourcequota-v1-core)
|
||||||
object.
|
object.
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
@@ -53,7 +53,7 @@ kubectl get resourcequota object-quota-demo --namespace=quota-object-example --o
|
|||||||
|
|
||||||
The output shows that in the quota-object-example namespace, there can be at most
|
The output shows that in the quota-object-example namespace, there can be at most
|
||||||
one PersistentVolumeClaim, at most two Services of type LoadBalancer, and no Services
|
one PersistentVolumeClaim, at most two Services of type LoadBalancer, and no Services
|
||||||
of type NodePort.
|
of type NodePort.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
status:
|
status:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ title: Configure Memory and CPU Quotas for a Namespace
|
|||||||
|
|
||||||
This page shows how to set quotas for the total amount memory and CPU that
|
This page shows how to set quotas for the total amount memory and CPU that
|
||||||
can be used by all Containers running in a namespace. You specify quotas in a
|
can be used by all Containers running in a namespace. You specify quotas in a
|
||||||
[ResourceQuota](/docs/api-reference/v1.7/#resourcequota-v1-core)
|
[ResourceQuota](/docs/api-reference/{{page.version}}/#resourcequota-v1-core)
|
||||||
object.
|
object.
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ title: Configure a Pod Quota for a Namespace
|
|||||||
|
|
||||||
This page shows how to set a quota for the total number of Pods that can run
|
This page shows how to set a quota for the total number of Pods that can run
|
||||||
in a namespace. You specify quotas in a
|
in a namespace. You specify quotas in a
|
||||||
[ResourceQuota](/docs/api-reference/v1.7/#resourcequota-v1-core)
|
[ResourceQuota](/docs/api-reference/{{page.version}}/#resourcequota-v1-core)
|
||||||
object.
|
object.
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ could use all of the CPU resources available on the Node where it is running.
|
|||||||
|
|
||||||
* The Container is running in a namespace that has a default CPU limit, and the
|
* The Container is running in a namespace that has a default CPU limit, and the
|
||||||
Container is automatically assigned the default limit. Cluster administrators can use a
|
Container is automatically assigned the default limit. Cluster administrators can use a
|
||||||
[LimitRange](https://kubernetes.io/docs/api-reference/v1.7/#limitrange-v1-core/)
|
[LimitRange](https://kubernetes.io/docs/api-reference/{{page.version}}/#limitrange-v1-core/)
|
||||||
to specify a default value for the CPU limit.
|
to specify a default value for the CPU limit.
|
||||||
|
|
||||||
## Motivation for CPU requests and limits
|
## Motivation for CPU requests and limits
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ could use all of the memory available on the Node where it is running.
|
|||||||
|
|
||||||
* The Container is running in a namespace that has a default memory limit, and the
|
* The Container is running in a namespace that has a default memory limit, and the
|
||||||
Container is automatically assigned the default limit. Cluster administrators can use a
|
Container is automatically assigned the default limit. Cluster administrators can use a
|
||||||
[LimitRange](https://kubernetes.io/docs/api-reference/v1.7/#limitrange-v1-core)
|
[LimitRange](https://kubernetes.io/docs/api-reference/{{page.version}}/#limitrange-v1-core)
|
||||||
to specify a default value for the memory limit.
|
to specify a default value for the memory limit.
|
||||||
|
|
||||||
## Motivation for memory requests and limits
|
## Motivation for memory requests and limits
|
||||||
|
|||||||
Reference in New Issue
Block a user