- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PodsForSelector (0.08 sec)
-
istioctl/pkg/metrics/metrics.go
client, err := ctx.CLIClientWithRevision(metricsOpts.Revision) if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } 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 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0)