Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Tanghe (0.16 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    				defer ticker.Stop()
    				for range ticker.C {
    					programmed := false
    					gwc, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace())).Get(context.TODO(), gw.Name, metav1.GetOptions{})
    					if err == nil {
    						// Check if gateway has Programmed condition set to true
    						for _, cond := range gwc.Status.Conditions {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

                  resource: limits.cpu
            - name: PROXY_CONFIG
              value: |
                     {{ protoToJSON .ProxyConfig }}
            {{- if .ProxyConfig.ProxyMetadata }}
            {{- range $key, $value := .ProxyConfig.ProxyMetadata }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- end }}
            - name: GOMEMLIMIT
              valueFrom:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers.go

    	go s.queue.Run(s.ctx.Done())
    }
    
    func (s *InformerHandlers) GetAmbientPods() []*corev1.Pod {
    	var pods []*corev1.Pod
    	for _, pod := range s.pods.List(metav1.NamespaceAll, klabels.Everything()) {
    		ns := s.namespaces.Get(pod.Namespace, "")
    		if ns == nil {
    			log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name)
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. cni/pkg/util/podutil_test.go

    			name: "pod has sidecar, pod has ambient mode label",
    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       podWithSidecarAndAmbientEnabledLabel,
    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want {
    				t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables.go

    	optionalDeleteCmds := [][]string{
    		// flush-then-delete our created chains
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodOutput},
    		{"-t", iptablesconstants.NAT, "-F", ChainInpodOutput},
    		{"-t", iptablesconstants.MANGLE, "-X", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-X", ChainInpodOutput},
    		{"-t", iptablesconstants.NAT, "-X", ChainInpodOutput},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := dedupPorts(tt.args.ports); !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("dedupPorts() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. manifests/charts/ztunnel/templates/rbac.yaml

    apiVersion: v1
    kind: ServiceAccount
      {{- with .Values.imagePullSecrets }}
    imagePullSecrets:
      {{- range . }}
      - name: {{ . }}
      {{- end }}
      {{- end }}
    metadata:
      name: ztunnel
      namespace: {{ .Release.Namespace }}
      labels:
        {{- .Values.labels | toYaml | nindent 4}}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    ---
    {{- if (eq .Values.platform "openshift") }}
    apiVersion: rbac.authorization.k8s.io/v1
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil.go

    // K8S may not have received the pod IPs yet, and may not report the pod as having any.
    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)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    		if podNamespace == excludeNs {
    			log.Infof("pod namespace excluded")
    			return nil
    		}
    	}
    
    	// Begin ambient plugin logic
    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)
  10. manifests/charts/istio-control/istio-discovery/templates/deployment.yaml

        install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }}
        operator.istio.io/component: "Pilot"
        istio: pilot
        release: {{ .Release.Name }}
    {{- range $key, $val := .Values.pilot.deploymentLabels }}
        {{ $key }}: "{{ $val }}"
    {{- end }}
    spec:
    {{- if not .Values.pilot.autoscaleEnabled }}
    {{- if .Values.pilot.replicaCount }}
      replicas: {{ .Values.pilot.replicaCount }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top