Skip to content

ClusterAddonsProps

Properties for defining a ClusterAddons.

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

Initializer

import com.aliyun.ros.cdk.cs.ClusterAddonsProps;
ClusterAddonsProps.builder()
    .addons(IResolvable)
    .addons(java.util.List<IResolvable)
    .addons(AddonsProperty>)
    .clusterId(java.lang.String)
    .clusterId(IResolvable)
//  .installedIgnore(java.lang.Boolean)
//  .installedIgnore(IResolvable)
//  .rolePolicy(java.lang.String)
//  .rolePolicy(IResolvable)
//  .validationMode(java.lang.String)
//  .validationMode(IResolvable)
//  .waitUntil(IResolvable)
//  .waitUntil(java.util.List<IResolvable)
//  .waitUntil(WaitUntilProperty>)
    .build();

Properties

Name Type Description
addons com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAddonsProperty> Property addons: A combination of addon plugins for Kubernetes clusters.
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: Cluster ID.
installedIgnore java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property installedIgnore: Whether to ignore already installed addons when creating.
rolePolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.
validationMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.
waitUntil com.aliyun.ros.cdk.core.IResolvable OR java.util.ListWaitUntilProperty> Property waitUntil: After starting a creation or update, wait until all conditions are met.

addonsRequired

public java.lang.Object getAddons();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAddonsProperty>

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.


clusterIdRequired

public java.lang.Object getClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterId: Cluster ID.


installedIgnoreOptional

public java.lang.Object getInstalledIgnore();
  • Type: java.lang.Boolean OR com.aliyun.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.


rolePolicyOptional

public java.lang.Object getRolePolicy();
  • Type: java.lang.String OR com.aliyun.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.

validationModeOptional

public java.lang.Object getValidationMode();
  • Type: java.lang.String OR com.aliyun.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.

waitUntilOptional

public java.lang.Object getWaitUntil();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListWaitUntilProperty>

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