Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for workload (0.26 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 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. 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)
  3. 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 08 22:53:08 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. istioctl/pkg/metrics/metrics.go

    		return fmt.Errorf("failure running port forward process: %v", err)
    	}
    
    	printHeader(c.OutOrStdout())
    
    	workloads := args
    	for _, workload := range workloads {
    		sm, err := metrics(promAPI, workload, metricsDuration)
    		if err != nil {
    			return fmt.Errorf("could not build metrics for workload '%s': %v", workload, err)
    		}
    
    		printMetrics(c.OutOrStdout(), sm)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    	defer p.mu.Unlock()
    	if existing := p.currentPodCache[uid]; existing.Netns != nil {
    		if existing.Netns.Inode() == workload.Netns.Inode() {
    			workload.Netns.Close()
    			// Replace the workload, but keep the old Netns
    			p.currentPodCache[uid] = WorkloadInfo{
    				Workload: workload.Workload,
    				Netns:    existing.Netns,
    			}
    			// already in cache
    			return existing.Netns
    		}
    		log.Debug("netns inode mismatch, using the new one")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. manifests/charts/istiod-remote/files/gateway-injection-template.yaml

        volumeMounts:
        - name: workload-socket
          mountPath: /var/run/secrets/workload-spiffe-uds
        - name: credential-socket
          mountPath: /var/run/secrets/credential-uds
        {{- if eq .Values.global.caName "GkeWorkloadCertificate" }}
        - name: gke-workload-certificate
          mountPath: /var/run/secrets/workload-spiffe-credentials
          readOnly: true
        {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml

        volumeMounts:
        - name: workload-socket
          mountPath: /var/run/secrets/workload-spiffe-uds
        - name: credential-socket
          mountPath: /var/run/secrets/credential-uds
        {{- if eq .Values.global.caName "GkeWorkloadCertificate" }}
        - name: gke-workload-certificate
          mountPath: /var/run/secrets/workload-spiffe-credentials
          readOnly: true
        {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics_test.go

    			"sum(rate(istio_requests_total{destination_workload=~\"details.*\", destination_workload_namespace=~\".*\",reporter=\"destination\"}[1m0s]))": prometheus_model.Vector{ // nolint: lll
    				&prometheus_model.Sample{Value: 0.04},
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. manifests/addons/gen.sh

      echo -e "\n---\n"
      kubectl create configmap -n istio-system istio-services-grafana-dashboards \
        --dry-run=client -oyaml \
        --from-file=istio-workload-dashboard.json="${TMP}/istio-workload-dashboard.json" \
        --from-file=istio-service-dashboard.json="${TMP}/istio-service-dashboard.json" \
        --from-file=istio-mesh-dashboard.json="${TMP}/istio-mesh-dashboard.json" \
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		},
    		{
    			name:    "errors if config dump is not primed",
    			wantErr: true,
    		},
    		{
    			name:               "returns expected workload summary onto Stdout",
    			callPrime:          true,
    			wantOutputWorkload: "testdata/workloadsummary.txt",
    		},
    		{
    			name:               "returns expected workload summary with the default namespace",
    			callPrime:          true,
    			configNamespace:    "default",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top