Linux Foundation CKA Practice Test - Questions Answers, Page 4
List of questions
Related questions
Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed
A.
See the solution below.
Create a pod with environment variables as var1=value1.Check the environment variable in pod
A.
See the solution below.
Get list of all the pods showing name and namespace with a jsonpath expression.
A.
See the solution below.
Check the image version in pod without the describe command
A.
See the solution below.
List the nginx pod with custom columns POD_NAME and POD_STATUS
A.
See the solution below.
Create a pod that having 3 containers in it? (Multi-Container)
A.
See the solution below.
Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.
A.
See the solution below.
Print pod name and start time to "/opt/pod-status" file
A.
See the solution below.
Question