Skip to content
Brendan Burns edited this page Jan 5, 2021 · 1 revision

Troubleshooting/Frequently asked questions

ApiException: Forbidden while running code in cluster

It is very likely that your Pod doesn't have the correct RBAC permissions. By default most pods have very limited access to the Kubernetes API server. You need to ensure that the ServiceAccount for the Pod has the correct RBAC permissions.

For more details see: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#service-account-permissions