Skip to content

Commit 3921cbe

Browse files
Merge pull request kubernetes#795 from bobrik/fix-quotes
Fix quotes in yaml
2 parents 63ac596 + c787d16 commit 3921cbe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/user-guide/configuring-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec: # specification of the pod's contents
2424
containers:
2525
- name: hello
2626
image: "ubuntu:14.04"
27-
command: ["/bin/echo","hello'?,'?world"]
27+
command: ["/bin/echo", "hello", "world"]
2828
```
2929
3030
The value of `metadata.name`, `hello-world`, will be the name of the pod resource created, and must be unique within the cluster, whereas `containers[0].name` is just a nickname for the container within that pod. `image` is the name of the Docker image, which Kubernetes expects to be able to pull from a registry, the [Docker Hub](https://registry.hub.docker.com/) by default.

docs/user-guide/rolling-updates.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
To update a service without an outage, `kubectl` supports what is called ['rolling update'](/docs/user-guide/kubectl/kubectl_rolling-update), which updates one pod at a time, rather than taking down the entire service at the same time. See the [rolling update design document](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/simple-rolling-update.md) and the [example of rolling update](/docs/user-guide/update-demo/) for more information.
1010

11-
Note that `kubectl rolling-update` only supports Replication Controllers. However, if you deploy applications with Replication Controllers,
12-
consider switching them to [Deployments](/docs/user-guide/deployments/). A Deployments is a higher-level controller that automates rolling updates
11+
Note that `kubectl rolling-update` only supports Replication Controllers. However, if you deploy applications with Replication Controllers,
12+
consider switching them to [Deployments](/docs/user-guide/deployments/). A Deployments is a higher-level controller that automates rolling updates
1313
of applications declaratively, and therefore is recommended. If you still want to keep your Replication Controllers and use `kubectl rolling-update`, keep reading:
1414

1515
A rolling update applies changes to the configuration of pods being managed by
@@ -73,7 +73,7 @@ The update will fail if `IMAGE:TAG` is identical to the
7373
current value. For this reason, we recommend the use of versioned tags as
7474
opposed to values such as `:latest`. Doing a rolling update from `image:latest`
7575
to a new `image:latest` will fail, even if the image at that tag has changed.
76-
Moreover, the use of `:latest` is not recommended, see
76+
Moreover, the use of `:latest` is not recommended, see
7777
[Best Practices for Configuration](/docs/user-guide/config-best-practices/#container-images) for more information.
7878

7979
### Examples
@@ -215,7 +215,7 @@ spec:
215215
containers:
216216
- name: nginx
217217
image: nginx:1.9.2
218-
args: [nginx”,”-T”]
218+
args: ["nginx", "-T"]
219219
ports:
220220
- containerPort: 80
221221
```

0 commit comments

Comments
 (0)