Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
8.9 KiB
API Permissions
Module |
API |
Function |
Permission |
Cluster management |
GET /api/v3/projects/{project_id}/clusters |
Obtaining information about clusters in a specified project |
cce:cluster:list |
POST /api/v3/projects/{project_id}/clusters |
Creating a cluster |
cce:cluster:create |
|
GET /api/v3/projects/{project_id}/clusters/{cluster_id} |
Obtaining information about a specified cluster |
cce:cluster:get |
|
GET /api/v3/projects/{project_id}/clusters/{cluster_id}/clustercert |
Obtaining the certificates of a cluster |
||
PUT /api/v3/projects/{project_id}/clusters/{cluster_id} |
Updating information about a cluster |
cce:cluster:update |
|
DELETE /api/v3/projects/{project_id}/clusters/{cluster_id} |
Deleting a cluster |
cce:cluster:delete |
|
GET /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes |
Obtaining information about all nodes in a cluster |
cce:node:list |
|
POST /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes |
Creating nodes for a cluster |
cce:node:create |
|
PUT /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} |
Updating information about a specified node |
cce:node:update |
|
GET /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} |
Obtaining information about a specified node |
cce:node:get |
|
DELETE /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} |
Deleting a node |
cce:node:delete |
|
GET /api/v3/projects/{project_id}/jobs/{job_id} |
Obtaining information about a specified job |
cce:job:get |
|
GET /api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools |
Obtaining information about all node pools in a specified cluster |
cce:nodepool:list |
|
Storage management |
POST /api/v1/namespaces/{namespace}/cloudpersistentvolumeclaims |
Creating a PersistentVolumeClaim |
cce:storage:create |
POST /api/v1/cloudpersistentvolumes |
Creating a PersistentVolume |
||
DELETE /api/v1/namespaces/{namespace}/cloudpersistentvolumeclaims/{name} |
Deleting a PersistentVolumeClaim |
cce:storage:delete |
|
DELETE /api/v1/cloudpersistentvolumes/{name} |
Deleting a PersistentVolume |
||
Kubernetes-native APIs |
/api/* |
Operating Kubernetes resources |
cce:kubernetes:* |
/apis/* |