My application consists of three different pods (Web, API and DB) and a PV and these pods will run in their own namespaces. These pods are deployed with a custom Helm Script.
So for example:
Namespace1: Web1, API1, DB1 and PV1
Namespace2: Web2, API2, DB2 and PV2
...
NampesaceN: WebN, APIN, DBN and PVN
I have multiple workers which can mount up to 16 PV's at the same time.
Now I want to schedule all coherent pods (from one namespace) on the same worker. I don't care what worker they are schedule on, but they should all run on the same worker where the PV is mounted. Is there some kind of namespace specific pod-affinity?