daher:
could someone help me with this
The app must be protected from full eviction and Updating the app must not have downtime. (edited)
Raamkanna Saranathan:
create a deployment with
a) pod using node anti-affinity rules against the hostname,
b) strategy: rolling update.
for a) - here’s docs on pod using node anti-affinity
for b) ensure strategyType: RollingUpdate (this is the default)
daher:
@Raamkanna Saranathan what is anti affinity rule gains the host name will do?
Raamkanna Saranathan:
this says that if a deployment has two pods, it forces each pod to land on different hosts i.e. two pods won’t be scheduled on the same host.