Skip to content

Commit

Permalink
Udpate README for monitoring dashboard list permission issue (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
SurbhiJainUSC authored Dec 12, 2023
1 parent 0d5fce3 commit bbbaa85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion xpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbbaa85

Please sign in to comment.