Create a pod with environment variables as var1=value1.Check the environment variable in pod
A . Solution:
kubectl run nginx –image=nginx –restart=Never –env=var1=value1 # then
kubectl exec -it nginx — env
# or
kubectl exec -it nginx — sh -c ‘echo $var1’
# or
kubectl describe po nginx | grep value1
Answer: A
Latest CKA Dumps Valid Version with 122 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund