Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PodRedirectionActive (0.18 sec)

  1. cni/pkg/util/podutil.go

    		return false
    	}
    	return true
    }
    
    // PodRedirectionActive reports on whether the pod _has_ actually been configured for traffic redirection.
    //
    // That is, have we annotated it after successfully sending it to the node proxy and set up iptables rules.
    //
    // If you just want to know if the pod _should be_ configured for traffic redirection, see PodRedirectionEnabled
    func PodRedirectionActive(pod *corev1.Pod) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers.go

    		}
    
    		// Exclude ztunnels, and terminated daemonset pods
    		// from the snapshot.
    		if !util.IsZtunnelPod(s.systemNamespace, pod) &&
    			!kube.CheckPodTerminal(pod) &&
    			util.PodRedirectionActive(pod) {
    			pods = append(pods, pod)
    		}
    	}
    	return pods
    }
    
    // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top