Cluster and Namespace Authorization¶
Container management implements authorization based on global authority management and global user/group management. If you need to grant users the highest authority for container management (you can create, manage, and delete all clusters), please refer to What are users and access control.
Prerequisites¶
Before authorizing users/groups, complete the following preparations:
-
The user/group to be authorized has been created in the global management, please refer to User.
-
Only
Kpanda Owner
andCluster Admin
of the current cluster have cluster authorization ability. For details, please refer to Permission Description. -
Only
Kpanda Owner
,Cluster Admin
for the current cluster, currently named TheNS Admin
of the space has the namespace authorization capability.
Cluster Authorization¶
-
After the user logs in to the platform, click
Privilege Management
underContainer Management
on the left menu bar, which is located on theCluster Permissions
tab by default. -
Click the
Add Authorization
button. -
On the
Add Cluster Permission
page, select the target cluster, the user/group to be authorized, and clickOK
.At present, the only supported cluster role is
Cluster Admin
. For details about permissions, please refer to Permission Description. If you need to authorize multiple users/groups at the same time, you can clickAdd User Permissions
to add multiple times. -
Return to the cluster permission management page, and a message appears on the screen:
Cluster permission added successfully
.
Namespace Authorization¶
-
After the user logs in to the platform, click
Privilege Management
underContainer Management
on the left menu bar, and click theNamespace Permissions
tab. -
Click the
Add Authorization
button. On theAdd Namespace Permission
page, select the target cluster, target namespace, and user/group to be authorized, and clickOK
.The currently supported namespace roles are NS Admin, NS Edit, and NS View. For details about permissions, please refer to Permission Description. If you need to authorize multiple users/groups at the same time, you can click
Add User Permission
to add multiple times. ClickOK
to complete the permission authorization. -
Return to the namespace permission management page, and a message appears on the screen:
Cluster permission added successfully
.Tip
If you need to delete or edit permissions later, you can click
⋮
on the right side of the list and selectEdit
orDelete
.