Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for hostnameOverride (0.16 sec)

  1. src/go/printer/testdata/alignment.golden

    // Examples from issue #10392.
    
    var kcfg = KubeletConfig{
    	Address:			s.Address,
    	AllowPrivileged:		s.AllowPrivileged,
    	HostNetworkSources:		hostNetworkSources,
    	HostnameOverride:		s.HostnameOverride,
    	RootDirectory:			s.RootDirectory,
    	ConfigFile:			s.Config,
    	ManifestURL:			s.ManifestURL,
    	FileCheckFrequency:		s.FileCheckFrequency,
    	HTTPCheckFrequency:		s.HTTPCheckFrequency,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  2. src/go/printer/testdata/alignment.input

    var kcfg = KubeletConfig{
        Address:                        s.Address,
        AllowPrivileged:                s.AllowPrivileged,
        HostNetworkSources:             hostNetworkSources,
        HostnameOverride:               s.HostnameOverride,
        RootDirectory:                  s.RootDirectory,
        ConfigFile:                     s.Config,
        ManifestURL:                    s.ManifestURL,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml

      udpStreamTimeout: 0s
      udpTimeout: 0s
    detectLocal:
      bridgeInterface: ""
      interfaceNamePrefix: ""
    detectLocalMode: ""
    enableProfiling: false
    healthzBindAddress: 0.0.0.0:10256
    hostnameOverride: ""
    iptables:
      localhostNodePorts: true
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 1s
      syncPeriod: 30s
    ipvs:
      excludeCIDRs: null
      minSyncPeriod: 0s
      scheduler: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml

      udpStreamTimeout: 0s
      udpTimeout: 0s
    detectLocal:
      bridgeInterface: ""
      interfaceNamePrefix: ""
    detectLocalMode: ""
    enableProfiling: false
    healthzBindAddress: 0.0.0.0:10256
    hostnameOverride: ""
    iptables:
      localhostNodePorts: true
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 1s
      syncPeriod: 30s
    ipvs:
      excludeCIDRs: null
      minSyncPeriod: 0s
      scheduler: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go

    		return err
    	}
    	out.Logging = in.Logging
    	out.HostnameOverride = in.HostnameOverride
    	out.BindAddress = in.BindAddress
    	out.HealthzBindAddress = in.HealthzBindAddress
    	out.MetricsBindAddress = in.MetricsBindAddress
    	out.BindAddressHardFail = in.BindAddressHardFail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			options := NewOptions()
    			options.config = &kubeproxyconfig.KubeProxyConfiguration{
    				HostnameOverride: "foo",
    			}
    
    			options.hostnameOverride = tc.hostnameOverrideFlag
    
    			err := options.processHostnameOverrideFlag()
    			if tc.expectError {
    				if err == nil {
    					t.Fatalf("should error for this case %s", tc.name)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server.go

    	healthzPort int32
    	// metricsPort is the port to be used by the metrics server.
    	metricsPort int32
    
    	// hostnameOverride, if set from the command line flag, takes precedence over the `HostnameOverride` value from the config file
    	hostnameOverride string
    
    	logger klog.Logger
    }
    
    // AddFlags adds flags to fs and binds them to options.
    func (o *Options) AddFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/types.go

    	// for more information.
    	Logging logsapi.LoggingConfiguration
    
    	// hostnameOverride, if non-empty, will be used as the name of the Node that
    	// kube-proxy is running on. If unset, the node name is assumed to be the same as
    	// the node's hostname.
    	HostnameOverride string
    	// bindAddress can be used to override kube-proxy's idea of what its node's
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    	hostname, err := nodeutil.GetHostname(kubeServer.HostnameOverride)
    	if err != nil {
    		return err
    	}
    	// Query the cloud provider for our node name, default to hostname if kubeDeps.Cloud == nil
    	nodeName, err := getNodeName(kubeDeps.Cloud, hostname)
    	if err != nil {
    		return err
    	}
    	hostnameOverridden := len(kubeServer.HostnameOverride) > 0
    	// Setup event recorder if required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. pkg/kubemark/hollow_kubelet.go

    	klog.Infof("Using %s as root dir for hollow-kubelet", testRootDir)
    
    	// Flags struct
    	f := options.NewKubeletFlags()
    	f.RootDirectory = testRootDir
    	f.HostnameOverride = opt.NodeName
    	f.MinimumGCAge = metav1.Duration{Duration: 1 * time.Minute}
    	f.MaxContainerCount = 100
    	f.MaxPerPodContainerCount = 2
    	f.NodeLabels = opt.NodeLabels
    	f.RegisterSchedulable = true
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top