Kubernetes RBAC Generator - Generate Role & ClusterRole YAML

Free Kubernetes RBAC policy generator. Select namespace, resources, and verbs to generate Role or ClusterRole YAML instantly.

Generate Kubernetes Role or ClusterRole YAML instantly. Select your options and copy the output directly to your cluster.

Role Settings

<div class="rbac-section">
  <h3>Verbs (Actions)</h3>
  <div class="checkbox-grid">
    <label class="checkbox-item"><input type="checkbox" id="v_get" onchange="generateRbac()"> get</label>
    <label class="checkbox-item"><input type="checkbox" id="v_list" checked onchange="generateRbac()"> list</label>
    <label class="checkbox-item"><input type="checkbox" id="v_watch" onchange="generateRbac()"> watch</label>
    <label class="checkbox-item"><input type="checkbox" id="v_create" onchange="generateRbac()"> create</label>
    <label class="checkbox-item"><input type="checkbox" id="v_update" onchange="generateRbac()"> update</label>
    <label class="checkbox-item"><input type="checkbox" id="v_patch" onchange="generateRbac()"> patch</label>
    <label class="checkbox-item"><input type="checkbox" id="v_delete" onchange="generateRbac()"> delete</label>
    <label class="checkbox-item"><input type="checkbox" id="v_deletecollection" onchange="generateRbac()"> deletecollection</label>
  </div>
</div>

Resources

Generated YAML

✓ Copied to clipboard

Need a full RBAC audit? Our K8s security experts at kubernetes.ae can review your entire RBAC configuration and identify over-privileged roles. →

Building a DevOps or AI Infra Startup?

Hire the team behind the teardowns. MVP infrastructure, fractional platform team, or co-found with us.

Every engagement is scoped by our principal architect, Adrian Vale: 20+ years in production engineering, 40+ professional certifications. Meet Adrian

Talk to an Expert