- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for Workloads (0.07 sec)
-
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) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 24 09:07:30 UTC 2024 - 4.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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 }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
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) -
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...
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 3.9K bytes - Viewed (0)