授权项分类
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Namespace |
POST /api/v1/namespaces |
CCI:namespace:create |
√ |
√ |
查询namespace |
GET /api/v1/namespaces/{name} |
CCI:namespace:get |
√ |
√ |
列出namespaces |
GET /api/v1/namespaces |
CCI:namespace:list |
√ |
√ |
删除namespace |
DELETE /api/v1/namespaces/{name} |
CCI:namespace:delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Pod |
POST /api/v1/namespaces/{namespace}/pods |
CCI:namespaceSubResource:Create |
√ |
√ |
查询Pod |
GET /api/v1/namespaces/{namespace}/pods/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询指定Namespace下所有Pod |
GET /api/v1/namespaces/{namespace}/pods |
CCI:namespaceSubResource:List |
√ |
√ |
查询Pod状态 |
GET /api/v1/namespaces/{namespace}/pods/{name}/status |
CCI:namespaceSubResource:Get |
√ |
√ |
查询Pod日志 |
GET /api/v1/namespaces/{namespace}/pods/{name}/log |
CCI:namespaceSubResource:Get |
√ |
√ |
列出用户所有的Pod |
GET /api/v1/pods |
cci:namespaceSubResource:List |
√ |
√ |
替换Pod |
PUT /api/v1/namespaces/{namespace}/pods/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新Pod |
PATCH /api/v1/namespaces/{namespace}/pods/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
删除Pod |
DELETE /api/v1/namespaces/{namespace}/pods/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除所有Pod |
DELETE /api/v1/namespaces/{namespace}/pods |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Deployment |
POST /apis/apps/v1/namespaces/{namespace}/deployments |
|
√ |
√ |
查询Deployment |
GET /apis/apps/v1/namespaces/{namespace}/deployments/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询Namespace下所有Deployment |
GET /apis/apps/v1/namespaces/{namespace}/deployments |
CCI:namespaceSubResource:List |
√ |
√ |
查询Deployment的状态 |
GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status |
CCI:namespaceSubResource:Get |
√ |
√ |
查询Deployment伸缩操作 |
GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale |
CCI:namespaceSubResource:Get |
√ |
√ |
列出用户所有的Deployment |
GET /apis/apps/v1/deployments |
CCI:namespaceSubResource:List |
√ |
√ |
替换Deployment |
PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
替换Deployment伸缩操作 |
PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale |
CCI:namespaceSubResource:Update |
√ |
√ |
更新Deployment |
PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新Deployment伸缩操作 |
PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale |
CCI:namespaceSubResource:Update |
√ |
√ |
删除Deployment |
DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除Namespace下所有Deployment |
DELETE /apis/apps/v1/namespaces/{namespace}/deployments |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建StatefulSet |
POST /apis/apps/v1/namespaces/{namespace}/statefulsets |
|
√ |
√ |
查询StatefulSet |
GET /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询指定Namespace下所有StatefulSet |
GET /apis/apps/v1/namespaces/{namespace}/statefulsets |
CCI:namespaceSubResource:List |
√ |
√ |
查询StatefulSet状态 |
GET /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status |
CCI:namespaceSubResource:Get |
√ |
√ |
列出用户所有的Statefulset |
GET /apis/apps/v1/statefulsets |
CCI:namespaceSubResource:List |
√ |
√ |
替换StatefulSet |
PUT /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新StatefulSet |
PATCH /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
删除StatefulSet |
DELETE /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除所有StatefulSet |
DELETE /apis/apps/v1/namespaces/{namespace}/statefulsets |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Job |
POST /apis/batch/v1/namespaces/{namespace}/jobs |
|
√ |
√ |
查询Job |
GET /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询指定Namespace下所有Job |
GET /apis/batch/v1/namespaces/{namespace}/jobs |
CCI:namespaceSubResource:List |
√ |
√ |
查询Job状态 |
GET /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
CCI:namespaceSubResource:Get |
√ |
√ |
列出用户所有Job |
GET /apis/batch/v1/jobs |
CCI:namespaceSubResource:List |
√ |
√ |
替换Job |
PUT /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新Job |
PATCH /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
删除Job |
DELETE /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除所有Job |
DELETE /apis/batch/v1/namespaces/{namespace}/jobs |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Service |
POST /api/v1/namespaces/{namespace}/services |
|
√ |
√ |
查询Service |
GET /api/v1/namespaces/{namespace}/services/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询所有Service |
GET /api/v1/namespaces/{namespace}/services |
CCI:namespaceSubResource:List |
√ |
√ |
查询Service状态 |
GET /api/v1/namespaces/{namespace}/services/{name}/status |
CCI:namespaceSubResource:Get |
√ |
√ |
删除Service |
DELETE /api/v1/namespaces/{namespace}/services/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Ingress |
POST /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
|
√ |
√ |
查询Ingress |
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询所有Ingress |
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
CCI:namespaceSubResource:List |
√ |
√ |
查询Ingress状态 |
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
CCI:namespaceSubResource:Get |
√ |
√ |
替换Ingress |
PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新Ingress |
PATCH /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
删除Ingress |
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除所有Ingress |
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Network |
POST /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks |
|
√ |
√ |
查询Network |
GET /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks/{name} |
CCI:network:Get |
√ |
√ |
查询所有Network |
GET /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks |
CCI:network:List |
√ |
√ |
查询Network状态 |
GET /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks/{name}/status |
CCI:network:Get |
√ |
√ |
删除Network |
DELETE /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks/{name} |
|
√ |
√ |
删除所有Network对象 |
DELETE /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks |
|
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建PersistentVolumeClaim |
POST /api/v1/namespaces/{namespace}/persistentvolumeclaims |
√ |
√ |
|
查询PersistentVolumeClaim |
GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
√ |
√ |
|
查询所有PersistentVolumeClaim |
GET /api/v1/namespaces/{namespace}/persistentvolumeclaims |
√ |
√ |
|
删除PersistentVolumeClaim |
DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建ConfigMap |
POST /api/v1/namespaces/{namespace}/configmaps |
CCI:namespaceSubResource:Create |
√ |
√ |
查询ConfigMap |
GET /api/v1/namespaces/{namespace}/configmaps/{name} |
CCI:namespaceSubResource:Get |
√ |
√ |
查询所有ConfigMap |
GET /api/v1/namespaces/{namespace}/configmaps |
CCI:namespaceSubResource:List |
√ |
√ |
替换ConfigMap |
PUT /api/v1/namespaces/{namespace}/configmaps/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新ConfigMap |
PATCH /api/v1/namespaces/{namespace}/configmaps/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
删除ConfigMap |
DELETE /api/v1/namespaces/{namespace}/configmaps/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除所有ConfigMap |
DELETE /api/v1/namespaces/{namespace}/configmaps |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建Secret |
POST /api/v1/namespaces/{namespace}/secrets |
CCI:namespaceSubResource:Create |
√ |
√ |
替换Secret |
PUT /api/v1/namespaces/{namespace}/secrets/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
更新Secret |
PATCH /api/v1/namespaces/{namespace}/secrets/{name} |
CCI:namespaceSubResource:Update |
√ |
√ |
删除Secret |
DELETE /api/v1/namespaces/{namespace}/secrets/{name} |
CCI:namespaceSubResource:Delete |
√ |
√ |
删除所有Secret |
DELETE /api/v1/namespaces/{namespace}/secrets |
CCI:namespaceSubResource:Delete |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
获取指定的ClusterRole |
GET /apis/rbac.authorization.k8s.io/v1/clusterroles/{name} |
CCI:rbac:Get |
√ |
√ |
获取ClusterRole列表 |
GET /apis/rbac.authorization.k8s.io/v1/clusterroles |
CCI:rbac:List |
√ |
√ |
权限 |
对应API接口 |
授权项 |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
创建RoleBinding |
POST /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings |
CCI:rbac:Create |
√ |
√ |
更新指定的RoleBinding |
PATCH /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} |
CCI:rbac:Update |
√ |
√ |
替换指定的RoleBinding |
PUT /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} |
CCI:rbac:Update |
√ |
√ |
删除指定的RoleBinding |
DELETE /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} |
CCI:rbac:Delete |
√ |
√ |
获取指定的RoleBinding |
GET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} |
CCI:rbac:Get |
√ |
√ |
获取指定namespace下RoleBinding列表 |
GET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings |
CCI:rbac:List |
√ |
√ |
获取RoleBinding列表 |
GET /apis/rbac.authorization.k8s.io/v1/rolebindings |
CCI:rbac:List |
√ |
√ |