diff --git a/README.md b/README.md index 66f61283..51c31705 100644 --- a/README.md +++ b/README.md @@ -402,6 +402,11 @@ python3 xpk.py cluster create --cluster-cpu-machine-type=CPU_TYPE ... Add [Kubernetes Engine Admin](https://cloud.google.com/iam/docs/understanding-roles#kubernetes-engine-roles) to your user. +* `ERROR: (gcloud.monitoring.dashboards.list) User does not have permission to access projects instance (or it may not exist)` + + Add [Monitoring Viewer](https://cloud.google.com/iam/docs/understanding-roles#monitoring.viewer) to your user. + + ## Reservation Troubleshooting: ### How to determine your reservation and its size / utilization: diff --git a/xpk.py b/xpk.py index 84de0e74..f9ebfdcf 100644 --- a/xpk.py +++ b/xpk.py @@ -1901,7 +1901,7 @@ def get_gke_outlier_dashboard(args): outlier_dashboard_filter = "displayName:'GKE - TPU Monitoring Dashboard'" command = ( 'gcloud monitoring dashboards list' - f' --project={args.project} --filter="{outlier_dashboard_filter}" --format="value(name)"' + f' --project={args.project} --filter="{outlier_dashboard_filter}" --format="value(name)" --verbosity=error' ) return_code, return_value = run_command_for_value(command, 'GKE Dashboard List', args)