Update dns-horizontal-autoscaling.md (#13119)
* Update dns-horizontal-autoscaling.md * Update dns-horizontal-autoscaling.md * Update dns-horizontal-autoscaling.md
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
2ba6267ba4
commit
cc48719493
@@ -48,7 +48,7 @@ Kubernetes cluster.
|
|||||||
<!--
|
<!--
|
||||||
List the Deployments in your cluster in the kube-system namespace:
|
List the Deployments in your cluster in the kube-system namespace:
|
||||||
-->
|
-->
|
||||||
在 kube-system 命名空间中列出集群中的部署:
|
列出集群中命名空间 kube-system 下的 Deployment:
|
||||||
|
|
||||||
kubectl get deployment --namespace=kube-system
|
kubectl get deployment --namespace=kube-system
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ already enabled, and you can skip to
|
|||||||
<!--
|
<!--
|
||||||
List the Deployments in your cluster in the kube-system namespace:
|
List the Deployments in your cluster in the kube-system namespace:
|
||||||
-->
|
-->
|
||||||
在 kube-system 命名空间中列出集群中的部署:
|
列出集群中命名空间 kube-system 下的 Deployment:
|
||||||
|
|
||||||
kubectl get deployment --namespace=kube-system
|
kubectl get deployment --namespace=kube-system
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ The output is similar to this:
|
|||||||
In Kubernetes versions earlier than 1.12, the DNS Deployment was called "kube-dns".
|
In Kubernetes versions earlier than 1.12, the DNS Deployment was called "kube-dns".
|
||||||
-->
|
-->
|
||||||
|
|
||||||
在早于 1.12 的 Kubernetes 版本中,DNS 部署称之为 `kube-dns`。
|
在早于 1.12 的 Kubernetes 版本中,DNS Deployment 称之为 `kube-dns`。
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
In Kubernetes versions earlier than 1.5 DNS was implemented using a
|
In Kubernetes versions earlier than 1.5 DNS was implemented using a
|
||||||
@@ -196,7 +196,7 @@ Go to the directory that contains your configuration file, and enter this
|
|||||||
command to create the Deployment:
|
command to create the Deployment:
|
||||||
-->
|
-->
|
||||||
|
|
||||||
转至包含配置文件的目录,然后输入以下命令以创建部署:
|
转至包含配置文件的目录,然后输入以下命令以创建 Deployment:
|
||||||
|
|
||||||
kubectl create -f dns-horizontal-autoscaler.yaml
|
kubectl create -f dns-horizontal-autoscaler.yaml
|
||||||
|
|
||||||
@@ -305,7 +305,7 @@ use depends on different conditions.
|
|||||||
### Option 1: Scale down the dns-autoscaler deployment to 0 replicas
|
### Option 1: Scale down the dns-autoscaler deployment to 0 replicas
|
||||||
-->
|
-->
|
||||||
|
|
||||||
### 选项 1:将 dns-autoscaler 部署降低到 0 个副本
|
### 选项 1:将 dns-autoscaler deployment 降低到 0 个副本
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This option works for all situations. Enter this command:
|
This option works for all situations. Enter this command:
|
||||||
@@ -346,7 +346,7 @@ The output displays 0 in the DESIRED and CURRENT columns:
|
|||||||
### Option 2: Delete the dns-autoscaler deployment
|
### Option 2: Delete the dns-autoscaler deployment
|
||||||
-->
|
-->
|
||||||
|
|
||||||
### 选项 2:删除 dns-autoscaler 部署
|
### 选项 2:删除 dns-autoscaler deployment
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This option works if dns-autoscaler is under your own control, which means
|
This option works if dns-autoscaler is under your own control, which means
|
||||||
|
|||||||
Reference in New Issue
Block a user