- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for NamespaceExists (0.18 sec)
-
pkg/test/kube/util.go
} if errors.IsNotFound(err) { return nil } return err }, newRetryOptions(opts...)...) } // NamespaceExists returns true if the given namespace exists. func NamespaceExists(a kubernetes.Interface, ns string) bool { allNs, err := a.CoreV1().Namespaces().List(context.TODO(), metav1.ListOptions{}) if err != nil { return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 9.4K bytes - Viewed (0) -
plugin/pkg/admission/namespace/exists/admission.go
"k8s.io/client-go/kubernetes" corev1listers "k8s.io/client-go/listers/core/v1" api "k8s.io/kubernetes/pkg/apis/core" ) // PluginName indicates name of admission plugin. const PluginName = "NamespaceExists" // Register registers a plugin func Register(plugins *admission.Plugins) { plugins.Register(PluginName, func(config io.Reader) (admission.Interface, error) { return NewExists(), nil }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 08 02:16:47 UTC 2020 - 3.9K bytes - Viewed (0) -
pkg/kubeapiserver/options/plugins.go
autoprovision.PluginName, // NamespaceAutoProvision lifecycle.PluginName, // NamespaceLifecycle exists.PluginName, // NamespaceExists antiaffinity.PluginName, // LimitPodHardAntiAffinityTopology limitranger.PluginName, // LimitRanger serviceaccount.PluginName, // ServiceAccount
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 17:20:46 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
prefix: name, name: name, skipDump: cfg.SkipDump, } id := ctx.TrackResource(n) n.id = id if err := n.forEachCluster(func(_ int, c cluster.Cluster) error { if !kube2.NamespaceExists(c.Kube(), name) { return n.createInCluster(c, cfg) } return nil }); err != nil { return nil, err } return n, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.4.md
- If you upgrade your apiserver to 1.4.x but leave your kubelets at 1.3.x, they will not report init container status, but init containers will work properly. Upgrading kubelets to 1.4.x fixes this. - The NamespaceExists and NamespaceAutoProvision admission controllers have been removed, use the NamespaceLifecycle admission controller instead (#31250, @derekwaynecarr)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 133.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.5.md
* NOTE: anonymous access is enabled by default. If you rely on authentication alone to authorize access, change to use an authorization mode other than AlwaysAllow, or or set '--anonymous-auth=false'. * The NamespaceExists and NamespaceAutoProvision admission controllers have been removed. ([#31250](https://github.com/kubernetes/kubernetes/pull/31250), [@derekwaynecarr](https://github.com/derekwaynecarr))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 136.4K bytes - Viewed (0)