Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,183 for Tolerations (0.16 sec)

  1. releasenotes/notes/add-tolerations-field-to-istiod.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    issue: []
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 02 03:09:52 UTC 2023
    - 203 bytes
    - Viewed (0)
  2. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    		},
    		{
    			pod:                       bestEffortPod,
    			defaultClusterTolerations: []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule", TolerationSeconds: nil}},
    			namespaceTolerations:      []api.Toleration{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	for _, toleration := range tolerations {
    		// Empty effect means all effects which includes PreferNoSchedule, so we need to collect it as well.
    		if len(toleration.Effect) == 0 || toleration.Effect == v1.TaintEffectPreferNoSchedule {
    			tolerationList = append(tolerationList, toleration)
    		}
    	}
    	return
    }
    
    // PreScore builds and writes cycle state used by Score and NormalizeScore.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    				{Name: "nodeC", Score: 0},
    			},
    		},
    		// taints-tolerations priority only takes care about the taints and tolerations that have effect PreferNoSchedule
    		{
    			name: "only taints and tolerations that have effect PreferNoSchedule are checked by taints-tolerations priority function",
    			pod: podWithTolerations("pod1", []v1.Toleration{
    				{
    					Key:      "cpu-type",
    					Operator: v1.TolerationOpEqual,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. operator/pkg/translate/translate_value_test.go

    pilot:
      enabled: true
      rollingMaxSurge: 100%
      rollingMaxUnavailable: 25%
      resources:
        requests:
          cpu: 1000m
          memory: 1G
      replicaCount: 1
      nodeSelector:
        kubernetes.io/os: linux
      tolerations:
      - key: dedicated
        operator: Exists
        effect: NoSchedule
      - key: CriticalAddonsOnly
        operator: Exists
      autoscaleEnabled: true
      autoscaleMax: 3
      autoscaleMin: 1
      cpu:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. 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 {
    			if tolerations[j].ToleratesTaint(&taints[i]) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pkg/controller/tainteviction/taint_eviction.go

    }
    
    // getMinTolerationTime returns minimal toleration time from the given slice, or -1 if it's infinite.
    func getMinTolerationTime(tolerations []v1.Toleration) time.Duration {
    	minTolerationTime := int64(math.MaxInt64)
    	if len(tolerations) == 0 {
    		return 0
    	}
    
    	for i := range tolerations {
    		if tolerations[i].TolerationSeconds != nil {
    			tolerationSeconds := *(tolerations[i].TolerationSeconds)
    			if tolerationSeconds <= 0 {
    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. manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml

          {{- include "podAntiAffinity" $gateway | indent 6 }}
    {{- if $gateway.tolerations }}
          tolerations:
    {{ toYaml $gateway.tolerations | indent 6 }}
    {{- else if .Values.global.defaultTolerations }}
          tolerations:
    {{ toYaml .Values.global.defaultTolerations | indent 6 }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml

          {{- include "podAntiAffinity" $gateway | indent 6 }}
    {{- if $gateway.tolerations }}
          tolerations:
    {{ toYaml $gateway.tolerations | indent 6 }}
    {{- else if .Values.global.defaultTolerations }}
          tolerations:
    {{ toYaml .Values.global.defaultTolerations | indent 6 }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. 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)
Back to top