CKA study: day 6

constant failure
Lecture Notes
Scheduling
Taints vs Affinity
todo
Resource requirements/limits
todo
DaemonSets
todo
StaticPods
todo
Multiple Schedulers
todo
Below are extra topics that David Flanagan explained in his video, Advanced Kubernetes Scheduling | Kubernetes Deep Dive's.
Topology Spread Constraints
todo
Scheduling Gates (v1.26 alpha)
todo
Dynamic Resource Allocation (v1.26 alpha)
todo
Labs


Converting the generated Deployment to a DaemonSet is easy:
Replace Deployment with DaemonSet
Remove replicas and strategy

Static Pods
kubectl get po -A -o jsonpath='{..kind}' | grep -o 'Node' | wc -l
kubectl get no
kubectl get po -A | grep '.*-controlplane'
ps -aux | grep config.yaml --color
grep 'static' /var/lib/kubelet/config.yaml
ls /etc/kubernetes/manifests
grep 'image:' /etc/kubernetes/manifests/kube-apiserver.yaml
Solving Practice
Today we had our second session with Muni solving difficult practice questions. It was inspiring to see her dedication when it is still week 2. So in tandem with her sessions, I will try to solve questions from two GitHub Repos containing practice questions of their own. To do that I would need to speed-run the entire course and figure out which questions are ok for the current cohort's progress.
Configuring a new k3d cluster with minimal bash support can be done with Git Bash; however, it was harder than I thought it would be with Lens. Workaround for WSL2.
[TODO: add a note to day1 regarding Lens support]
k3d cluster create --agents=3


![[ossca] 모델 리소스 추가](https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/zeH-ljawHtg/upload/7223c3d6a9c2c7795195bf67c5d268ac.jpeg)
