google / xpk

xpk (Accelerated Processing Kit, pronounced x-p-k,) is a software tool to help Cloud developers to orchestrate training jobs on accelerators such as TPUs and GPUs on GKE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Jobset error messaging to clearly list solution around Kubernetes Permissions

Obliviour opened this issue · comments

Write out a clear error message when the user doesn't have the right permissions:

"Failing to apply JobSet means you're missing Kubernetes Permissions, you can validate this by checking if the above error references permissions problems. Typically users fix this by applying the role 'GKE Admin' in [console.cloud.google.com](http://console.cloud.google.com/) or you can more laboriously give yourself the right permissions. Then remember to 'gcloud auth login' and make sure you have the right permissions by running '(insert command to see that your user has the right permissions'."