kubernetesk8s.io/kubernetes/pkg/controlplane/controller/systemnamespaces Index | Files

package systemnamespaces

import "k8s.io/kubernetes/pkg/controlplane/controller/systemnamespaces"

Index

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller ensure system namespaces exist.

func NewController

func NewController(systemNamespaces []string, clientset kubernetes.Interface, namespaceInformer coreinformers.NamespaceInformer) *Controller

NewController creates a new Controller to ensure system namespaces exist.

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run starts one worker.

Source Files

system_namespaces_controller.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
3 hours ago

Tools for package owners.