Permalink
Browse files

Fix #11982 (#11983)

* Update deployment.md

* Update nginx-deployment.yaml
  • Loading branch information...
DrmagicE authored and k8s-ci-robot committed Jan 2, 2019
1 parent 578b006 commit 1576c12e7069a325241c3f5b432d8f72b1d0cbb1
@@ -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:
@@ -16,6 +16,6 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.15.4
image: nginx:1.7.9
ports:
- containerPort: 80

0 comments on commit 1576c12

Please sign in to comment.