From ec7c72f4fba6e307f2c76d39f36bc8f84f432eab Mon Sep 17 00:00:00 2001 From: Luzhenxing Date: Wed, 6 Nov 2019 02:50:40 +0800 Subject: [PATCH] remove duplicate yaml (#17431) --- .../workloads/pods/init-containers.md | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/content/en/docs/concepts/workloads/pods/init-containers.md b/content/en/docs/concepts/workloads/pods/init-containers.md index dcea5c17cf..01f24f868e 100644 --- a/content/en/docs/concepts/workloads/pods/init-containers.md +++ b/content/en/docs/concepts/workloads/pods/init-containers.md @@ -126,31 +126,6 @@ spec: command: ['sh', '-c', 'until nslookup mydb; do echo waiting for mydb; sleep 2; done;'] ``` - -The following YAML file outlines the `mydb` and `myservice` services: - -```yaml -apiVersion: v1 -kind: Service -metadata: - name: myservice -spec: - ports: - - protocol: TCP - port: 80 - targetPort: 9376 ---- -apiVersion: v1 -kind: Service -metadata: - name: mydb -spec: - ports: - - protocol: TCP - port: 80 - targetPort: 9377 -``` - You can start this Pod by running: ```shell