Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for workloads (0.31 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 May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K 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 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K 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 x ztunnel-config workload
    
      # Retrieve summary of workloads on node XXXX for a given Ztunnel instance.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. 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)
  5. 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 May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K 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)
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. 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 May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.2K 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 May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K 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 May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. architecture/ambient/peer-authentication.md

    particular, ztunnel only supports 2 (custom) xDS resources: [`Workload`](../../pkg/workloadapi/workload.proto) and [`Authorization`](../../pkg/workloadapi/security/authorization.proto). As such, ztunnel does not receive `PeerAuthentication`s directly; when istiod detects a `PeerAuthentication` resource that targets an Ambient captured workload, it computes the effective policy for that workload (taking into account the mesh-wide -> namespace -> workload precedence rules) and sends that policy to ztunnel. The...
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top