• Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • 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

              lwan-wanglin Lin Wang
              rhn-support-adistefa Alessandro Di Stefano
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: