Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for workloads (0.21 sec)

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

    	zDump := c.ztunnelDump
    	filteredWorkloads := []*ZtunnelWorkload{}
    	for _, workload := range zDump.Workloads {
    		if filter.Verify(workload) {
    			filteredWorkloads = append(filteredWorkloads, workload)
    		}
    	}
    	out, err := json.MarshalIndent(filteredWorkloads, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. 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 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	cmd := &cobra.Command{
    		Use:   "workload [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves workload configuration for the specified Ztunnel pod.",
    		Long:  `Retrieve information about workload configuration for the Ztunnel instance.`,
    		Example: `  # Retrieve summary about workload configuration for a randomly chosen ztunnel.
      istioctl ztunnel-config workload
    
      # Retrieve summary of workloads on node XXXX for a given Ztunnel instance.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    type rawDump struct {
    	Services      json.RawMessage          `json:"services"`
    	Workloads     json.RawMessage          `json:"workloads"`
    	Policies      json.RawMessage          `json:"policies"`
    	Certificates  json.RawMessage          `json:"certificates"`
    	WorkloadState map[string]WorkloadState `json:"workloadstate"`
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/services.go

    func (c *ConfigWriter) PrintServiceSummary(filter ServiceFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	workloadsByUID := slices.GroupUnique(zDump.Workloads, func(t *ZtunnelWorkload) string {
    		return t.UID
    	})
    	svcs := slices.Filter(zDump.Services, filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. 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)
    			}
    		})
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. architecture/ambient/ztunnel.md

    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.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-mesh.libsonnet

        ]),
      ], panelHeight=5)
      + [
    
        panels.tables.requests('HTTP/gRPC Workloads', queries.httpWorkloads, 'Request information for HTTP services') + {
          gridPos+: {
            h: 16,
            w: 24,
            y: 10,
          },
        },
        panels.tables.tcpRequests('TCP Workloads', queries.tcpWorkloads, 'Bytes sent and recieived information for TCP services') + {
          gridPos+: {
            h: 16,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Scope     string             `json:"scope"`
    	Action    string             `json:"action"`
    	Rules     [][][]*PolicyMatch `json:"rules"`
    }
    
    type ZtunnelDump struct {
    	Workloads     []*ZtunnelWorkload       `json:"workloads"`
    	Services      []*ZtunnelService        `json:"services"`
    	Policies      []*ZtunnelPolicy         `json:"policies"`
    	Certificates  []*CertsDump             `json:"certificates"`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 30 17:26:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/testdata/localhost.yaml

    # This shows an example local config for ztunnel that adds a workload for localhost.
    # 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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top