-
Story
-
Resolution: Done
-
Minor
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
3
-
None
-
MTO Sprint 273, MTO Sprint 274
func (pod *Pod) shouldIgnorePod(cppc *v1beta1.ClusterPodPlacementConfig) bool
{ return utils.Namespace() == pod.Namespace || strings.HasPrefix(pod.Namespace, "kube-") || pod.Spec.NodeName != "" || pod.hasControlPlaneNodeSelector() || pod.isFromDaemonSet() || pod.isNodeSelectorConfiguredForArchitecture() && (pod.isPreferredAffinityConfiguredForArchitecture() || cppc.Spec.Plugins == nil || !cppc.Spec.Plugins.NodeAffinityScoring.IsEnabled()) }seems missing the following test cases when No required and preferred affinities should be set:
- pod in the same namespace as the operator
- pod in a namespace with kube- as prefix
- pod with controlPlaneNodeSelector
- DaemonSet pod