EEEsraa Elhasanen Sororincka-learning.hashnode.dev·Mar 9, 2025 · 1 min readStatic podsStatic pods ———> pods created by kubelet agent on worker nodes Assume you have only one worker node on cluster and no control plane and you need to create pods. These pods are created by kubelet agent. How to path configuration files for pods to kub...00
EEEsraa Elhasanen Sororincka-learning.hashnode.dev·Mar 9, 2025 · 1 min readDaemonSetWhat is Daemonset ? K8s feature allows single copy of pod running on each node in cluster all time. only single copy of pod per node. When new node added to cluster there is single copy of pod deployed to new node [automatic]. When node evicted from...00
EEEsraa Elhasanen Sororincka-learning.hashnode.dev·Mar 9, 2025 · 2 min readNode Affinitynode affinity ——————→ restrict pod to be deployed on specific node. Please note please node ———→ Node selector and Node affinity restrict pod to be deployed on nodes that have certain labels How to use node affinity ? 1) label node $ kubectl label no...00
EEEsraa Elhasanen Sororincka-learning.hashnode.dev·Mar 9, 2025 · 1 min readNode SelectorNode selector —————> restrict pod to be deployed on specific node. how to use node selector ? 1) Label pod 2) use nodeSelector label on yaml file How to label node ? $ kubectl label nodes node_name key=value $ kubectl label nodes node01 size=mini How...00
EEEsraa Elhasanen Sororincka-learning.hashnode.dev·Mar 8, 2025 · 2 min readTaint && TolerationsTaint && Tolerations are used to restrict nodes which pods to accept. Taint ———————→ for Nodes Tolerations ——————→ For pods Nodes accept pod that tolerate its taints. How to check if your node is tainted ? $ kubectl describe node node_name | grep Ta...00