In this example, we will create dev namespace and token for access this namespace only Create Namespace kubectl create namespace dev Create Service Account with permissions Create file permission-dev-namespace.yaml with content: — apiVersion: v1 kind: ServiceAccount metadata: name: dev-user namespace: dev — kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: dev-user-full-access namespace: dev rules: – apiGroups: [“”, […]