Skip to content

ClusterAddonsProps

Properties for defining a ClusterAddons.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cs-clusteraddons

Initializer

import ros_cdk_cs
ros_cdk_cs.ClusterAddonsProps(
  addons: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AddonsProperty]]],
  cluster_id: typing.Union[str, IResolvable],
  installed_ignore: typing.Union[bool, IResolvable] = None,
  role_policy: typing.Union[str, IResolvable] = None,
  validation_mode: typing.Union[str, IResolvable] = None,
  wait_until: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, WaitUntilProperty]]] = None
)

Properties

Name Type Description
addons typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AddonsProperty]]] Property addons: A combination of addon plugins for Kubernetes clusters.
cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property clusterId: Cluster ID.
installed_ignore typing.Union[bool, ros_cdk_core.IResolvable] Property installedIgnore: Whether to ignore already installed addons when creating.
role_policy typing.Union[str, ros_cdk_core.IResolvable] Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.
validation_mode typing.Union[str, ros_cdk_core.IResolvable] Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.
wait_until typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, WaitUntilProperty]]] Property waitUntil: After starting a creation or update, wait until all conditions are met.

addonsRequired

addons: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AddonsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[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.


cluster_idRequired

cluster_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterId: Cluster ID.


installed_ignoreOptional

installed_ignore: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, 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.


role_policyOptional

role_policy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

validation_modeOptional

validation_mode: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

wait_untilOptional

wait_until: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, WaitUntilProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, WaitUntilProperty]]]

Property waitUntil: After starting a creation or update, wait until all conditions are met.