Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for inferPodMeta (0.15 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			name, namespace, err := inferPodMeta(ctx, client, "app.kubernetes.io/name=prometheus")
    			if err != nil {
    				return err
    			}
    			return portForward(name, namespace, "Prometheus",
    				"http://%s", bindAddress, promPort, client, cmd.OutOrStdout(), browser)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top