Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 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. staging/src/k8s.io/api/testdata/v1.30.0/node.k8s.io.v1alpha1.RuntimeClass.json

          },
          "tolerations": [
            {
              "key": "keyValue",
              "operator": "operatorValue",
              "value": "valueValue",
              "effect": "effectValue",
              "tolerationSeconds": 5
            }
          ]
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/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: Thu Apr 18 08:52:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/node.k8s.io.v1beta1.RuntimeClass.yaml

    overhead:
      podFixed:
        podFixedKey: "0"
    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 Dec 15 04:12:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/node.k8s.io.v1.RuntimeClass.json

        },
        "tolerations": [
          {
            "key": "keyValue",
            "operator": "operatorValue",
            "value": "valueValue",
            "effect": "effectValue",
            "tolerationSeconds": 5
          }
        ]
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/node.k8s.io.v1alpha1.RuntimeClass.json

          },
          "tolerations": [
            {
              "key": "keyValue",
              "operator": "operatorValue",
              "value": "valueValue",
              "effect": "effectValue",
              "tolerationSeconds": 5
            }
          ]
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/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 Dec 15 04:12:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/node.k8s.io.v1beta1.RuntimeClass.json

        },
        "tolerations": [
          {
            "key": "keyValue",
            "operator": "operatorValue",
            "value": "valueValue",
            "effect": "effectValue",
            "tolerationSeconds": 5
          }
        ]
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top