Skip to main content
Access roles define the Kubernetes resources that users can manage and the actions they can perform. Before creating a role, select either a standard role or a cluster role based on the permission scope required for your business.

Select Role Type

The permission scope of a cluster role may cover the entire cluster. Configure roles with the minimum permissions required for users to complete their tasks, and avoid granting permissions to operate unrelated resources.

Create Role

  1. Log in to the GPU Cloud console and go to the Clusters page.
  2. Click the name of the target cluster to access the cluster workspace.
  3. In the left navigation pane, go to the Permissions page.
  4. Switch to the Custom Roles tab and click Create.
  5. Configure the role in the Create Custom Role dialog box.
    The following example allows viewing Pods, Pod logs, and Deployments in the default namespace. Modify the role name, namespace, resources, and actions as needed.
  6. Click OK.
After creation is complete, verify that the role is displayed on the Custom Roles tab.