Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pip (0.16 sec)

  1. cni/pkg/nodeagent/net.go

    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    		log.Debugf("adding pod %s probe to ipset %s with ip %s", pod.Name, hostsideProbeSet.Prefix, pip)
    		// Add IP/port combo to set. Note that we set Replace to true - a pod ip/port combo already being
    		// in the set is perfectly fine, and something we can always safely overwrite, so we will.
    		if err := hostsideProbeSet.AddIP(pip, ipProto, podUID, true); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. cni/pkg/util/podutil.go

    func GetPodIPsIfPresent(pod *corev1.Pod) []netip.Addr {
    	var podIPs []netip.Addr
    	if len(pod.Status.PodIPs) != 0 {
    		for _, pip := range pod.Status.PodIPs {
    			ip := netip.MustParseAddr(pip.IP)
    			podIPs = append(podIPs, ip)
    		}
    	} else if len(pod.Status.PodIP) != 0 {
    		ip := netip.MustParseAddr(pod.Status.PodIP)
    		podIPs = append(podIPs, ip)
    	}
    	return podIPs
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top