fix typo
This commit is contained in:
chenhuan12
2017-08-24 19:52:20 +08:00
committed by Andrew Chen
parent f6e51e6611
commit 082b5d0403
@@ -72,7 +72,7 @@ kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_
Print the live configuration using `kubectl get`: Print the live configuration using `kubectl get`:
```shell ```shell
kubectl get -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml kubectl get -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml
``` ```
The output shows that the `kubectl.kubernetes.io/last-applied-configuration` annotation The output shows that the `kubectl.kubernetes.io/last-applied-configuration` annotation
@@ -143,7 +143,7 @@ configuration file instead of a directory.
Print the live configuration using `kubectl get`: Print the live configuration using `kubectl get`:
```shell ```shell
kubectl get -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml kubectl get -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml
``` ```
The output shows that the `kubectl.kubernetes.io/last-applied-configuration` annotation The output shows that the `kubectl.kubernetes.io/last-applied-configuration` annotation
@@ -194,7 +194,7 @@ kubectl scale deployment/nginx-deployment --replicas 2
Print the live configuration using `kubectl get`: Print the live configuration using `kubectl get`:
```shell ```shell
kubectl get -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml kubectl get -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml
``` ```
The output shows that the `replicas` field has been set to 2, and the `last-applied-configuration` The output shows that the `replicas` field has been set to 2, and the `last-applied-configuration`
@@ -248,7 +248,7 @@ kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/update_
Print the live configuration using `kubectl get`: Print the live configuration using `kubectl get`:
``` ```
kubectl get -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml kubectl get -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml
``` ```
The output shows the following changes to the live configuration: The output shows the following changes to the live configuration:
@@ -679,7 +679,7 @@ kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_
Print the live configuration using `kubectl get`: Print the live configuration using `kubectl get`:
```shell ```shell
kubectl get -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml kubectl get -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml -o yaml
``` ```
The output shows that the API server set several fields to default values in the live The output shows that the API server set several fields to default values in the live