Score: 13%
Task
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.
Answer : A
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.
Answer : A
Create a pod that echo ''hello world'' and then exists. Have the pod deleted automatically when it's completed
Answer : A
List pod logs named ''frontend'' and search for the pattern ''started'' and write it to a file ''/opt/error-logs''
Answer : A
Create a busybox pod that runs the command ''env'' and save the output to ''envpod'' file
Answer : A
Create a pod with image nginx called nginx and allow traffic on port 80
Answer : A
Get list of all pods in all namespaces and write it to file ''/opt/pods-list.yaml''
Answer : A