Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for workloadIps (0.22 sec)

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

    	} else {
    		fmt.Fprintln(w, "NAMESPACE\tPOD NAME\tIP\tNODE")
    	}
    
    	for _, wl := range verifiedWorkloads {
    		var ip string
    		if len(wl.WorkloadIPs) > 0 {
    			ip = wl.WorkloadIPs[0]
    		}
    		if filter.Verbose {
    			waypoint := waypointName(wl, zDump.Services)
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\n",
    				wl.Namespace, wl.Name, ip, wl.Node, waypoint, wl.Protocol)
    		} else {
    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/writer/ztunnel/configdump/api.go

    type Locality struct {
    	Region  string `json:"region,omitempty"`
    	Zone    string `json:"zone,omitempty"`
    	Subzone string `json:"subzone,omitempty"`
    }
    
    type ZtunnelWorkload struct {
    	WorkloadIPs       []string          `json:"workloadIps"`
    	Waypoint          *Waypoint         `json:"waypoint,omitempty"`
    	Protocol          string            `json:"protocol"`
    	Name              string            `json:"name"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl x ztunnel-config workloads --file ztunnel-config.json
    
      # Retrieve workload summary for a specific namespace
      istioctl x ztunnel-config workloads <ztunnel-name[.namespace]> --workloads-namespace foo
    `,
    		Aliases: []string{"w", "workloads"},
    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	namespace = ctx.Namespace()
    	workloadCmd := &cobra.Command{
    		Use:   "workload",
    		Short: "Commands to assist in configuring and deploying workloads running on VMs and other non-Kubernetes environments",
    		Example: `  # workload group yaml generation
      istioctl x workload group create
    
      # workload entry configuration generation
      istioctl x workload entry configure`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. 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 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics.go

    	if err != nil {
    		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)
    		}
    
    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)
  9. istioctl/pkg/kubeinject/kubeinject.go

    	injectCmd := &cobra.Command{
    		Use:   "kube-inject",
    		Short: "Inject Istio sidecar into Kubernetes pod resources",
    		Long: `
    kube-inject manually injects the Istio sidecar into Kubernetes
    workloads. Unsupported resources are left unmodified so it is safe to
    run kube-inject over a single file that contains multiple Service,
    ConfigMap, Deployment, etc. definitions for a complex application. When in
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    								if gw != nil {
    									recordGateways[gwID] = true
    									if gw.Spec.Selector == nil {
    										fmt.Fprintf(writer,
    											"Ingress Gateway %s/%s be applyed all workloads",
    											gns, gatewayName)
    										continue
    									}
    
    									var matchIngressInfos []*ingressInfo
    									for i, ingress := range foundIngresses {
    										if ingress.match(gw) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top