- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 875 for Tolerations (0.18 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/controller/tainteviction/taint_eviction_test.go
oneSec := 1 * time.Second tests := []struct { tolerations []corev1.Toleration expected time.Duration }{ { tolerations: []corev1.Toleration{}, expected: 0, }, { tolerations: []corev1.Toleration{ { TolerationSeconds: nil, }, }, expected: -1, }, { 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) -
manifests/charts/gateway/templates/deployment.yaml
{{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.topologySpreadConstraints }} topologySpreadConstraints: {{- toYaml . | nindent 8 }} {{- end }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 22:42:29 UTC 2024 - 3.8K bytes - Viewed (0) -
manifests/charts/gateways/istio-egress/templates/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 - 12.1K bytes - Viewed (0)