Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for platformSetup (0.19 sec)

  1. cmd/kube-proxy/app/server_other.go

    }
    
    var unsupportedError = fmt.Errorf(runtime.GOOS + "/" + runtime.GOARCH + "is unsupported")
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	return unsupportedError
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_windows.go

    	}
    	if config.Winkernel.RootHnsEndpointName == "" {
    		config.Winkernel.RootHnsEndpointName = "cbr0"
    	}
    }
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	// Preserve backward-compatibility with the old secondary IP behavior
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_linux.go

    	}
    	o.logger.V(2).Info("DetectLocalMode", "localMode", string(config.DetectLocalMode))
    }
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server_linux_test.go

    				Client:   client,
    				Hostname: "nodename",
    				NodeIPs: map[v1.IPFamily]net.IP{
    					v1.IPv4Protocol: netutils.ParseIPSloppy("127.0.0.1"),
    					v1.IPv6Protocol: net.IPv6zero,
    				},
    			}
    			err := s.platformSetup(ctx)
    			if err != nil {
    				t.Errorf("ProxyServer.createProxier() error = %v", err)
    				return
    			}
    			if !reflect.DeepEqual(s.podCIDRs, tt.wantPodCIDRs) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server.go

    		Namespace: "",
    	}
    
    	if len(config.HealthzBindAddress) > 0 {
    		s.HealthzServer = healthcheck.NewProxierHealthServer(config.HealthzBindAddress, 2*config.IPTables.SyncPeriod.Duration)
    	}
    
    	err = s.platformSetup(ctx)
    	if err != nil {
    		return nil, err
    	}
    
    	err = checkBadConfig(s)
    	if err != nil {
    		logger.Error(err, "Kube-proxy configuration may be incomplete or incorrect")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top