Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for workloadIps (0.2 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

    {
      "workloads": {
        "network1/10.244.2.54": {
          "workloadIps": [
            "10.244.2.54"
          ],
          "waypoint": {
            "destination": "/10.96.65.117",
            "port": 15008
          },
          "protocol": "HBONE",
          "uid": "Kubernetes//Pod/bookinfo/ratings-v1-6484c4d9bb-mdxm5",
          "name": "ratings-v1-6484c4d9bb-mdxm5",
          "namespace": "bookinfo",
          "trustDomain": "cluster.local",
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/workload.go

    	} else {
    		fmt.Fprintln(w, "NAMESPACE\tPOD NAME\tIP\tNODE")
    	}
    
    	for _, wl := range verifiedWorkloads {
    		var ip string
    		if len(wl.WorkloadIPs) > 0 {
    			ip = wl.WorkloadIPs[0]
    		}
    		if filter.Verbose {
    			waypoint := waypointName(wl, zDump.Services)
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\n",
    				wl.Namespace, wl.Name, ip, wl.Node, waypoint, wl.Protocol)
    		} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/workload.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    type ZtunnelWorkload struct {
    	WorkloadIPs       []string  `json:"workloadIps"`
    	Waypoint          *Waypoint `json:"waypoint"`
    	GatewayIP         []byte    `json:"gatewayIp"`
    	Protocol          string    `json:"protocol"`
    	Name              string    `json:"name"`
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Mar 22 16:24:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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":
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/api.go

    type Locality struct {
    	Region  string `json:"region,omitempty"`
    	Zone    string `json:"zone,omitempty"`
    	Subzone string `json:"subzone,omitempty"`
    }
    
    type ZtunnelWorkload struct {
    	WorkloadIPs       []string  `json:"workloadIps"`
    	Waypoint          *Waypoint `json:"waypoint"`
    	Protocol          string    `json:"protocol"`
    	Name              string    `json:"name"`
    	Namespace         string    `json:"namespace"`
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. architecture/ambient/peer-authentication.md

    ## PeerAuthentication and ztunnel
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. architecture/ambient/ztunnel.md

    Most of the API is fairly straight forward.
    However, one interesting aspect is how these policies associate with workloads.
    Istio's AuthorizationPolicy has label selectors.
    However, we intentionally do not send those as part of the Workload API, in order to keep the size low.
    
    The obvious solution to this is to put the list of selected workloads into the policy itself.
    However, this means anytime a workload changes (often), we need to update the policy.
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Sep 13 02:17:30 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    	workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int {
    		if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Info.Namespace, b.Info.Namespace)
    	})
    	workloads = slices.FilterInPlace(workloads, func(state WorkloadState) bool {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl ztunnel-config workloads --file ztunnel-config.json
    
      # Retrieve workload summary for a specific namespace
      istioctl ztunnel-config workloads <ztunnel-name[.namespace]> --workloads-namespace foo
    `,
    		Aliases: []string{"w", "workloads"},
    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			if cw.ztunnelDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top