Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Pi (0.14 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    			"redirectMode", isFound, valErr)
    	}
    
    	if pi.ProxyUID != nil && *pi.ProxyUID != 0 {
    		redir.noRedirectUID = fmt.Sprintf("%d", *pi.ProxyUID)
    	} else {
    		redir.noRedirectUID = defaultNoRedirectUID
    	}
    
    	if pi.ProxyGID != nil && *pi.ProxyGID != 0 {
    		redir.noRedirectGID = fmt.Sprintf("%d", *pi.ProxyGID)
    	} else {
    		redir.noRedirectGID = defaultNoRedirectGID
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    			return nil
    		}
    	}
    
    	if !pi.Containers.Contains(ISTIOPROXY) {
    		log.Infof("excluded because it does not have istio-proxy container (have %v)", sets.SortedList(pi.Containers))
    		return nil
    	}
    
    	if pi.ProxyType != "" && pi.ProxyType != "sidecar" {
    		log.Infof("excluded %s/%s pod because it has proxy type %s", podNamespace, podName, pi.ProxyType)
    		return nil
    	}
    
    	val := pi.Annotations[injectAnnotationKey]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    // redirectRunningPod dynamically enters the provided pod, that is already running, and programs it's networking configuration.
    func redirectRunningPod(pod *corev1.Pod, netns string) error {
    	pi := plugin.ExtractPodInfo(pod)
    	redirect, err := plugin.NewRedirect(pi)
    	if err != nil {
    		return fmt.Errorf("setup redirect: %v", err)
    	}
    	rulesMgr := plugin.IptablesInterceptRuleMgr()
    	if err := rulesMgr.Program(pod.Name, netns, redirect); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top