0

I want to scale the pods in the same worker node where already one EBS volume associated with pod is attached. How can I achieve it?

Thanks

Community
  • 1
  • 1
Nikit Swaraj
  • 657
  • 4
  • 8
  • 21

1 Answers1

1

you can configure PodAffinity to schedule new pods only on the same node that it is already scheduled (obviously not in case of first one).

https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#inter-pod-affinity-and-anti-affinity-beta-feature

Radek 'Goblin' Pieczonka
  • 21,554
  • 7
  • 52
  • 48