Delete redundant '\n' (#5906)
* Delete redundant '\n' * The unified style
This commit is contained in:
@@ -6,7 +6,6 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: lifecycle-demo-container
|
- name: lifecycle-demo-container
|
||||||
image: nginx
|
image: nginx
|
||||||
|
|
||||||
lifecycle:
|
lifecycle:
|
||||||
postStart:
|
postStart:
|
||||||
exec:
|
exec:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
image: vish/stress
|
image: vish/stress
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 50Mi
|
memory: "50Mi"
|
||||||
limits:
|
limits:
|
||||||
memory: "100Mi"
|
memory: "100Mi"
|
||||||
args:
|
args:
|
||||||
|
|||||||
@@ -3,12 +3,10 @@ apiVersion: v1
|
|||||||
metadata:
|
metadata:
|
||||||
name: task-pv-pod
|
name: task-pv-pod
|
||||||
spec:
|
spec:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: task-pv-storage
|
- name: task-pv-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: task-pv-claim
|
claimName: task-pv-claim
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: task-pv-container
|
- name: task-pv-container
|
||||||
image: nginx
|
image: nginx
|
||||||
@@ -16,7 +14,7 @@ spec:
|
|||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: "http-server"
|
name: "http-server"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/usr/share/nginx/html"
|
- mountPath: "/usr/share/nginx/html"
|
||||||
name: task-pv-storage
|
name: task-pv-storage
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user