Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for TolerationSeconds (0.43 sec)

  1. plugin/pkg/admission/defaulttolerationseconds/admission_test.go

    							Operator:          api.TolerationOpExists,
    							Effect:            api.TaintEffectNoExecute,
    							TolerationSeconds: &defaultTolerationSeconds,
    						},
    						{
    							Key:               v1.TaintNodeUnreachable,
    							Operator:          api.TolerationOpExists,
    							Effect:            api.TaintEffectNoExecute,
    							TolerationSeconds: &defaultTolerationSeconds,
    						},
    					},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 06 04:56:21 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  2. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    			namespaceTolerations:      []api.Toleration{},
    			podTolerations:            []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule", TolerationSeconds: nil}},
    			mergedTolerations:         []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule", TolerationSeconds: nil}},
    			admit:                     true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. plugin/pkg/admission/defaulttolerationseconds/admission.go

    		"Indicates the tolerationSeconds of the toleration for notReady:NoExecute"+
    			" that is added by default to every pod that does not already have such a toleration.")
    
    	defaultUnreachableTolerationSeconds = flag.Int64("default-unreachable-toleration-seconds", 300,
    		"Indicates the tolerationSeconds of the toleration for unreachable:NoExecute"+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 06 04:56:21 UTC 2019
    - 4K bytes
    - Viewed (0)
  4. pkg/apis/core/toleration_test.go

    			},
    			expectMatch: false,
    		},
    		{
    			description: "two taints with the different tolerationSeconds should match",
    			toleration: &Toleration{
    				Key:               "foo",
    				Operator:          "Exists",
    				Value:             "bar",
    				Effect:            TaintEffectNoSchedule,
    				TolerationSeconds: &tolerationSeconds,
    			},
    			tolerationToMatch: &Toleration{
    				Key:               "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 01:44:27 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  5. pkg/util/tolerations/tolerations.go

    	// An empty effect means match all effects.
    	if t.Effect != ss.Effect && ss.Effect != "" {
    		return false
    	}
    
    	if ss.Effect == api.TaintEffectNoExecute {
    		if ss.TolerationSeconds != nil {
    			if t.TolerationSeconds == nil ||
    				*t.TolerationSeconds > *ss.TolerationSeconds {
    				return false
    			}
    		}
    	}
    
    	switch ss.Operator {
    	case api.TolerationOpEqual, "": // empty operator means Equal
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

      terminationGracePeriodSeconds: 30
      tolerations:
      - effect: NoExecute
        key: node.kubernetes.io/not-ready
        operator: Exists
        tolerationSeconds: 300
      - effect: NoExecute
        key: node.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 300
      volumes:
      - name: default-token-hu5jz
        secret:
          defaultMode: 420
          secretName: default-token-hu5jz
    status:
      conditions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml

      terminationGracePeriodSeconds: 30
      tolerations:
      - effect: NoExecute
        key: node.kubernetes.io/not-ready
        operator: Exists
        tolerationSeconds: 300
      - effect: NoExecute
        key: node.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 300
      volumes:
      - name: default-token-hu5jz
        secret:
          defaultMode: 420
          secretName: default-token-hu5jz
    status:
      conditions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 19:51:58 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  8. plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/validation/validation_test.go

    		testStatus bool
    	}{{
    		config: internalapi.Configuration{
    			Default: []api.Toleration{
    				{Key: "foo", Operator: "Exists", Value: "", Effect: "NoExecute", TolerationSeconds: &[]int64{60}[0]},
    				{Key: "foo", Operator: "Equal", Value: "bar", Effect: "NoExecute", TolerationSeconds: &[]int64{60}[0]},
    				{Key: "foo", Operator: "Equal", Value: "bar", Effect: "NoSchedule"},
    				{Operator: "Exists", Effect: "NoSchedule"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. pkg/controller/tainteviction/taint_eviction_test.go

    				{
    					TolerationSeconds: nil,
    				},
    			},
    			expected: -1,
    		},
    		{
    			tolerations: []corev1.Toleration{
    				{
    					TolerationSeconds: &one,
    				},
    				{
    					TolerationSeconds: &two,
    				},
    			},
    			expected: oneSec,
    		},
    
    		{
    			tolerations: []corev1.Toleration{
    				{
    					TolerationSeconds: &one,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/node.k8s.io.v1alpha1.RuntimeClass.yaml

      scheduling:
        nodeSelector:
          nodeSelectorKey: nodeSelectorValue
        tolerations:
        - effect: effectValue
          key: keyValue
          operator: operatorValue
          tolerationSeconds: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top