Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for clientConnection (0.32 sec)

  1. cmd/kube-scheduler/app/options/options_test.go

    kind: KubeSchedulerConfiguration
    clientConnection:
      kubeconfig: '%s'
    leaderElection:
      leaderElect: true`, configKubeconfig)), os.FileMode(0600)); err != nil {
    		t.Fatal(err)
    	}
    
    	noVersionConfig := filepath.Join(tmpDir, "scheduler_invalid_no_version.yaml")
    	if err := os.WriteFile(noVersionConfig, []byte(fmt.Sprintf(`
    kind: KubeSchedulerConfiguration
    clientConnection:
      kubeconfig: '%s'
    leaderElection:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/v1/defaults_test.go

    					RetryPeriod:       metav1.Duration{Duration: 2 * time.Second},
    					ResourceLock:      "leases",
    					ResourceNamespace: "kube-system",
    					ResourceName:      "kube-scheduler",
    				},
    				ClientConnection: componentbaseconfig.ClientConnectionConfiguration{
    					QPS:         50,
    					Burst:       100,
    					ContentType: "application/vnd.kubernetes.protobuf",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/kubeproxy.go

    	}
    
    	if kp.config.ClientConnection.Kubeconfig == "" {
    		kp.config.ClientConnection.Kubeconfig = kubeproxyKubeConfigFileName
    	} else if kp.config.ClientConnection.Kubeconfig != kubeproxyKubeConfigFileName {
    		warnDefaultComponentConfigValue(kind, "clientConnection.kubeconfig", kubeproxyKubeConfigFileName, kp.config.ClientConnection.Kubeconfig)
    	}
    }
    
    // Mutate is NOP for the kube-proxy config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 03:01:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/kubeproxy_test.go

    			expected: kubeProxyConfig{
    				config: kubeproxyconfig.KubeProxyConfiguration{
    					FeatureGates: map[string]bool{},
    					BindAddress:  kubeadmapiv1.DefaultProxyBindAddressv6,
    					ClientConnection: componentbaseconfig.ClientConnectionConfiguration{
    						Kubeconfig: kubeproxyKubeConfigFileName,
    					},
    				},
    			},
    		},
    		{
    			name:       "IPv4 bind address",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 01 14:17:07 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/v1alpha1/defaults.go

    		obj.ConfigSyncPeriod.Duration = 15 * time.Minute
    	}
    
    	if len(obj.ClientConnection.ContentType) == 0 {
    		obj.ClientConnection.ContentType = "application/vnd.kubernetes.protobuf"
    	}
    	if obj.ClientConnection.QPS == 0.0 {
    		obj.ClientConnection.QPS = 5.0
    	}
    	if obj.ClientConnection.Burst == 0 {
    		obj.ClientConnection.Burst = 10
    	}
    	if obj.FeatureGates == nil {
    		obj.FeatureGates = make(map[string]bool)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/v1/defaults.go

    	}
    
    	if len(obj.ClientConnection.ContentType) == 0 {
    		obj.ClientConnection.ContentType = "application/vnd.kubernetes.protobuf"
    	}
    	// Scheduler has an opinion about QPS/Burst, setting specific defaults for itself, instead of generic settings.
    	if obj.ClientConnection.QPS == 0.0 {
    		obj.ClientConnection.QPS = 50.0
    	}
    	if obj.ClientConnection.Burst == 0 {
    		obj.ClientConnection.Burst = 100
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. pkg/controller/apis/config/v1alpha1/defaults.go

    	// These client-connection defaults are specific to the kube-controller-manager
    	if obj.Generic.ClientConnection.QPS == 0.0 {
    		obj.Generic.ClientConnection.QPS = 20.0
    	}
    	if obj.Generic.ClientConnection.Burst == 0 {
    		obj.Generic.ClientConnection.Burst = 30
    	}
    
    	// Use the default RecommendedDefaultGenericControllerManagerConfiguration options
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 07:55:11 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/options/options.go

    	kubeconfig, err := clientcmd.BuildConfigFromFlags(s.Master, s.Generic.ClientConnection.Kubeconfig)
    	if err != nil {
    		return nil, err
    	}
    	kubeconfig.DisableCompression = true
    	kubeconfig.ContentConfig.AcceptContentTypes = s.Generic.ClientConnection.AcceptContentTypes
    	kubeconfig.ContentConfig.ContentType = s.Generic.ClientConnection.ContentType
    	kubeconfig.QPS = s.Generic.ClientConnection.QPS
    	kubeconfig.Burst = int(s.Generic.ClientConnection.Burst)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/server_test.go

    				}
    			}
    
    			if tc.wantClientConnection != nil {
    				gotClientConnection := opts.ComponentConfig.ClientConnection
    				if diff := cmp.Diff(*tc.wantClientConnection, gotClientConnection); diff != "" {
    					t.Errorf("Unexpected clientConnection diff (-want, +got): %s", diff)
    				}
    			}
    		})
    	}
    }
    
    // Simulates an out-of-tree plugin.
    type foo struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/ActionExecutionWorker.java

        @Override
        public void execute(final WorkerProcessContext workerContext) {
            LOGGER.debug("Starting {}.", workerContext.getDisplayName());
    
            ObjectConnection clientConnection = workerContext.getServerConnection();
            clientConnection.addUnrecoverableErrorHandler(new Action<Throwable>() {
                @Override
                public void execute(Throwable throwable) {
                    if (action instanceof Stoppable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top