Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for Workloads (0.24 sec)

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

    }
    
    // PrintWorkloadDump prints the relevant workloads in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintWorkloadDump(filter WorkloadFilter, outputFormat string) error {
    	zDump := c.ztunnelDump
    	filteredWorkloads := []*ZtunnelWorkload{}
    	for _, workload := range zDump.Workloads {
    		if filter.Verify(workload) {
    			filteredWorkloads = append(filteredWorkloads, workload)
    		}
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. 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.
    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)
  3. 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)
  4. 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.
    
    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)
  5. 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)
  6. 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
    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)
  7. istioctl/pkg/util/configdump/workload.go

    	Namespace string         `json:"namespace"`
    	Hostname  string         `json:"hostname"`
    	Addresses []string       `json:"addresses"`
    	Ports     map[string]int `json:"ports"`
    }
    
    type ZtunnelDump struct {
    	Workloads    map[string]*ZtunnelWorkload `json:"by_addr"`
    	Services     map[string]*ZtunnelService  `json:"by_vip"`
    	Certificates []*CertsDump                `json:"certificates"`
    }
    
    type CertsDump struct {
    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)
  8. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Scope     string             `json:"scope"`
    	Action    string             `json:"action"`
    	Rules     [][][]*PolicyMatch `json:"rules"`
    }
    
    type ZtunnelDump struct {
    	Workloads     map[string]*ZtunnelWorkload `json:"workloads"`
    	Services      map[string]*ZtunnelService  `json:"services"`
    	Policies      map[string]*ZtunnelPolicy   `json:"policies"`
    	Certificates  []*CertsDump                `json:"certificates"`
    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)
  9. common-protos/k8s.io/api/batch/v1/generated.proto

      // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
      // +optional
      optional bool manualSelector = 5;
    
      // Describes the pod that will be created when executing a job.
      // The only allowed template.spec.restartPolicy values are "Never" or "OnFailure".
      // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. manifests/charts/README.md

    The install is organized in 'environments' - each environment consists of a set of components
    in different namespaces that are configured to work together. Regardless of 'environment',
    workloads can talk with each other and obey the Istio configuration resources, but each environment
    can use different Istio versions and different configuration defaults.
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top