[zh] resync tasks files (task-2)
parent
4b04e8ffdc
commit
71a03ba85d
|
@ -39,7 +39,8 @@ It does not mean that there is a file named `kubeconfig`.
|
|||
|
||||
<!--
|
||||
{{< warning >}}
|
||||
Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure.
|
||||
Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig
|
||||
file could result in malicious code execution or file exposure.
|
||||
If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.
|
||||
{{< /warning>}}
|
||||
-->
|
||||
|
@ -396,7 +397,7 @@ For example:
|
|||
### Linux
|
||||
|
||||
```shell
|
||||
export KUBECONFIG_SAVED=$KUBECONFIG
|
||||
export KUBECONFIG_SAVED="$KUBECONFIG"
|
||||
```
|
||||
|
||||
### Windows PowerShell
|
||||
|
@ -422,7 +423,7 @@ Temporarily append two paths to your `KUBECONFIG` environment variable. For exam
|
|||
### Linux
|
||||
|
||||
```shell
|
||||
export KUBECONFIG=$KUBECONFIG:config-demo:config-demo-2
|
||||
export KUBECONFIG="${KUBECONFIG}:config-demo:config-demo-2"
|
||||
```
|
||||
|
||||
### Windows PowerShell
|
||||
|
@ -516,7 +517,7 @@ For example:
|
|||
### Linux
|
||||
|
||||
```shell
|
||||
export KUBECONFIG=$KUBECONFIG:$HOME/.kube/config
|
||||
export KUBECONFIG="${KUBECONFIG}:$HOME/.kube/config"
|
||||
```
|
||||
|
||||
### Windows Powershell
|
||||
|
@ -547,7 +548,7 @@ Return your `KUBECONFIG` environment variable to its original value. For example
|
|||
### Linux
|
||||
|
||||
```shell
|
||||
export KUBECONFIG=$KUBECONFIG_SAVED
|
||||
export KUBECONFIG="$KUBECONFIG_SAVED"
|
||||
```
|
||||
|
||||
### Windows PowerShell
|
||||
|
|
|
@ -20,7 +20,6 @@ card:
|
|||
Many applications rely on configuration which is used during either application initialization or runtime.
|
||||
Most of the times there is a requirement to adjust values assigned to configuration parameters.
|
||||
ConfigMaps is the kubernetes way to inject application pods with configuration data.
|
||||
|
||||
ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable. This page provides a series of usage examples demonstrating how to create ConfigMaps and configure Pods using data stored in ConfigMaps.
|
||||
-->
|
||||
很多应用在其初始化或运行期间要依赖一些配置信息。大多数时候,
|
||||
|
|
|
@ -29,7 +29,7 @@ in a Kubernetes Pod.
|
|||
When you create a Pod, you can set dependent environment variables for the containers that run in the Pod. To set dependent environment variables, you can use $(VAR_NAME) in the `value` of `env` in the configuration file.
|
||||
|
||||
In this exercise, you create a Pod that runs one container. The configuration
|
||||
file for the Pod defines an dependent environment variable with common usage defined. Here is the configuration manifest for the
|
||||
file for the Pod defines a dependent environment variable with common usage defined. Here is the configuration manifest for the
|
||||
Pod:
|
||||
-->
|
||||
## 为容器定义相互依赖的环境变量 {#define-an-environment-dependent-variable-for-a-container}
|
||||
|
|
|
@ -717,7 +717,7 @@ scaling in that direction.
|
|||
### Stabilization Window
|
||||
|
||||
The stabilization window is used to restrict the [flapping](#flapping) of
|
||||
replicas count when the metrics used for scaling keep fluctuating. The autoscaling algorithm
|
||||
replica count when the metrics used for scaling keep fluctuating. The autoscaling algorithm
|
||||
uses this window to infer a previous desired state and avoid unwanted changes to workload
|
||||
scale.
|
||||
|
||||
|
|
Loading…
Reference in New Issue