Updated on 2025-08-25 GMT+08:00

Flavor Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

allowed-cce-flavors

Identifier

Flavor Check

Description

If the flavor of a CCE cluster does not match any of the specified flavors, this cluster is non-compliant.

Tag

cce

Trigger Type

Configuration change

Filter Type

cce.clusters

Rule Parameters

listOfAllowedFlavors: allowed CCE cluster flavors, for example, cce.s1.small. For the value enumeration, see the flavor parameter in Reading a Specified Cluster.

Application Scenarios

When purchasing a CCE cluster, specify the flavors based on service requirements. If the specifications are too high, expenses will be wasted. If the specifications are too low, services will be interrupted.

Solution

Change cluster flavors. For details, see Changing a Cluster Scale.

Rule Logic

  • If the flavor of a CCE cluster matches one of the specified flavors, this cluster is compliant.
  • If the flavor of a CCE cluster does not match any of the specified flavors, this cluster is non-compliant.