---
title: "Discussion on \"Understanding Roles and RoleBindings in Kubernetes\" | Hashnode"
description: "Discussion on \"Understanding Roles and RoleBindings in Kubernetes\". Roles and RoleBindings are used to grant permission to users, groups, and service account within a specific namespace.\n\nRole:\n  It defines a set of permissions within a namespace.\n\nRoleBinding:\n  It binds a role to a user, group or service account.\n\n..."
url: "https://hashnode.com/posts/understanding-roles-and-rolebindings-in-kubernetes/667027ca2927a002c10b814b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding Roles and RoleBindings in Kubernetes](https://kubernetes-by-gaurav.hashnode.dev/understanding-roles-and-rolebindings-in-kubernetes?utm_source=hashnode&utm_medium=feed)

Roles and RoleBindings are used to grant permission to users, groups, and service account within a specific namespace. Role: It defines a set of permissions within a namespace. RoleBinding: It binds a role to a user, group or service account. ...

Jun 17, 2024 · 3 min read · kubernetes-by-gaurav.hashnode.dev  
Read the article

-   [#roles](https://hashnode.com/tag/roles)
-   [#kubernetes-rolebindings](https://hashnode.com/tag/kubernetes-rolebindings)
-   [#kubernetes-role](https://hashnode.com/tag/kubernetes-role)
-   [#rbac](https://hashnode.com/tag/rbac)
-   [#kubernetesadmin-kubernetessecurity-kubernetesbestpractices-containernetworking-kubernetesautomation-kubernetesmonitoring](https://hashnode.com/tag/kubernetesadmin-kubernetessecurity-kubernetesbestpractices-containernetworking-kubernetesautomation-kubernetesmonitoring)
-   [#kubernetes-security](https://hashnode.com/tag/kubernetes-security)
-   [#namespaces](https://hashnode.com/tag/namespaces)

## Written by

[Gaurav Kumar](https://hashnode.com/@gkkumar)

@gkkumar · Bangalore, Karnataka, IND

  
[View profile](https://hashnode.com/@gkkumar)

DevOps Engineer

I am working as a full time DevOps Engineer at Tata Consultancy Services from past 2.7 yrs, I have very good experience of containerization tools Docker, Kubernetes, OpenShift. I have good experience of using Ansible, Terraform and others.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
