Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for tolerated (0.15 sec)

  1. pkg/controller/tainteviction/taint_eviction_test.go

    	}
    
    	// no taint -> infinitely tolerated taint
    	nodeIndexer.Update(singleTaintedNode)
    	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
    	// verify pod is not queued for deletion
    	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
    		t.Fatalf("pod queued for deletion with permanently tolerated taint")
    	}
    
    	// infinitely tolerated taint -> temporarily tolerated taint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-erasure-set.go

    		poolIDL, setIDL)
    	erasureSetReadToleranceMD = NewGaugeMD(erasureSetReadTolerance,
    		"No of drive failures that can be tolerated without disrupting read operations",
    		poolIDL, setIDL)
    	erasureSetWriteToleranceMD = NewGaugeMD(erasureSetWriteTolerance,
    		"No of drive failures that can be tolerated without disrupting write operations",
    		poolIDL, setIDL)
    	erasureSetReadHealthMD = NewGaugeMD(erasureSetReadHealth,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			expectedList: []framework.NodeScore{
    				{Name: "nodeA", Score: framework.MaxNodeScore},
    				{Name: "nodeB", Score: 0},
    			},
    		},
    		// the count of taints that are tolerated by pod, does not matter.
    		{
    			name: "the nodes that all of their taints are tolerated by the pod, get the same score, no matter how many tolerable taints a node has",
    			pod: podWithTolerations("pod1", []v1.Toleration{
    				{
    					Key:      "cpu-type",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/helpers.go

    func GetMatchingTolerations(taints []v1.Taint, tolerations []v1.Toleration) (bool, []v1.Toleration) {
    	if len(taints) == 0 {
    		return true, []v1.Toleration{}
    	}
    	if len(tolerations) == 0 && len(taints) > 0 {
    		return false, []v1.Toleration{}
    	}
    	result := []v1.Toleration{}
    	for i := range taints {
    		tolerated := false
    		for j := range tolerations {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/node/v1/types.go

    	// tolerations are appended (excluding duplicates) to pods running with this
    	// RuntimeClass during admission, effectively unioning the set of nodes
    	// tolerated by the pod and the RuntimeClass.
    	// +optional
    	// +listType=atomic
    	Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,2,rep,name=tolerations"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/metrics/v3.md

    | `minio_cluster_erasure_set_read_tolerance`       | `gauge` | No of drive failures that can be tolerated without disrupting read operations     | `pool_id,set_id` |
    | `minio_cluster_erasure_set_write_tolerance`      | `gauge` | No of drive failures that can be tolerated without disrupting write operations    | `pool_id,set_id` |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  7. pkg/controller/tainteviction/taint_eviction.go

    		tc.cancelWorkWithEvent(logger, podNamespacedName)
    	}
    	allTolerated, usedTolerations := v1helper.GetMatchingTolerations(taints, tolerations)
    	if !allTolerated {
    		logger.V(2).Info("Not all taints are tolerated after update for pod on node", "pod", podNamespacedName.String(), "node", klog.KRef("", nodeName))
    		// We're canceling scheduled work (if any), as we're going to delete the Pod right away.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    	"k8s.io/kubernetes/pkg/scheduler/util"
    )
    
    // TaintToleration is a plugin that checks if a pod tolerates a node's taints.
    type TaintToleration struct {
    	handle                    framework.Handle
    	enableSchedulingQueueHint bool
    }
    
    var _ framework.FilterPlugin = &TaintToleration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/runtime/tracebuf.go

    	return traceWriter{traceLocker: traceLocker{gen: gen}, traceBuf: buf}
    }
    
    // end writes the buffer back into the m.
    func (w traceWriter) end() {
    	if w.mp == nil {
    		// Tolerate a nil mp. It makes code that creates traceWriters directly
    		// less error-prone.
    		return
    	}
    	w.mp.trace.buf[w.gen%2] = w.traceBuf
    }
    
    // ensure makes sure that at least maxSize bytes are available to write.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. doc/next/3-tools.md

    The `go` command uses it automatically, avoiding "argument list too long"
    errors with a very large `CGO_LDFLAGS`.
    
    ### Trace {#trace}
    
    <!-- go.dev/issue/65316 -->
    The `trace` tool now better tolerates partially broken traces by attempting to
    recover what trace data it can. This functionality is particularly helpful when
    viewing a trace that was collected during a program crash, since the trace data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top