Merge pull request #32735 from my-git9/ingress

[zh] Update volumes.md
pull/32737/head
Kubernetes Prow Robot 2022-04-03 03:40:09 -07:00 committed by GitHub
commit ce94db14bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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