- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newTolerations (0.2 sec)
-
pkg/apis/core/v1/helper/helpers.go
podTolerations := spec.Tolerations var newTolerations []v1.Toleration updated := false for i := range podTolerations { if toleration.MatchToleration(&podTolerations[i]) { if helper.Semantic.DeepEqual(toleration, podTolerations[i]) { return false } newTolerations = append(newTolerations, *toleration) updated = true continue } newTolerations = append(newTolerations, podTolerations[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/apis/core/helper/helpers.go
podTolerations := pod.Spec.Tolerations var newTolerations []core.Toleration updated := false for i := range podTolerations { if toleration.MatchToleration(&podTolerations[i]) { if Semantic.DeepEqual(toleration, podTolerations[i]) { return false } newTolerations = append(newTolerations, *toleration) updated = true continue } newTolerations = append(newTolerations, podTolerations[i]) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 16.1K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction.go
oldTolerations = oldPod.Spec.Tolerations } newTolerations := []v1.Toleration{} if newPod != nil { podName = newPod.Name podNamespace = newPod.Namespace nodeName = newPod.Spec.NodeName newTolerations = newPod.Spec.Tolerations } if oldPod != nil && newPod != nil && helper.Semantic.DeepEqual(oldTolerations, newTolerations) && oldPod.Spec.NodeName == newPod.Spec.NodeName { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 19.9K bytes - Viewed (0)