Skill / SKILL.md

K8s Rbac Troubleshooting

k8s-servant/k8s-skills

Use when a Kubernetes request is refused by RBAC: "Error from server (Forbidden)", "User ... cannot list resource ... in the namespace" or "at the cluster scope", a ServiceAccount, controller, CI job or person getting 403, a RoleBinding that does not seem to apply (wrong namespace, wrong subject, a ClusterRole bound with a RoleBinding), "is attempting to grant RBAC permissions not currently held", "roleRef ... field is immutable", 401 Unauthorized versus 403 Forbidden, or a custom resource that `view` cannot read. Investigates with kubectl auth can-i, get and describe, and proposes fixes. Reads first and asks before changing anything.
3 views 39 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when a Kubernetes request is refused by RBAC: "Error from server (Forbidden)", "User ... cannot list resource ... in the namespace" or "at the cluster scope", a ServiceAccount, controller, CI job or person getting 403, a RoleBinding that does not seem to apply (wrong namespace, wrong subject, a ClusterRole bound with a RoleBinding), "is attempting to grant RBAC permissions not currently held", "roleRef ... field is immutable", 401 Unauthorized versus 403 Forbidden, or a custom resource that `view` cannot read. Investigates with kubectl auth can-i, get and describe, and proposes fixes. Reads first and asks before changing anything.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/k8s-servant/k8s-skills' skill-source

Use the complete skill-source/skills/k8s-rbac-troubleshooting directory with your client’s skill installer.

  • skills/k8s-rbac-troubleshooting

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/k8s-rbac-troubleshooting

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c4ca250bd1b674b689bded9372b1cb72af4591eb6e05df2de0cd6adf36c3dc97
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills