- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for clusterNodeSelectors (0.13 sec)
-
plugin/pkg/admission/podnodeselector/admission.go
return true } return false } // NewPodNodeSelector initializes a podNodeSelector func NewPodNodeSelector(clusterNodeSelectors map[string]string) *Plugin { return &Plugin{ Handler: admission.NewHandler(admission.Create), clusterNodeSelectors: clusterNodeSelectors, } } // SetExternalKubeClientSet sets the plugin's client
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.3K bytes - Viewed (0) -
plugin/pkg/admission/podnodeselector/admission_test.go
informerFactory.Core().V1().Namespaces().Informer().GetStore().Update(namespace) } handler.clusterNodeSelectors = make(map[string]string) handler.clusterNodeSelectors["clusterDefaultNodeSelector"] = test.defaultNodeSelector handler.clusterNodeSelectors[namespace.Name] = test.whitelist pod.Spec = api.PodSpec{NodeSelector: test.podNodeSelector}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8K bytes - Viewed (0)