You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LowNodeUtilization: fall back to the list of protected namespaces as excluded when a list of included namespace is specified
LowNodeUtilization does not support namespace inclusion. Thus, the list
of excluded namespace needs to fall back to the list of protected
namespace instead of not setting ommiting the namespace inclusion.
// log a warning if user tries to enable ns inclusion with a profile that activates LowNodeUtilization
633
-
klog.Warning("LowNodeUtilization is enabled, however it does not support namespace inclusion. Namespace inclusion will only be considered by other strategies (like RemovePodsHavingTooManyRestarts and PodLifeTime)")
633
+
klog.Warning("LowNodeUtilization is enabled, however it does not support namespace inclusion. Namespace inclusion will only be considered by other strategies (like RemovePodsHavingTooManyRestarts and PodLifeTime). Falling back to a list of excluded protected namespaces.")
err: fmt.Errorf("It is invalid to set both .spec.profileCustomizations.thresholdPriority and .spec.profileCustomizations.ThresholdPriorityClassName fields"),
0 commit comments