For the RBAC practice test, I’m trying to retrieve a list of verbs for pods usin . . .

Ejay Tumacder:
For the RBAC practice test, I’m trying to retrieve a list of verbs for pods using curl <https://controlplane:6443/api/v1/pods> -k and I remembered to do kubectl proxy first but I get "message": "pods is forbidden: User \"system:anonymous\" cannot list resource \"pods\" in API group \"\" at the cluster scope"

What am I doing wrong here?

Ejay Tumacder:
Follow up question, where in http://k8s.io/docs|k8s.io/docs are verbs listed? Is there another way to list out verbs for a resource?

unnivkn:
https://kubernetes.io/docs/reference/access-authn-authz/rbac/

unnivkn:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-clusterrole-em-

Jon Stanley:
looks like you are not logged in to the cluster - note that your user is system:anonymous