Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for RANGE (0.12 sec)

  1. cni/pkg/iptables/iptables_linux.go

    func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
    	var rules []*netlink.Rule
    	families := []int{unix.AF_INET}
    	if cfg.EnableIPv6 {
    		families = append(families, unix.AF_INET6)
    	}
    	for _, family := range families {
    		// Equiv:
    		// ip rule add fwmark 0x111/0xfff pref 32764 lookup 100
    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

          value: |
                 {{ protoToJSON .ProxyConfig }}
        - name: ISTIO_META_POD_PORTS
          value: |-
            [
            {{- $first := true }}
            {{- range $index1, $c := .Spec.Containers }}
              {{- range $index2, $p := $c.Ports }}
                {{- if (structToJSON $p) }}
                {{if not $first}},{{end}}{{ structToJSON $p }}
                {{- $first = false }}
                {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    					continue
    				}
    				for _, v := range me.Values {
    					labels = append(labels, fmt.Sprintf("%s=%s", me.Key, v))
    				}
    			}
    			return labels
    		}
    
    		var isDeactivated bool
    		for _, wh := range whs {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. 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)
  5. manifests/charts/gateways/istio-ingress/templates/deployment.yaml

              {{- if not $gateway.runAsRoot }}
              - name: ISTIO_META_UNPRIVILEGED_POD
                value: "true"
              {{- end }}
              {{- range $key, $val := $gateway.env }}
              - name: {{ $key }}
                value: "{{ $val }}"
              {{- end }}
              {{- range $key, $value := .Values.meshConfig.defaultConfig.proxyMetadata }}
              - name: {{ $key }}
                value: "{{ $value }}"
              {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 12.1K bytes
    - Viewed (1)
  6. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		return true
    	}
    
    	if wf.Namespace != "" {
    		if !strings.EqualFold(workload.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	if wf.Address != "" {
    		var find bool
    		for _, ip := range workload.WorkloadIPs {
    			if strings.EqualFold(ip, wf.Address) {
    				find = true
    				break
    			}
    		}
    		if !find {
    			return false
    		}
    	}
    	if wf.Node != "" && !strings.EqualFold(workload.Node, wf.Node) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. manifests/charts/gateways/istio-egress/templates/service.yaml

    {{- end }}
      type: {{ $gateway.type }}
      selector:
    {{ $gateway.labels | toYaml | indent 4 }}
      ports:
    
        {{- range $key, $val := $gateway.ports }}
        -
          {{- range $pkey, $pval := $val }}
          {{ $pkey}}: {{ $pval }}
          {{- end }}
        {{- end }}
    
      {{ range $app := $gateway.egressPorts }}
        -
          port: {{ $app.port }}
          name: {{ $app.name }}
      {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

        "global.meshExpansion.enabled" "Gateway and other Istio networking resources, such as in samples/multicluster/"
        "istiocoredns.enabled" "the in-proxy DNS capturing (ISTIO_META_DNS_CAPTURE)"
    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 16:38:47 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	w := c.tabwriter()
    	d := c.ztunnelDump
    	serviceNames := map[string]string{}
    	workloadNames := map[string]string{}
    	for netIP, s := range d.Services {
    		_, ip, _ := strings.Cut(netIP, "/")
    		serviceNames[ip] = s.Hostname
    	}
    	for netIP, s := range d.Workloads {
    		_, ip, _ := strings.Cut(netIP, "/")
    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    		if filter.Raw {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    	}
    
    	return errors.Join(consErr...)
    }
    
    func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    	// first add all the pods as empty:
    	for uid := range ambientPodUIDs {
    		s.currentPodSnapshot.Ensure(string(uid))
    	}
    
    	// populate full pod snapshot from cgroups
    	return s.scanProcForPodsAndCache(ambientPodUIDs)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
Back to top