Situation
When a deployment fails on our OpenShift 3.11 instance because of a Failed Scheduling
error event, a message comparable to the following shown:
Failed Scheduling 0/11 nodes are available: 10 CheckServiceAffinity, 2 ExistingPodsAntiAffinityRulesNotMatch, 2 MatchInterPodAffinity, 5 MatchNodeSelector.
In the above error message, the term CheckServiceAffinity
is used. While it's easy to find articles on Pod Affinity or Anti-Affinity, I couldn't find a detailed description of Service Affinity.
Question
- What is Service Affinity?
- Is it a concept of Kubernetes or is it exclusive to OpenShift?