From 1576c12e7069a325241c3f5b432d8f72b1d0cbb1 Mon Sep 17 00:00:00 2001 From: DrmagicE <379342542@qq.com> Date: Thu, 3 Jan 2019 05:21:36 +0800 Subject: [PATCH] Fix #11982 (#11983) * Update deployment.md * Update nginx-deployment.yaml --- content/en/docs/concepts/workloads/controllers/deployment.md | 4 ++-- content/en/examples/controllers/nginx-deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/workloads/controllers/deployment.md b/content/en/docs/concepts/workloads/controllers/deployment.md index 80c81863c4..484aae3683 100644 --- a/content/en/docs/concepts/workloads/controllers/deployment.md +++ b/content/en/docs/concepts/workloads/controllers/deployment.md @@ -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: diff --git a/content/en/examples/controllers/nginx-deployment.yaml b/content/en/examples/controllers/nginx-deployment.yaml index 5dd80da371..f7f95deebb 100644 --- a/content/en/examples/controllers/nginx-deployment.yaml +++ b/content/en/examples/controllers/nginx-deployment.yaml @@ -16,6 +16,6 @@ spec: spec: containers: - name: nginx - image: nginx:1.15.4 + image: nginx:1.7.9 ports: - containerPort: 80