- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PodPriority (0.09 sec)
-
pkg/kubelet/eviction/eviction_manager_test.go
} pods[0].Annotations = map[string]string{ kubelettypes.ConfigSourceAnnotationKey: kubelettypes.FileSource, } // Mark the pod as critical podPriority := scheduling.SystemCriticalPriority pods[0].Spec.Priority = &podPriority pods[0].Namespace = kubeapi.NamespaceSystem podToEvict := pods[0] activePodsFunc := func() []*v1.Pod { return pods }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
ds.Namespace = api.NamespaceSystem if ds.Spec.Template.ObjectMeta.Annotations == nil { ds.Spec.Template.ObjectMeta.Annotations = make(map[string]string) } podPriority := scheduling.SystemCriticalPriority ds.Spec.Template.Spec.Priority = &podPriority } func TestNodeShouldRunDaemonPod(t *testing.T) { shouldRun := true shouldContinueRunning := true cases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0)