Fix quotes in yaml
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user