[zh] Update volumes.md

Signed-off-by: xin.li <xin.li@daocloud.io>
pull/32735/head
xin.li 2022-04-03 16:33:14 +08:00
parent fe8b412ee1
commit 6b9727e6eb
1 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ metadata:
spec:
containers:
- name: test
image: busybox
image: busybox:1.28
volumeMounts:
- name: config-vol
mountPath: /etc/config
@ -1836,7 +1836,7 @@ spec:
fieldRef:
apiVersion: v1
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" ]
volumeMounts:
- name: workdir1