通过 podAntiAffinity 实现了
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- blog-web
topologyKey: "kubernetes.io/hostname"