ClusterAddonsProps
Properties for defining a ClusterAddons.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cs-clusteraddons
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcs"
&alicloudroscdkcs.ClusterAddonsProps {
Addons: interface{},
ClusterId: interface{},
InstalledIgnore: interface{},
RolePolicy: interface{},
ValidationMode: interface{},
WaitUntil: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Addons |
interface{} |
Property addons: A combination of addon plugins for Kubernetes clusters. |
ClusterId |
interface{} |
Property clusterId: Cluster ID. |
InstalledIgnore |
interface{} |
Property installedIgnore: Whether to ignore already installed addons when creating. |
RolePolicy |
interface{} |
Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user. |
ValidationMode |
interface{} |
Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster. |
WaitUntil |
interface{} |
Property waitUntil: After starting a creation or update, wait until all conditions are met. |
AddonsRequired
Addons interface{}
- Type: interface{}
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
ClusterId interface{}
- Type: interface{}
Property clusterId: Cluster ID.
InstalledIgnoreOptional
InstalledIgnore interface{}
- Type: interface{}
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
RolePolicy interface{}
- Type: interface{}
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
ValidationMode interface{}
- Type: interface{}
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
WaitUntil interface{}
- Type: interface{}
Property waitUntil: After starting a creation or update, wait until all conditions are met.