- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AddOrUpdateTolerationInPodSpec (0.26 sec)
-
pkg/controller/daemon/util/daemonset_util.go
v1helper.AddOrUpdateTolerationInPodSpec(spec, &v1.Toleration{ Key: v1.TaintNodeDiskPressure, Operator: v1.TolerationOpExists, Effect: v1.TaintEffectNoSchedule, }) v1helper.AddOrUpdateTolerationInPodSpec(spec, &v1.Toleration{ Key: v1.TaintNodeMemoryPressure, Operator: v1.TolerationOpExists, Effect: v1.TaintEffectNoSchedule, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 18 11:54:59 UTC 2022 - 9.3K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers.go
continue } return true } return false } // AddOrUpdateTolerationInPodSpec tries to add a toleration to the toleration list in PodSpec. // Returns true if something was updated, false otherwise. func AddOrUpdateTolerationInPodSpec(spec *v1.PodSpec, toleration *v1.Toleration) bool { podTolerations := spec.Tolerations var newTolerations []v1.Toleration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0)