yaml - Pods Flashcards
1
Q
Add emptyDir volume named var-logs to pod and mount in container1 at /var/log
A
apiVersion: v1 kind: Pod spec: volumes: - name: var-logs emptyDir: {} containers: - image: busybox volumeMounts: - name: var-logs mountPath: /var/log