* Update deployment.md

* Update nginx-deployment.yaml
pull/12026/head
DrmagicE 2019-01-03 05:21:36 +08:00 committed by Kubernetes Prow Robot
parent 578b006360
commit 1576c12e70
2 changed files with 3 additions and 3 deletions

View File

@ -66,9 +66,9 @@ In this example:
* The Pods are labeled `app: nginx`using the `labels` field.
* The Pod template's specification, or `.template.spec` field, indicates that
the Pods run one container, `nginx`, which runs the `nginx`
[Docker Hub](https://hub.docker.com/) image at version 1.15.4.
[Docker Hub](https://hub.docker.com/) image at version 1.7.9.
* Create one container and name it `nginx` using the `name` field.
* Run the `nginx` image at version `1.15.4`.
* Run the `nginx` image at version `1.7.9`.
* Open port `80` so that the container can send and accept traffic.
To create this Deployment, run the following command:

View File

@ -16,6 +16,6 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.15.4
image: nginx:1.7.9
ports:
- containerPort: 80