---
title: "#podaffinity articles | Hashnode"
description: "Explore 3 articles tagged #podaffinity on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/podaffinity"
---

Tag

# #podaffinity

3 posts · 0 followers

[Luc Cao](https://hashnode.com/@caolucl) · [Aug 13, 2024](https://hashnode.com/posts/kubernetes-inter-pod-affinity-and-anti-affinity/66badbb6d453cb5eb7951510)

### [Kubernetes - Inter-Pod Affinity And Anti-Affinity](https://caoluc.hashnode.dev/kubernetes-inter-pod-affinity-and-anti-affinity?utm_source=hashnode&utm_medium=feed)

Inter-pod affinity inter-pod affinity means that the pod wants to be on the same topology as the matching pod. spec: affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions:...

4 min read · [caoluc.hashnode.dev](https://caoluc.hashnode.dev/kubernetes-inter-pod-affinity-and-anti-affinity?utm_source=hashnode&utm_medium=feed)

[Aman Gaur](https://hashnode.com/@aman1011) · [Jun 18, 2024](https://hashnode.com/posts/aint-no-way-thats-taint-resolving-podaffinity-issues-in-kubernetes/6672029ee43efc6a795c0d61)

### [Ain't No Way That's Taint: Resolving PodAffinity Issues in Kubernetes](https://aman1011.hashnode.dev/aint-no-way-thats-taint-resolving-podaffinity-issues-in-kubernetes?utm_source=hashnode&utm_medium=feed)

While working with taints and tolerations in Kubernetes, I encountered an interesting scenario. I had a cluster with four control-plane nodes, each running an etcd pod except one. My goal was to deploy a log-collection service on each control-plane n...

3 min read · [aman1011.hashnode.dev](https://aman1011.hashnode.dev/aint-no-way-thats-taint-resolving-podaffinity-issues-in-kubernetes?utm_source=hashnode&utm_medium=feed)

[Yogitha K](https://hashnode.com/@Yogitha) · [Aug 22, 2023](https://hashnode.com/posts/scheduling-pods-on-nodes/64e4ba5593868f15856d708f)

### [Scheduling pods on Nodes](https://kakarlayogitha.hashnode.dev/scheduling-pods-on-nodes?utm_source=hashnode&utm_medium=feed)

Node Selectors:- Kubernetes only schedules the pod onto nodes that have each of the labels you specify. It supports equality based selectors kubectl label nodes <node-name> disktype=ssd kubectl get nodes --show-labels Node Affinity:- Node affinity is...

3 min read · [kakarlayogitha.hashnode.dev](https://kakarlayogitha.hashnode.dev/scheduling-pods-on-nodes?utm_source=hashnode&utm_medium=feed)
