No Installation Required, Instantly Prepare for the CKA exam and please click the below link to start the CKA Exam Simulator with a real CKA practice exam questions.
Use directly our on-line CKA exam dumps materials and try our Testing Engine to pass the CKA which is always updated.
Ensure a single instance of pod nginx is running on each node of the Kubernetes cluster where nginx also represents the Image name which has to be used. Do not override any taints currently in place.
Use DaemonSet to complete this task and use ds-kusc00201 as DaemonSet name.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA3 B.JPG
F:WorkData Entry WorkData Entry20200827CKA3 C.JPG
F:WorkData Entry WorkData Entry20200827CKA3 D.JPG
F:WorkData Entry WorkData Entry20200827CKA3 E.JPG
Does this meet the goal?
Correct Answer:A
Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.
Solution:
kubectl create namespace development
kubectl run nginx --image=nginx --restart=Never -n development
Does this meet the goal?
Correct Answer:A
List all the pods sorted by created timestamp
Solution:
kubect1 get pods--sort-by=.metadata.creationTimestamp
Does this meet the goal?
Correct Answer:A
Get list of all the pods showing name and namespace with a jsonpath expression.
Solution:
kubectl get pods -o=jsonpath="{.items[*]['metadata.name'
, 'metadata.namespace']}"
Does this meet the goal?
Correct Answer:A
Create a deployment as follows:
Name: nginx-random
Exposed via a service nginx-random
Ensure that the service & pod are accessible via their respective DNS records
The container(s) within any pod(s) running as a part of this deployment should use the nginx Image
Next, use the utility nslookup to look up the DNS records of the service & pod and write the output to
/opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.
Solution:
Solution:
F:WorkData Entry WorkData Entry20200827CKA17 C.JPG
F:WorkData Entry WorkData Entry20200827CKA17 D.JPG
F:WorkData Entry WorkData Entry20200827CKA17 E.JPG
Does this meet the goal?
Correct Answer:A