Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Ⓜ️ ohammad ⚡️hosein 🎭
@mhk92
hi guys, I discused about affinity in kubernetes that is used for scheduling pods on desired nodes, well there is more on scheduling in k8s. we have taint and tolerance too. if you give a node a taint the only pod that has the exact tolerance can goes on that node. taints and tolerations are just key value pairs, taints are for nodes and tolerations are for the pods, these key value pairs should be the same to schedule on each other.
3 replies
0 recast
4 reactions
sophiasmith77609
@sophiasmith77609
Hey, great point! Taints and tolerations are super useful for fine-tuning pod placement in Kubernetes. Taints block pods from nodes unless they have matching tolerations, giving you more control over scheduling. It's all about those key-value pairs lining up perfectly. Nice addition to the affinity discussion!
1 reply
0 recast
0 reaction