Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for onExecute (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/controller/daemon/daemon_controller_test.go

    	noScheduleTaints      = []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}
    	noExecuteTaints       = []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoExecute"}}
    )
    
    func nowPointer() *metav1.Time {
    	now := metav1.Now()
    	return &now
    }
    
    var (
    	nodeNotReady = []v1.Taint{{
    		Key:       v1.TaintNodeNotReady,
    		Effect:    v1.TaintEffectNoExecute,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  8. pkg/apis/core/types.go

    	Value string
    	// Required. The effect of the taint on pods
    	// that do not tolerate the taint.
    	// Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
    	Effect TaintEffect
    	// TimeAdded represents the time at which the taint was added.
    	// It is only written for NoExecute taints.
    	// +optional
    	TimeAdded *metav1.Time
    }
    
    // TaintEffect defines the effects of Taint
    type TaintEffect string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"effect":    "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
    	"timeAdded": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.",
    }
    
    func (Taint) SwaggerDoc() map[string]string {
    	return map_Taint
    }
    
    var map_Toleration = map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/types.go

    	// that do not tolerate the taint.
    	// Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
    	Effect TaintEffect `json:"effect" protobuf:"bytes,3,opt,name=effect,casttype=TaintEffect"`
    	// TimeAdded represents the time at which the taint was added.
    	// It is only written for NoExecute taints.
    	// +optional
    	TimeAdded *metav1.Time `json:"timeAdded,omitempty" protobuf:"bytes,4,opt,name=timeAdded"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
Back to top