Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for modzip (0.35 sec)

  1. pkg/proxy/nftables/proxier.go

    		masqueradeAll:       masqueradeAll,
    		masqueradeMark:      masqueradeMark,
    		conntrack:           conntrack.NewExec(utilexec.New()),
    		localDetector:       localDetector,
    		hostname:            hostname,
    		nodeIP:              nodeIP,
    		recorder:            recorder,
    		serviceHealthServer: serviceHealthServer,
    		healthzServer:       healthzServer,
    		nodePortAddresses:   nodePortAddresses,
    		networkInterfacer:   proxyutil.RealNetwork{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    	}
    
    	// pick additional ips, if cri reported them
    	for _, podIP := range podSandbox.Network.AdditionalIps {
    		if nil == netutils.ParseIPSloppy(podIP.Ip) {
    			klog.InfoS("Pod Sandbox reported an unparseable additional IP", "pod", klog.KRef(podNamespace, podName), "IP", podIP.Ip)
    			return nil
    		}
    		podIPs = append(podIPs, podIP.Ip)
    	}
    
    	return podIPs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/app/cmd.go

    			return fmt.Errorf("Invalid proxy Type: " + string(proxyArgs.Type))
    		}
    	}
    
    	podIP, _ := netip.ParseAddr(options.InstanceIPVar.Get()) // protobuf encoding of IP_ADDRESS type
    	if podIP.IsValid() {
    		// The first one must be the pod ip as we pick the first ip as pod ip in istiod.
    		proxyArgs.IPAddresses = []string{podIP.String()}
    	}
    
    	// Obtain all the IPs from the node
    	proxyAddrs := make([]string, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/strategy_test.go

    				Status: api.PodStatus{
    					PodIPs: []api.PodIP{
    						{IP: "10.0.0.10"},
    						{IP: "10.0.0.20"},
    					},
    				},
    			},
    			expectedIP: "10.0.0.10",
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			podIP := getPodIP(tc.pod)
    			if podIP != tc.expectedIP {
    				t.Errorf("expected pod ip:%v does not match actual %v", tc.expectedIP, podIP)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/status/server_test.go

    			probePath:  "app-health/hello-world/livez",
    			config:     simpleTCPConfig,
    			statusCode: http.StatusOK,
    			podIP:      "127.0.0.1",
    		},
    		{
    			name:       "tcp-livez-ipv6",
    			probePath:  "app-health/hello-world/livez",
    			config:     simpleTCPConfig,
    			statusCode: http.StatusOK,
    			podIP:      "::1",
    			ipv6:       true,
    		},
    		{
    			name:       "tcp-livez-wrapped-ipv6",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier.go

    	}
    
    	// Generate the masquerade mark to use for SNAT rules.
    	masqueradeValue := 1 << uint(masqueradeBit)
    	masqueradeMark := fmt.Sprintf("%#08x", masqueradeValue)
    
    	logger.V(2).Info("Record nodeIP and family", "nodeIP", nodeIP, "family", ipFamily)
    
    	if len(scheduler) == 0 {
    		logger.Info("IPVS scheduler not specified, use rr by default")
    		scheduler = defaultScheduler
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  7. cmd/kubelet/app/options/options.go

    	BootstrapKubeconfig string
    
    	// HostnameOverride is the hostname used to identify the kubelet instead
    	// of the actual hostname.
    	HostnameOverride string
    	// NodeIP is IP address of the node.
    	// If set, kubelet will use this IP address for the node.
    	NodeIP string
    
    	// Container-runtime-specific options.
    	config.ContainerRuntimeOptions
    
    	// certDirectory is the directory where the TLS certs are located.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status_test.go

    func TestValidateNodeIPParam(t *testing.T) {
    	type test struct {
    		nodeIP   string
    		success  bool
    		testName string
    	}
    	tests := []test{
    		{
    			nodeIP:   "",
    			success:  false,
    			testName: "IP not set",
    		},
    		{
    			nodeIP:   "127.0.0.1",
    			success:  false,
    			testName: "IPv4 loopback address",
    		},
    		{
    			nodeIP:   "::1",
    			success:  false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier_test.go

    	}
    	networkInterfacer.AddInterfaceAddr(&itf1, addrs1)
    
    	nft := knftables.NewFake(nftablesFamily, kubeProxyTable)
    
    	var nodeIP net.IP
    	if ipFamily == v1.IPv4Protocol {
    		nodeIP = netutils.ParseIPSloppy(testNodeIP)
    	} else {
    		nodeIP = netutils.ParseIPSloppy(testNodeIPv6)
    	}
    	p := &Proxier{
    		ipFamily:            ipFamily,
    		svcPortMap:          make(proxy.ServicePortMap),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    				// Primary IP is not set
    				if s.PodIP == "" {
    					s.PodIP = hostIPs[0].String()
    					s.PodIPs = []v1.PodIP{{IP: s.PodIP}}
    				}
    				// Secondary IP is not set #105320
    				if len(hostIPs) == 2 && len(s.PodIPs) == 1 {
    					if utilnet.IPFamilyOfString(s.PodIPs[0].IP) != utilnet.IPFamilyOf(hostIPs[1]) {
    						s.PodIPs = append(s.PodIPs, v1.PodIP{IP: hostIPs[1].String()})
    					}
    				}
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top