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