Help Center/ Cloud Container Engine/ User Guide (Ankara Region)/ Permissions/ Permission Dependency of the CCE Console
Updated on 2024-12-04 GMT+08:00

Permission Dependency of the CCE Console

Some CCE permissions policies depend on the policies of other cloud services. To view or use other cloud resources on the CCE console, enable the access control feature of IAM and assign dependency policies for the other cloud services.

  • Dependency policies are assigned based on the CCE FullAccess or CCE ReadOnlyAccess policy you configure.
  • Only users and user groups with namespace permissions can gain the view access to resources in clusters.
    • If a user is granted the view access to all namespaces of a cluster, the user can view all namespace resources (except secrets) in the cluster. To view secrets in the cluster, the user must gain the admin or edit role in all namespaces of the cluster.
    • The view role within a single namespace allows users to view resources only in the specified namespace.

Dependency Policy Configuration

To grant an IAM user the permissions to view or use resources of other cloud services on the CCE console, you must first grant the CCE Administrator, CCE FullAccess, or CCE ReadOnlyAccess policy to the user group to which the user belongs and then grant the dependency policies listed in Table 1 to the user. These dependency policies will allow the IAM user to access resources of other cloud services.

CCE supports fine-grained permissions configuration, but has the following restrictions:

  • AOM does not support resource-level monitoring. After operation permissions on specific resources are configured using IAM's fine-grained cluster resource management function, IAM users can view cluster monitoring information on the Dashboard page of the CCE console, but cannot view the data on non-fine-grained metrics.
Table 1 Dependency policies

Console Function

Dependent Service

Role or Policy Required

Cluster overview

Application Operations Management (AOM)

  • An IAM user with the CCE Administrator permission assigned can use this function only after the AOM FullAccess permission is assigned.
  • IAM users with IAM ReadOnlyAccess, CCE FullAccess, or CCE ReadOnlyAccess assigned can directly use this function.

Workload management

Elastic Load Balance (ELB)

Application Operations Management (AOM)

NAT Gateway

Object Storage Service (OBS)

Except in the following cases, the user does not require any additional role to create workloads.

  • To create a Service using ELB, you must have the ELB FullAccess or ELB Administrator plus VPC Administrator permissions assigned.
  • To use a Java probe, you must have the AOM FullAccess permissions assigned.
  • To create a Service using NAT Gateway, you must have the NAT Gateway Administrator permission assigned.
  • To use OBS, you must have the OBS Administrator permission globally assigned.
    NOTE:

    Because of the cache, it takes about 13 minutes for the RBAC policy to take effect after being granted to users and user groups. After an OBS-related system policy is granted, it takes about 5 minutes for the policy to take effect.

Cluster management

Application Operations Management (AOM)

  • Auto scale-out or scale-up requires the AOM FullAccess policy.

Node management

Elastic Cloud Server (ECS)

If the permission assigned to an IAM user is CCE Administrator, creating or deleting a node requires the ECS FullAccess or ECS Administrator policy and the VPC Administrator policy.

Service

Elastic Load Balance (ELB)

NAT Gateway

Except in the following cases, the user does not require any additional role to create a Service.

  • To create a Service using ELB, you must have the ELB FullAccess or ELB Administrator plus VPC Administrator permissions assigned.
  • To create a Service using NAT Gateway, you must have the NAT Administrator permission assigned.

Storage

Object Storage Service (OBS)

  • To use OBS, you must have the OBS Administrator permission globally assigned.
    NOTE:

    Because of the cache, it takes about 13 minutes for the RBAC policy to take effect after being granted to users and user groups. After an OBS-related system policy is granted, it takes about 5 minutes for the policy to take effect.

The CCE Administrator role is required for importing storage devices.

Namespace management

/

/

Chart management

/

Cloud accounts and the IAM users with CCE Administrator assigned can use this function.

Add-ons

/

Cloud accounts and the IAM users with CCE Administrator, CCE FullAccess, or CCE ReadOnlyAccess assigned can use this function.

Permissions management

/

  • For cloud accounts, no additional policy/role is required.
  • IAM users with the CCE FullAccess or CCE ReadOnlyAccess permission can access the namespace. In addition, the IAM users must have the administrator permissions (cluster-admin) on the namespace.

ConfigMaps and Secrets

/

  • Creating ConfigMaps does not require any additional policy.
  • Viewing secrets requires that the cluster-admin, admin, or edit permission be configured for the namespace.

Help center

/

/

Switching to other related services

Software Repository for Container (SWR)

The CCE console provides links to other related services. To view or use these services, an IAM user must be assigned required permissions for the services.