From a1174fde27c343158d1444e6d5641b101a8d8e77 Mon Sep 17 00:00:00 2001 From: chenhonggc Date: Fri, 13 Oct 2017 15:18:53 -0500 Subject: [PATCH] Delete redundant '\n' (#5906) * Delete redundant '\n' * The unified style --- docs/tasks/configure-pod-container/lifecycle-events.yaml | 1 - .../configure-pod-container/memory-request-limit-2.yaml | 2 +- docs/tasks/configure-pod-container/task-pv-pod.yaml | 6 ++---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/tasks/configure-pod-container/lifecycle-events.yaml b/docs/tasks/configure-pod-container/lifecycle-events.yaml index 73045a9ac0..e5fcffcc9e 100644 --- a/docs/tasks/configure-pod-container/lifecycle-events.yaml +++ b/docs/tasks/configure-pod-container/lifecycle-events.yaml @@ -6,7 +6,6 @@ spec: containers: - name: lifecycle-demo-container image: nginx - lifecycle: postStart: exec: diff --git a/docs/tasks/configure-pod-container/memory-request-limit-2.yaml b/docs/tasks/configure-pod-container/memory-request-limit-2.yaml index ca16c1de4a..28c20de4ee 100644 --- a/docs/tasks/configure-pod-container/memory-request-limit-2.yaml +++ b/docs/tasks/configure-pod-container/memory-request-limit-2.yaml @@ -8,7 +8,7 @@ spec: image: vish/stress resources: requests: - memory: 50Mi + memory: "50Mi" limits: memory: "100Mi" args: diff --git a/docs/tasks/configure-pod-container/task-pv-pod.yaml b/docs/tasks/configure-pod-container/task-pv-pod.yaml index 79d97c2f77..9bb4ca45ad 100644 --- a/docs/tasks/configure-pod-container/task-pv-pod.yaml +++ b/docs/tasks/configure-pod-container/task-pv-pod.yaml @@ -3,12 +3,10 @@ apiVersion: v1 metadata: name: task-pv-pod spec: - volumes: - name: task-pv-storage persistentVolumeClaim: claimName: task-pv-claim - containers: - name: task-pv-container image: nginx @@ -16,7 +14,7 @@ spec: - containerPort: 80 name: "http-server" volumeMounts: - - mountPath: "/usr/share/nginx/html" - name: task-pv-storage + - mountPath: "/usr/share/nginx/html" + name: task-pv-storage