Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for systemNamespaces (0.24 sec)

  1. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go

    	client kubernetes.Interface
    
    	namespaceLister listers.NamespaceLister
    	namespaceSynced cache.InformerSynced
    
    	systemNamespaces []string
    	interval         time.Duration
    }
    
    // NewController creates a new Controller to ensure system namespaces exist.
    func NewController(systemNamespaces []string, clientset kubernetes.Interface, namespaceInformer coreinformers.NamespaceInformer) *Controller {
    	interval := 1 * time.Minute
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go

    			for _, obj := range objs {
    				namespaceInformer.Informer().GetIndexer().Add(obj)
    			}
    
    			systemNamespaces := []string{metav1.NamespaceSystem, metav1.NamespacePublic, v1.NamespaceNodeLease, metav1.NamespaceDefault}
    			controller := NewController(systemNamespaces, clientset, namespaceInformer)
    
    			clientset.PrependReactor("create", "namespaces", func(action k8stesting.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/server.go

    	if err != nil {
    		return nil, err
    	}
    	if len(c.SystemNamespaces) > 0 {
    		s.GenericAPIServer.AddPostStartHookOrDie("start-system-namespaces-controller", func(hookContext genericapiserver.PostStartHookContext) error {
    			go systemnamespaces.NewController(c.SystemNamespaces, client, s.VersionedInformers.Core().V1().Namespaces()).Run(hookContext.StopCh)
    			return nil
    		})
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:24:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/options/options.go

    				},
    				HTTPTimeout: time.Duration(5) * time.Second,
    			},
    			ServiceNodePortRange: kubeoptions.DefaultServiceNodePortRange,
    			MasterCount:          1,
    		},
    	}
    
    	s.Options.SystemNamespaces = append(s.Options.SystemNamespaces, v1.NamespaceNodeLease)
    
    	return &s
    }
    
    // Flags returns flags for a specific APIServer by section name
    func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/config.go

    			StorageFactory:          storageFactory,
    			EventTTL:                opts.EventTTL,
    			EnableLogsSupport:       opts.EnableLogsHandler,
    			ProxyTransport:          proxyTransport,
    			SystemNamespaces:        opts.SystemNamespaces,
    
    			ServiceAccountIssuer:        opts.ServiceAccountIssuer,
    			ServiceAccountMaxExpiration: opts.ServiceAccountTokenMaxExpiration,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. pkg/controlplane/apiserver/options/options.go

    	ServiceAccountSigningKeyFile     string
    	ServiceAccountIssuer             serviceaccount.TokenGenerator
    	ServiceAccountTokenMaxExpiration time.Duration
    
    	ShowHiddenMetricsForVersion string
    
    	SystemNamespaces []string
    }
    
    // completedServerRunOptions is a private wrapper that enforces a call of Complete() before Run can be invoked.
    type completedOptions struct {
    	Options
    }
    
    type CompletedOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/options_test.go

    		Logs:                    logs.NewOptions(),
    		Traces: &apiserveroptions.TracingOptions{
    			ConfigFile: "/var/run/kubernetes/tracing_config.yaml",
    		},
    		AggregatorRejectForwardingRedirects: true,
    		SystemNamespaces:                    []string{"kube-system", "kube-public", "default"},
    	}
    
    	expected.Authentication.OIDC.UsernameClaim = "sub"
    	expected.Authentication.OIDC.SigningAlgs = []string{"RS256"}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/options_test.go

    			Logs:                    logs.NewOptions(),
    			Traces: &apiserveroptions.TracingOptions{
    				ConfigFile: "/var/run/kubernetes/tracing_config.yaml",
    			},
    			AggregatorRejectForwardingRedirects: true,
    			SystemNamespaces:                    []string{"kube-system", "kube-public", "default", "kube-node-lease"},
    		},
    
    		Extra: Extra{
    			ServiceNodePortRange:   kubeoptions.DefaultServiceNodePortRange,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pkg/test/cert/ca/intermediate.go

    subjectAltName=@san
    [ san ]
    DNS.1 = istiod.{{ .SystemNamespace }}
    DNS.2 = istiod.{{ .SystemNamespace }}.svc
    DNS.3 = istio-pilot.{{ .SystemNamespace }}
    DNS.4 = istio-pilot.{{ .SystemNamespace }}.svc
    [ req_dn ]
    O = Istio
    CN = Intermediate CA
    `
    )
    
    // NewIstioConfig creates an extensions configuration for Istio, using the given system namespace in
    // the DNS SANs.
    func NewIstioConfig(systemNamespace string) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/eastwest.go

    		"tag=" + s.Image.Tag,
    		"values.global.imagePullPolicy=" + s.Image.PullPolicy,
    		"values.gateways.istio-ingressgateway.autoscaleEnabled=false",
    	}
    
    	if i.cfg.SystemNamespace != "istio-system" {
    		setArgs = append(setArgs, "values.global.istioNamespace="+i.cfg.SystemNamespace)
    	}
    
    	// Include all user-specified values.
    	for k, v := range i.cfg.Values {
    		setArgs = append(setArgs, fmt.Sprintf("values.%s=%s", k, v))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top