Q1. How many DaemonSets are created in the cluster in all namespaces?
kubectl get daemonsets --all-namespaces

Q2. Which namespace are the DaemonSets created in?

Q3. Which of the below is a DaemonSet?
>> kube-flannel-ds

Q4. On how many nodes are the pods scheduled by the DaemonSet kube-proxy?
1
Q5. What is the image used by the POD deployed by the kube-flannel-ds DaemonSet?
kubectl describe daemonset kube-flannel-ds --namespace=kube-flannel

Q6. Deploy a DaemonSet for FluentD Logging. Use the given specifications.
kubectl create deployment elasticsearch --image=registry.k8s.io/fluentd-elasticsearch:1.20 \
-n kube-system --dry-run=client -o yaml > fluentd.yaml
k create -f fluentd.yaml


참고
1. 데몬셋을 바로 생성할 수 없는 이유 (stackoverflow)
'STUDY > Data Engineering' 카테고리의 다른 글
| [kodekloud] 02 Multiple Schedulers 풀이 (😵💫) (0) | 2023.01.23 |
|---|---|
| [kodekloud] 02 Scheduling : Static Pods 풀이 (😵💫) (0) | 2023.01.23 |
| [kodekloud] 02 Scheduling : Resource Limits 풀이 (0) | 2023.01.23 |
| [kodekloud] 02 Scheduling : Node Affinity 풀이 (0) | 2023.01.23 |
| [kodekloud] 02 Scheduling : Taints and Tolerations 풀이 (0) | 2023.01.23 |