Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for TolerationSeconds (0.22 sec)

  1. 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)
  2. 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)
  3. pkg/controller/tainteviction/taint_eviction.go

    	if len(tolerations) == 0 {
    		return 0
    	}
    
    	for i := range tolerations {
    		if tolerations[i].TolerationSeconds != nil {
    			tolerationSeconds := *(tolerations[i].TolerationSeconds)
    			if tolerationSeconds <= 0 {
    				return 0
    			} else if tolerationSeconds < minTolerationTime {
    				minTolerationTime = tolerationSeconds
    			}
    		}
    	}
    
    	if minTolerationTime == int64(math.MaxInt64) {
    		return -1
    	}
    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. pkg/util/tolerations/tolerations_test.go

    			Operator:          api.TolerationOpExists,
    			Effect:            api.TaintEffectNoExecute,
    			TolerationSeconds: utilpointer.Int64Ptr(10),
    		},
    		"foo-noexec-0": {
    			Key:               "foo",
    			Operator:          api.TolerationOpExists,
    			Effect:            api.TaintEffectNoExecute,
    			TolerationSeconds: utilpointer.Int64Ptr(0),
    		},
    		"foo-bar-noexec-10": {
    			Key:               "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 26 22:25:49 UTC 2019
    - 11.4K bytes
    - Viewed (0)
  5. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

      - key: CriticalAddonsOnly
        operator: Exists
      - effect: NoExecute
        key: node.kubernetes.io/not-ready
        operator: Exists
        tolerationSeconds: 300
      - effect: NoExecute
        key: node.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 300
      volumes:
      - configMap:
          defaultMode: 420
          name: kube-dns
          optional: true
        name: kube-dns-config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  6. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

      - key: CriticalAddonsOnly
        operator: Exists
      - effect: NoExecute
        key: node.kubernetes.io/not-ready
        operator: Exists
        tolerationSeconds: 300
      - effect: NoExecute
        key: node.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 300
      volumes:
      - configMap:
          defaultMode: 420
          name: kube-dns
          optional: true
        name: kube-dns-config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

          subdomain: subdomainValue
          terminationGracePeriodSeconds: 4
          tolerations:
          - effect: effectValue
            key: keyValue
            operator: operatorValue
            tolerationSeconds: 5
            value: valueValue
          topologySpreadConstraints:
          - labelSelector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

        shareProcessNamespace: true
        subdomain: subdomainValue
        terminationGracePeriodSeconds: 4
        tolerations:
        - effect: effectValue
          key: keyValue
          operator: operatorValue
          tolerationSeconds: 5
          value: valueValue
        topologySpreadConstraints:
        - labelSelector:
            matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

          subdomain: subdomainValue
          terminationGracePeriodSeconds: 4
          tolerations:
          - effect: effectValue
            key: keyValue
            operator: operatorValue
            tolerationSeconds: 5
            value: valueValue
          topologySpreadConstraints:
          - labelSelector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

          subdomain: subdomainValue
          terminationGracePeriodSeconds: 4
          tolerations:
          - effect: effectValue
            key: keyValue
            operator: operatorValue
            tolerationSeconds: 5
            value: valueValue
          topologySpreadConstraints:
          - labelSelector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top