Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ipv4Supported (0.26 sec)

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

    // what IP families are supported (and whether the configuration is usable at all).
    func (s *ProxyServer) platformCheckSupported(ctx context.Context) (ipv4Supported, ipv6Supported, dualStackSupported bool, err error) {
    	// Check if Kernel proxier can be used at all
    	_, err = winkernel.CanUseWinKernelProxier(winkernel.WindowsKernelCompatTester{})
    	if err != nil {
    		return false, false, false, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_linux.go

    func (s *ProxyServer) platformCheckSupported(ctx context.Context) (ipv4Supported, ipv6Supported, dualStackSupported bool, err error) {
    	logger := klog.FromContext(ctx)
    
    	if isIPTablesBased(s.Config.Mode) {
    		ipt, _ := getIPTables(v1.IPFamilyUnknown)
    		ipv4Supported = ipt[0].Present()
    		ipv6Supported = ipt[1].Present()
    
    		if !ipv4Supported && !ipv6Supported {
    			err = fmt.Errorf("iptables is not available on this host")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_other.go

    // what IP families are supported (and whether the configuration is usable at all).
    func (s *ProxyServer) platformCheckSupported(ctx context.Context) (ipv4Supported, ipv6Supported, dualStackSupported bool, err error) {
    	return false, false, false, unsupportedError
    }
    
    // createProxier creates the proxy.Provider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server.go

    		logger.Error(err, "Kube-proxy configuration may be incomplete or incorrect")
    	}
    
    	ipv4Supported, ipv6Supported, dualStackSupported, err := s.platformCheckSupported(ctx)
    	if err != nil {
    		return nil, err
    	} else if (s.PrimaryIPFamily == v1.IPv4Protocol && !ipv4Supported) || (s.PrimaryIPFamily == v1.IPv6Protocol && !ipv6Supported) {
    		return nil, fmt.Errorf("no support for primary IP family %q", s.PrimaryIPFamily)
    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