Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WorkloadIPs (0.06 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Zone    string `json:"zone,omitempty"`
    	Subzone string `json:"subzone,omitempty"`
    }
    
    type ZtunnelWorkload struct {
    	UID                   string            `json:"uid"`
    	WorkloadIPs           []string          `json:"workloadIps"`
    	Waypoint              *GatewayAddress   `json:"waypoint,omitempty"`
    	NetworkGateway        *GatewayAddress   `json:"networkGateway,omitempty"`
    	Protocol              string            `json:"protocol"`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 30 17:26:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. 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) {
    		return false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/testdata/localhost.yaml

    # This allows local testing by sending requests through the local ztunnel to other servers running on localhost.
    workloads:
    - uid: cluster1//v1/Pod/default/local
      name: local
      namespace: default
      serviceAccount: default
      workloadIps: ["127.0.0.1"]
      protocol: HBONE
      node: local
      network: ""
      services:
        "default/example.com":
          80: 8080
        "default/example2.com":
          80: 8080
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/connections.go

    		if ip == "" {
    			// fallback to None when a service does not have a VIP
    			ip = "None"
    		}
    		serviceNames[ip] = s.Hostname
    	}
    	for _, s := range d.Workloads {
    		var ip string
    		if len(s.WorkloadIPs) != 0 {
    			ip = s.WorkloadIPs[0]
    		}
    		if ip == "" {
    			// fallback to None when a workload does not have an IP
    			ip = "None"
    		}
    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top