All Products
Search
Document Center

Container Service for Kubernetes:UpdateHubClusterFeature

Last Updated:Sep 22, 2025

Updates the attributes of a cluster.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

adcp:UpdateHubClusterFeature

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

The fleet ID. Call the DescribeHubClusters operation to obtain the IDs of created fleet instances.

c46979b1075f04d99b5f2b710393e5****

Name

string

No

The fleet name. The name must be 1 to 63 characters long and must start with a letter. It can contain digits, underscores (_), and hyphens (-).

ack-demo

AuditLogEnabled

boolean

No

Specifies whether to enable audit logs.

  • true: enables audit logs.

  • false: disables audit logs.

true

EnableMesh

boolean

No

Specifies whether to enable Service Mesh (ASM).

  • true: enables Service Mesh.

  • false: disables Service Mesh.

true

DeletionProtection

boolean

No

The deletion protection attribute of the cluster. This attribute specifies whether you can delete the cluster in the console or by calling the DeleteHubCluster operation.

  • true: enables deletion protection.

  • false: disables deletion protection.

Default value: false.

true

PublicApiServerEnabled

boolean

No

Specifies whether to expose the API server to the Internet.

  • true: Associates an elastic IP address (EIP) with the API server. You can specify the ApiServerEipId parameter. If you do not specify this parameter, the system automatically creates an EIP.

  • false: Disassociates the EIP from the API server.

true

ApiServerEipId

string

No

The EIP instance ID.

eip-xxx

ArgoCDEnabled

boolean

No

Specifies whether to enable ArgoCD. This parameter takes effect only when Profile is set to XFlow. To view the profile, call the DescribeHubClusterDetails operation.

Valid values:

  • true: enables ArgoCD.

  • false: disables ArgoCD.

true

ArgoServerEnabled

boolean

No

Specifies whether to enable the UI for workflow instances. This parameter takes effect only when Profile is set to XFlow. To view the profile, call the DescribeHubClusterDetails operation.

Valid values:

  • true: enables the UI.

  • false: disables the UI.

true

WorkflowScheduleMode

string

No

The workflow scheduling mode. This parameter takes effect only when Profile is set to XFlow. To view the profile, call the DescribeHubClusterDetails operation.

Valid values:

  • cost-optimized: The cost-optimized mode is used.

  • stock-optimized: The stock-optimized mode is used.

cost-optimized

PriceLimit

string

No

The price limit for the workflow payload. This parameter takes effect only when WorkflowScheduleMode is set to cost-optimized.

0.08

VSwitches

array

No

The list of vSwitches.

string

No

The vSwitch ID.

["vsw-2zeaijsas4zkzz81xm***"]

ArgoCDHAEnabled

boolean

No

Specifies whether to enable the monitoring dashboard for workflow instances. This parameter applies only if Profile is set to XFlow. Valid values:

  • true: Enabled.

  • false: Disabled.

true

PublicAccessEnabled

boolean

No

Specifies whether to enable high availability (HA) for ArgoCD. Valid values:

  • true: Enables HA.

  • false: Disables HA.

true

AccessControlList

array

No

Specifies whether to enable public domain name resolution for the ArgoCD or Argo Workflow console. Valid values:

  • true: Enables public domain name resolution.

  • false: Disables public domain name resolution.

string

No

The CIDR block that is denied access to the Argo server from the internet. Example: 192.168.1.0/24.

["192.168.1.0/24"]

ArgoEventsEnabled

boolean

No

The public network access control list (ACL). This parameter takes effect only when PublicAccessEnabled is set to true.

true

GatewayEnabled

boolean

No

Specifies whether ArgoEvents is enabled. Valid values:

  • true: Enabled.

  • false: Disabled.

true

TrainOperatorEnabled

boolean

No

Specifies whether to enable the Gateway feature. Valid values:

  • true: Enables the Gateway feature.

  • false: Disables the Gateway feature.

true

CostInsightsEnabled

boolean

No

Specifies if orchestration is enabled for machine learning training tasks. Valid values:

  • true: Orchestration is enabled.

  • false: Orchestration is disabled.

true

FluidEnabled

boolean

No

Whether to enable the Cost Insight feature. Valid values are as follows:

  • true: The feature is enabled.

  • false: The feature is disabled.

RRSAEnabled

boolean

No

SparkOperatorEnabled

boolean

No

KubeRayEnabled

boolean

No

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

52C1B7DF-96C1-5214-97B6-1B0859FEAFE5

Examples

Success response

JSON format

{
  "RequestId": "52C1B7DF-96C1-5214-97B6-1B0859FEAFE5"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.