- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for doExecute (0.18 sec)
-
pkg/kubelet/lifecycle/predicate.go
if !types.IsStaticPod(pod) { _, isUntolerated := corev1.FindMatchingUntoleratedTaint(nodeInfo.Node().Spec.Taints, pod.Spec.Tolerations, func(t *v1.Taint) bool { // Kubelet is only interested in the NoExecute taint. return t.Effect == v1.TaintEffectNoExecute }) if isUntolerated { reasons = append(reasons, &PredicateFailureError{tainttoleration.Name, tainttoleration.ErrReasonNotMatch}) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 00:47:50 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/kubelet/lifecycle/predicate_test.go
}, reasons: []PredicateFailureReason{&PredicateFailureError{tainttoleration.Name, tainttoleration.ErrReasonNotMatch}}, name: "NoExecute taint/toleration not match", }, { pod: &v1.Pod{}, nodeInfo: schedulerframework.NewNodeInfo(), node: &v1.Node{ ObjectMeta: metav1.ObjectMeta{Name: "machine1"}, Spec: v1.NodeSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/util/taints/taints_test.go
spec: []string{"foo=ends.with.dot.:NoSchedule"}, expectedErr: true, }, // The value range of taint effect is "NoSchedule", "PreferNoSchedule", "NoExecute" { name: "invalid spec effect for adding taint", spec: []string{"foo=abc:invalid_effect"}, expectedErr: true, }, { name: "invalid spec effect for deleting taint",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 09:23:35 UTC 2022 - 22.6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/reconciler/reconciler.go
} // Trigger detach volume which requires verifying safe to detach step // If forceDetatchTimeoutExpired is true, skip verifySafeToDetach check // If the node has node.kubernetes.io/out-of-service taint with NoExecute effect, skip verifySafeToDetach check logger.V(5).Info("Starting attacherDetacher.DetachVolume", "node", klog.KRef("", string(attachedVolume.NodeName)), "volumeName", attachedVolume.VolumeName) if hasOutOfServiceTaint {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 21:02:38 UTC 2024 - 21.1K bytes - Viewed (0)