In Kubernetes node affinity what is IgnoredDuringExecution?

2/7/2021

In "requiredDuringSchedulingIgnoredDuringExecution", I understand what is required during scheduling but what is Ignored during execution.

-- Shubham Sharma
kubernetes

1 Answer

2/7/2021

requiredDuringSchedulingIgnoredDuringExecution has two components:

  1. requiredDuringScheduling implies that the pod should be scheduled on the node only if it satisfy the criteria.
  2. IgnoredDuringExecution implies that if any pod is already Scheduled and Running on some node then it should not be evicted due to the changes in labels on a node at runtime and only the new pods should be required to match the new criteria.
-- Krishna Chaurasia
Source: StackOverflow