Removes alpha feature gate for affinity annotations. Beta fields should be used.

This commit is contained in:
Timothy St. Clair
2017-06-21 09:00:23 -05:00
parent 8679677e87
commit 4aea626944
23 changed files with 42 additions and 2348 deletions

View File

@@ -43,7 +43,7 @@ func CalculateNodeAffinityPriorityMap(pod *v1.Pod, meta interface{}, nodeInfo *s
affinity = priorityMeta.affinity
} else {
// We couldn't parse metadata - fallback to the podspec.
affinity = schedulercache.ReconcileAffinity(pod)
affinity = pod.Spec.Affinity
}
var count int32