Fix quotes in yaml

This commit is contained in:
Ivan Babrou
2016-07-08 20:52:55 +01:00
parent 0934c1f71c
commit c787d16479
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ spec: # specification of the pod's contents
containers: containers:
- name: hello - name: hello
image: "ubuntu:14.04" image: "ubuntu:14.04"
command: ["/bin/echo","hello'?,'?world"] command: ["/bin/echo", "hello", "world"]
``` ```
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. 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.
+1 -1
View File
@@ -215,7 +215,7 @@ spec:
containers: containers:
- name: nginx - name: nginx
image: nginx:1.9.2 image: nginx:1.9.2
args: [nginx”,”-T”] args: ["nginx", "-T"]
ports: ports:
- containerPort: 80 - containerPort: 80
``` ```