Create a redis pod, and have it use a non-persistent storage Note: In exam, you will have access to kubernetes.io site, Refer : https://kubernetes.io/docs/tasks/configure-pod-container/configurevolume-storage/
A . Solution:
apiVersion: v1
kind: Pod
metadata:
name: redis
spec:
containers:
– name: redis
image: redis
volumeMounts:
– name: redis-storage mountPath: /data/redis ports:
– containerPort: 6379 volumes:
– name: redis-storage emptyDir: {}
Answer: A
Latest CKA Dumps Valid Version with 122 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund