Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Locati (0.18 sec)

  1. istioctl/pkg/metrics/metrics.go

    	}
    
    	pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus")
    	if err != nil {
    		return fmt.Errorf("not able to locate Prometheus pod: %v", err)
    	}
    
    	if len(pl.Items) < 1 {
    		return errors.New("no Prometheus pods found")
    	}
    
    	// only use the first pod in the list
    	promPod := pl.Items[0]
    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)
Back to top