Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SecureServing (0.3 sec)

  1. cmd/kube-apiserver/app/testing/testserver.go

    			}
    			s.PeerCAFile = filepath.Join(s.SecureServing.ServerCert.CertDirectory, s.SecureServing.ServerCert.PairName+".crt")
    		}
    	}
    
    	s.SecureServing.ExternalAddress = s.SecureServing.Listener.Addr().(*net.TCPAddr).IP // use listener addr although it is a loopback device
    
    	pkgPath, err := pkgPath(t)
    	if err != nil {
    		return result, err
    	}
    	s.SecureServing.ServerCert.FixtureDirectory = filepath.Join(pkgPath, "testdata")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. pkg/controlplane/apiserver/options/options.go

    		if len(completed.Authentication.ServiceAccounts.KeyFiles) == 0 && completed.SecureServing.ServerCert.CertKey.KeyFile != "" {
    			if kubeauthenticator.IsValidServiceAccountKeyFile(completed.SecureServing.ServerCert.CertKey.KeyFile) {
    				completed.Authentication.ServiceAccounts.KeyFiles = []string{completed.SecureServing.ServerCert.CertKey.KeyFile}
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server_test.go

    			}
    
    			fs := pflag.NewFlagSet("test", pflag.PanicOnError)
    			opts := options.NewOptions()
    
    			// use listeners instead of static ports so parallel test runs don't conflict
    			opts.SecureServing.Listener = makeListener(t)
    			defer opts.SecureServing.Listener.Close()
    
    			nfs := opts.Flags
    			for _, f := range nfs.FlagSets {
    				fs.AddFlagSet(f)
    			}
    			if err := fs.Parse(tc.flags); err != nil {
    				t.Fatal(err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. cmd/kube-scheduler/app/server.go

    	// Start up the healthz server.
    	if cc.SecureServing != nil {
    		handler := buildHandlerChain(newHealthEndpointsAndMetricsHandler(&cc.ComponentConfig, cc.InformerFactory, isLeader, checks, readyzChecks), cc.Authentication.Authenticator, cc.Authorization.Authorizer)
    		// TODO: handle stoppedCh and listenerStoppedCh returned by c.SecureServing.Serve
    		if _, _, err := cc.SecureServing.Serve(handler, 0, ctx.Done()); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/config.go

    	genericConfig.MergedResourceConfig = resourceConfig
    
    	if lastErr = s.GenericServerRunOptions.ApplyTo(genericConfig); lastErr != nil {
    		return
    	}
    
    	if lastErr = s.SecureServing.ApplyTo(&genericConfig.SecureServing, &genericConfig.LoopbackClientConfig); lastErr != nil {
    		return
    	}
    
    	// Use protobufs for self-communication.
    	// Since not every generic apiserver has to support protobufs, we
    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. staging/src/k8s.io/apiserver/pkg/server/config.go

    	APIGroupPrefix = "/apis"
    )
    
    // Config is a structure used to configure a GenericAPIServer.
    // Its members are sorted roughly in order of importance for composers.
    type Config struct {
    	// SecureServing is required to serve https
    	SecureServing *SecureServingInfo
    
    	// Authentication is the configuration for authentication
    	Authentication AuthenticationInfo
    
    	// Authorization is the configuration for authorization
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/options_test.go

    			DefaultStorageMediaType: "application/vnd.kubernetes.protobuf",
    			DeleteCollectionWorkers: 1,
    			EnableGarbageCollection: true,
    			EnableWatchCache:        true,
    			DefaultWatchCacheSize:   100,
    		},
    		SecureServing: (&apiserveroptions.SecureServingOptions{
    			BindAddress: netutils.ParseIPSloppy("192.168.10.20"),
    			BindPort:    6443,
    			ServerCert: apiserveroptions.GeneratableKeyCert{
    				CertDirectory: "/var/run/kubernetes",
    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. pkg/controlplane/apiserver/server.go

    			go systemnamespaces.NewController(c.SystemNamespaces, client, s.VersionedInformers.Core().V1().Namespaces()).Run(hookContext.StopCh)
    			return nil
    		})
    	}
    
    	_, publicServicePort, err := c.Generic.SecureServing.HostPort()
    	if err != nil {
    		return nil, fmt.Errorf("failed to get listener address: %w", err)
    	}
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.UnknownVersionInteroperabilityProxy) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:24:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/controllermanager.go

    	var unsecuredMux *mux.PathRecorderMux
    	if c.SecureServing != nil {
    		unsecuredMux = genericcontrollermanager.NewBaseHandler(&c.ComponentConfig.Generic.Debugging, healthzHandler)
    		slis.SLIMetricsWithReset{}.Install(unsecuredMux)
    
    		handler := genericcontrollermanager.BuildHandlerChain(unsecuredMux, &c.Authorization, &c.Authentication)
    		// TODO: handle stoppedCh and listenerStoppedCh returned by c.SecureServing.Serve
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. cmd/kube-apiserver/app/options/options_test.go

    				DefaultStorageMediaType: "application/vnd.kubernetes.protobuf",
    				DeleteCollectionWorkers: 1,
    				EnableGarbageCollection: true,
    				EnableWatchCache:        true,
    				DefaultWatchCacheSize:   100,
    			},
    			SecureServing: (&apiserveroptions.SecureServingOptions{
    				BindAddress: netutils.ParseIPSloppy("192.168.10.20"),
    				BindPort:    6443,
    				ServerCert: apiserveroptions.GeneratableKeyCert{
    					CertDirectory: "/var/run/kubernetes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top