CCE clusters rely on various cloud services in areas like compute, storage, networking, and monitoring to function properly. To access these cloud resources, CCE clusters need authorization, which is handled through agencies. By default, CCE uses system agencies to generate temporary access credentials. These credentials are used internally by the clusters to access cloud services. You can also configure a custom agency for your cluster. Once set, the cluster will use this custom agency to generate its temporary access credentials.
Ensure that you have granted the required permissions to the created agency, or some functions of the cluster may be unavailable.
A custom agency can be configured during cluster creation only using APIs.
Call the API for and configure a custom agency.
The request body is as follows:
{
"kind": "Cluster",
"apiVersion": "v3",
"metadata": {
"name": "cce-cluster",
},
"spec": {
"agencyName": "custom_agency_name",
"category": "CCE",
. . .
}
}
custom_agency_name is the name of the custom agency created on IAM.
Custom agencies can be configured for running clusters only using APIs.
Call the API for and configure a custom agency.
The request body is as follows:
{
"spec": {
"agencyName": "custom_agency_name"
}
}
custom_agency_name is the name of the custom agency created on IAM.
System Policy |
Description |
Authorization Required |
|---|---|---|
CCEClusterManagedPolicy |
Permissions for using the basic functions of a CCE cluster |
Yes |
CCEClusterNodePolicy |
Permissions for using the basic functions of worker nodes in a CCE cluster |
Yes |
CCEClusterTurboNetworkingPolicy |
Permissions for using Cloud Native 2.0 networks in a CCE cluster |
Required if the Cloud Native 2.0 network is used for a cluster |
CCEClusterVPCNetworkingPolicy |
Permissions for using VPC networks in a CCE cluster |
Required if the VPC network is used for a cluster |
CCEClusterLoadBalancingPolicy |
Permissions for using ELB capabilities in a CCE cluster |
No |
CCEClusterCSIEVSPolicy |
Permissions for using EVS volumes in a CCE cluster |
No |
CCEClusterCSIOBSPolicy |
Permissions for using OBS volumes in a CCE cluster |
No (OBS is a global service. To use OBS, grant all project service permissions.) |
CCEClusterCSISFSTurboPolicy |
Permissions for using SFS Turbo volumes in a CCE cluster |
No |
CCEClusterGEIPPolicy |
Permissions for binding global EIPs to load balancers in a CCE cluster |
No (Global EIP is a global service. To use global EIPs, grant all project service permissions.) |
CCEClusterKMSPolicy |
Permissions for mounting encrypted credentials located outside the cluster to containers |
No |
CCEClusterLogPolicy |
Permissions for using log collection in a CCE cluster |
No |
CCEClusterNodeAutoscalingPolicy |
Permissions for using node auto scaling in a CCE cluster |
No |