ClusterAddonsProps
Properties for defining a ClusterAddons
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cs-clusteraddons
Initializer
import { ClusterAddonsProps } from '@alicloud/ros-cdk-cs'
const clusterAddonsProps: ClusterAddonsProps = { ... }
Properties
Name | Type | Description |
---|---|---|
addons |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AddonsProperty[] |
Property addons: A combination of addon plugins for Kubernetes clusters. |
clusterId |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterId: Cluster ID. |
installedIgnore |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property installedIgnore: Whether to ignore already installed addons when creating. |
rolePolicy |
string | @alicloud/ros-cdk-core.IResolvable |
Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user. |
validationMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster. |
waitUntil |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | WaitUntilProperty[] |
Property waitUntil: After starting a creation or update, wait until all conditions are met. |
addons
Required
public readonly addons: IResolvable | IResolvable | AddonsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AddonsProperty[]
Property addons: A combination of addon plugins for Kubernetes clusters.
Network plug-in: including Flannel and Terway network plug-ins Log service: Optional. If the log service is not enabled, the cluster audit function cannot be used. Ingress: The installation of the Ingress component is enabled by default.
clusterId
Required
public readonly clusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterId: Cluster ID.
installedIgnore
Optional
public readonly installedIgnore: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property installedIgnore: Whether to ignore already installed addons when creating.
If true, when creating, only install addons that are not yet installed. When deleting, only uninstall addons that are installed during the creation stage. Default false.
rolePolicy
Optional
public readonly rolePolicy: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.
Valid values: - EnsureAdminRoleAndBinding: Automatically create a role named "ros:application-admin:${user-id}" with administrator permissions and bind it to the current user. - None: Do nothing. The default value is EnsureAdminRoleAndBinding.
validationMode
Optional
public readonly validationMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.
Strict: in addition to basic validation, also validate the legality of WaitUntil.
waitUntil
Optional
public readonly waitUntil: IResolvable | IResolvable | WaitUntilProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | WaitUntilProperty[]
Property waitUntil: After starting a creation or update, wait until all conditions are met.