Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for doExecute (0.36 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    	if taintutils.TaintExists(node3.Spec.Taints, NotReadyTaintTemplate) || len(node3.Spec.Taints) > 0 {
    		t.Errorf("Found taint %v in %v, which should not be present", NotReadyTaintTemplate, node3.Spec.Taints)
    	}
    }
    
    // TestApplyNoExecuteTaintsToNodesEnqueueTwice ensures we taint every node with NoExecute even if enqueued twice
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  2. cluster/addons/dns/nodelocaldns/nodelocaldns.yaml

          serviceAccountName: node-local-dns
          hostNetwork: true
          dnsPolicy: Default  # Don't use cluster DNS.
          tolerations:
          - key: "CriticalAddonsOnly"
            operator: "Exists"
          - effect: "NoExecute"
            operator: "Exists"
          - effect: "NoSchedule"
            operator: "Exists"
          containers:
          - name: node-cache
            image: registry.k8s.io/dns/k8s-dns-node-cache:1.23.1
            resources:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. pkg/controller/tainteviction/taint_eviction.go

    type GetPodsByNodeNameFunc func(nodeName string) ([]*v1.Pod, error)
    
    // Controller listens to Taint/Toleration changes and is responsible for removing Pods
    // from Nodes tainted with NoExecute Taints.
    type Controller struct {
    	name string
    
    	client                clientset.Interface
    	broadcaster           record.EventBroadcaster
    	recorder              record.EventRecorder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. manifests/charts/istio-cni/templates/daemonset.yaml

            - effect: NoSchedule
              operator: Exists
            # Mark the pod as a critical add-on for rescheduling.
            - key: CriticalAddonsOnly
              operator: Exists
            - effect: NoExecute
              operator: Exists
          priorityClassName: system-node-critical
          serviceAccountName: {{ template "name" . }}
          # Minimize downtime during a rolling upgrade or deletion; tell Kubernetes to do a "force
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/apis/core/validation/validation_test.go

    				},
    			},
    			old: core.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    				Spec: core.PodSpec{
    					NodeName:    "node1",
    					Tolerations: []core.Toleration{{Key: "key1", Value: "value1", Operator: "Equal", Effect: "NoExecute", TolerationSeconds: &[]int64{10}[0]}},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    // This function will
    //   - add nodes which are not ready or not reachable for a long period of time to a rate-limited
    //     queue so that NoExecute taints can be added by the goroutine running the doNoExecuteTaintingPass function,
    //   - update the PodReady condition Pods according to the state of the Node Ready condition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller.go

    	if !fitsNodeName || !fitsNodeAffinity {
    		return false, false
    	}
    
    	if !fitsTaints {
    		// Scheduled daemon pods should continue running if they tolerate NoExecute taint.
    		_, hasUntoleratedTaint := v1helper.FindMatchingUntoleratedTaint(taints, pod.Spec.Tolerations, func(t *v1.Taint) bool {
    			return t.Effect == v1.TaintEffectNoExecute
    		})
    		return false, !hasUntoleratedTaint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top