Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Pi (0.12 sec)

  1. cni/pkg/plugin/kubernetes.go

    	res = append(res, pod.Spec.Containers...)
    	return res
    }
    
    func (pi PodInfo) String() string {
    	var b strings.Builder
    	b.WriteString(fmt.Sprintf("  Containers: %v\n", sets.SortedList(pi.Containers)))
    	b.WriteString(fmt.Sprintf("  Labels: %+v\n", pi.Labels))
    	b.WriteString(fmt.Sprintf("  Annotations: %+v\n", pi.Annotations))
    	b.WriteString(fmt.Sprintf("  Envs: %+v\n", pi.ProxyEnvironments))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // <sign>            ::= "+" | "-"
    // <signedNumber>    ::= <number> | <sign><number>
    // <suffix>          ::= <binarySI> | <decimalExponent> | <decimalSI>
    // <binarySI>        ::= Ki | Mi | Gi | Ti | Pi | Ei
    //
    // 	(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)
    //
    // <decimalSI>       ::= m | "" | k | M | G | T | P | E
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. istioctl/pkg/version/version.go

    				}
    				node := cc.Node
    				pi = append(pi, istioVersion.ProxyInfo{
    					ID:           node.Id,
    					IstioVersion: getIstioVersionFromXdsMetadata(node.Metadata),
    				})
    			default:
    				return nil, fmt.Errorf("unexpected resource type %q", resource.TypeUrl)
    			}
    		}
    		return &pi, nil
    	}
    }
    
    func getIstioVersionFromXdsMetadata(metadata *structpb.Struct) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top