Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PodRedirectionActive (0.12 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.7K 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top