Anushka hasini:
What type of scenario do we need to use podantiAffinity…how come one should understand the reason behind the implementation
Alistair Mackay:
Anti-affinity tells the scheduler not to schedule a pod on nodes where specific conditions are met.
You can use this for instance to simulate a daemonset (one pod on each node) using a deployment.
There is a scenario that has appeared on killer.sh that asks this.
Alistair Mackay:
There are some versions of Kubernetes where daemonsets aren’t supported so this is a workaround to achieve the same.
Anushka hasini:
Thanks for your information