commit
ce94db14bf
|
@ -438,7 +438,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: busybox
|
image: busybox:1.28
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-vol
|
- name: config-vol
|
||||||
mountPath: /etc/config
|
mountPath: /etc/config
|
||||||
|
@ -1836,7 +1836,7 @@ spec:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
image: busybox
|
image: busybox:1.28
|
||||||
command: [ "sh", "-c", "while [ true ]; do echo 'Hello'; sleep 10; done | tee -a /logs/hello.txt" ]
|
command: [ "sh", "-c", "while [ true ]; do echo 'Hello'; sleep 10; done | tee -a /logs/hello.txt" ]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: workdir1
|
- name: workdir1
|
||||||
|
|
Loading…
Reference in New Issue