Added 'command' block for some busybox pods script
This commit is contained in:
parent
c799322099
commit
54be184f07
|
@ -6,6 +6,7 @@ spec:
|
|||
containers:
|
||||
- name: busybox-cnt01
|
||||
image: busybox:1.28
|
||||
command: ["sleep", "3600"]
|
||||
resources:
|
||||
limits:
|
||||
memory: "300Mi"
|
||||
|
|
|
@ -9,6 +9,7 @@ spec:
|
|||
image: nginx
|
||||
- name: shell
|
||||
image: busybox:1.28
|
||||
command: ["sleep", "3600"]
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
|
|
|
@ -6,6 +6,7 @@ spec:
|
|||
containers:
|
||||
- name: container-test
|
||||
image: busybox:1.28
|
||||
command: ["sleep", "3600"]
|
||||
volumeMounts:
|
||||
- name: all-in-one
|
||||
mountPath: "/projected-volume"
|
||||
|
|
|
@ -6,6 +6,7 @@ spec:
|
|||
containers:
|
||||
- name: container-test
|
||||
image: busybox:1.28
|
||||
command: ["sleep", "3600"]
|
||||
volumeMounts:
|
||||
- name: all-in-one
|
||||
mountPath: "/projected-volume"
|
||||
|
|
|
@ -6,6 +6,7 @@ spec:
|
|||
containers:
|
||||
- name: container-test
|
||||
image: busybox:1.28
|
||||
command: ["sleep", "3600"]
|
||||
volumeMounts:
|
||||
- name: token-vol
|
||||
mountPath: "/service-account"
|
||||
|
|
Loading…
Reference in New Issue