Valid CKA Dumps shared by ExamDiscuss.com for Helping Passing CKA Exam! ExamDiscuss.com now offer the newest CKA exam dumps, the ExamDiscuss.com CKA exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CKA dumps with Test Engine here:
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.
Correct Answer:
solution
Recent Comments (The most recent comments are at the top.)
Kut Zhang - Oct 18, 2022
The answer is wrong. The right answer is: 1. check traints of all contol-plane or master node. 2. edit daemon deployment file, just add traints of master node or control-plane node as tolerationcs, like this: apiVersion: apps/v1 kind: DaemonSet metadata: name: ds-kusc00201 namespace: cka labels: k8s-app: ds-kusc00201 spec: selector: matchLabels: name: ds-kusc00201 template: metadata: labels: name: ds-kusc00201 spec: tolerations: - operator: Exists effect: NoSchedule containers: - name: nginx image: nginx 3. apply it, and check it: kubectl get pod -o wide -l name=ds-kusc00201
Recent Comments (The most recent comments are at the top.)
The answer is wrong. The right answer is:
1. check traints of all contol-plane or master node.
2. edit daemon deployment file, just add traints of master node or control-plane node as tolerationcs, like this:
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: ds-kusc00201
namespace: cka
labels:
k8s-app: ds-kusc00201
spec:
selector:
matchLabels:
name: ds-kusc00201
template:
metadata:
labels:
name: ds-kusc00201
spec:
tolerations:
- operator: Exists
effect: NoSchedule
containers:
- name: nginx
image: nginx
3. apply it, and check it:
kubectl get pod -o wide -l name=ds-kusc00201