すべてのプロダクト
Search
ドキュメントセンター

Container Service for Kubernetes:CreateCluster

最終更新日:Jul 16, 2026

ACK マネージドクラスター、サーバーレス Kubernetes クラスター、ACK エッジクラスター、登録済みクラスターを含む ACK クラスターを作成します。クラスター作成時に、クラスター情報、クラスターコンポーネント、および ACK 関連のクラウドリソースを設定します。

操作説明

コンソールを使用した OpenAPI リクエストパラメーターの生成

CreateCluster 操作を呼び出してクラスターを作成する際、リクエストパラメーターの組み合わせが正しくないために API 呼び出しが失敗した場合、コンソールを使用して必須のリクエストパラメーターの組み合わせを生成できます。以下の手順を実行してください。

  1. Container Service コンソール にログインし、左側のナビゲーションウィンドウで [クラスターリスト] を選択します。

  2. [クラスターリスト] ページで、[クラステンプレート] をクリックします。

  3. ダイアログボックスで、作成するクラスタータイプを選択し、[作成] をクリックして、クラスター設定ページでクラスター情報を設定します。

  4. 設定完了後、[設定の確認] ページの右上隅にある [同等のコード] をクリックします。ダイアログボックスにクラスター作成に必要なパラメーターの組み合わせが表示されます。これをコピーして使用できます。

重要 2026 年 7 月 4 日以降、一部のリクエストパラメーターは有効ではなくなります。変更内容およびオーバーライドパラメーターの詳細については、「ACK クラスター管理における OpenAPI パラメーターの変更および OpenAPI のオフライン化に関するお知らせ」をご参照ください。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

cs:CreateCluster

create

*Cluster

acs:cs:{#regionId}:{#accountId}:cluster/*

  • cs:ClusterType
  • cs:ClusterSpec
  • cs:ClusterProfile
  • cs:EnableSecretEncryption
  • cs:EnableApiServerEip
  • cs:EnableAddonLogtailDs
  • cs:EnableCoreControlPlaneComponentsLog
  • cs:AddonNames
  • cs:EnableSNAT
  • cs:EnableNodePoolPublicIP
なし

リクエスト構文

POST /clusters HTTP/1.1

リクエストパラメーター

パラメーター

必須 / 任意

説明

body

object

任意

リクエストボディのパラメーターです。

cluster-demo

name

string

必須

カスタムクラスター名です。名前は 1~63 文字で、数字、漢字、英字、ハイフン (-) を含めることができます。名前の先頭をハイフン (-) にすることはできません。

cluster-demo

region_id

string

必須

クラスターのリージョン ID です。詳細については、「Container Service でサポートされるリージョン」をご参照ください。

cn-beijing

cluster_type

string

任意

  • Kubernetes: ACK 専用クラスター。

  • ManagedKubernetes: ACK マネージドクラスタータイプ。ACK マネージドクラスター (プロ版 および Basic)、サーバーレス Kubernetes クラスター (プロ版 および Basic)、ACK エッジクラスター (プロ版 および Basic)、ACK Lingjun クラスター (プロ版) を含みます。

  • ExternalKubernetes: 登録済みクラスター。

Kubernetes

cluster_spec

string

任意

cluster_typeManagedKubernetes に設定し、profile を設定した後、クラスターの仕様をさらに指定できます。有効な値:

  • ack.standard: Basic (値が空の場合のデフォルト選択)

  • ack.pro.small: プロ版

  • ack.pro.xlarge: Pro XL

  • ack.pro.2xlarge: Pro 2XL

  • ack.pro.4xlarge: Pro 4XL (ホワイトリストを有効にするにはカスタマーサービスにお問い合わせください)

Pro XL、Pro 2XL、Pro 4XL は、コンテナサービス ACK Pro プロビジョニング済みコントロールプレーン が提供する 3 つのティアです。これらのティアは、コントロールプレーンのリソースを事前に割り当てて固定することで、API の同時実行数と Pod のスケジューリング機能を確定的に高いレベルに維持します。AI トレーニングや推論、超大規模クラスター、ミッションクリティカルな作業負荷に適しています。

プロ版 およびプロビジョニング済みコントロールプレーンクラスターの管理料金の詳細については、クラスター管理料金をご参照ください。

ack.pro.small

profile

string

任意

ACK マネージドクラスタータイプとして cluster_typeManagedKubernetes に設定する場合、クラスターのサブタイプをさらに指定できます。

  • Default: ACK マネージドクラスター。ACK クラスター (プロ版 および Basic) を含みます。

  • Edge: ACK エッジクラスター。ACK エッジクラスター (プロ版 および Basic) を含みます。

  • Serverless: サーバーレス Kubernetes クラスター。サーバーレス Kubernetes クラスター (プロ版 および Basic) を含みます。

  • Lingjun: ACK Lingjun クラスター。プロ版 で利用可能です。

Default

kubernetes_version

string

任意

クラスターバージョンです。Kubernetes コミュニティのベースラインバージョンと一致します。最新バージョンを選択することを推奨します。このパラメーターを指定しない場合、デフォルトで最新バージョンが使用されます。

最新の 3 つのバージョンのクラスターを作成できます。サポートされているクラスターバージョンをクエリするには、 DescribeKubernetesVersionMetadata 操作を呼び出してください。

ACK でサポートされている Kubernetes バージョンの詳細については、「Kubernetes バージョンリリース概要」をご参照ください。

1.32.1-aliyun.1

auto_mode

object

任意

インテリジェントマネージドモードの構成です。

enable

boolean

任意

インテリジェントマネージドモードを有効にするかどうかを指定します。

  • true: 有効にします。

  • false: 有効にしません。

true

tags

array

任意

ノードタグです。タグ定義ルール:

  • タグは大文字小文字を区別するキーと値のペアで構成されます。最大 20 個のタグを設定できます。

  • タグキーは重複不可で、長さは最大 64 文字です。タグ値は空でもよく、長さは最大 128 文字です。タグキーおよびタグ値の先頭に "aliyun"、"acs:"、"https://"、"http://" を使用することはできません。詳細については、「ラベルとセレクター」をご参照ください。

tag

任意

ノードタグです。タグ定義ルール:

  • タグは大文字小文字を区別するキーと値のペアで構成されます。最大 20 個のタグを設定できます。

  • タグキーは重複不可で、長さは最大 64 文字です。タグ値は空でもよく、長さは最大 128 文字です。タグキーおよびタグ値の先頭に "aliyun"、"acs:"、"https://"、"http://" を使用することはできません。詳細については、「ラベルとセレクター」をご参照ください。

resource_group_id

string

任意

クラスターのリソースグループ ID です。異なるリソースを分離するために使用されます。

rg-acfm3mkrure****

deletion_protection

boolean

任意

クラスター削除保護を有効にするかどうかを指定します。有効にすると、コンソールまたは API を通じた偶発的なクラスターの削除を防ぎます。有効な値:

  • true: クラスター削除保護を有効にします。コンソールまたは API を通じてクラスターを削除できなくなります。

  • false: クラスター削除保護を無効にします。コンソールまたは API を通じてクラスターを削除できます。

デフォルト値: false

true

zone_ids

array

任意

クラスターが属するリージョンのゾーン ID です。このパラメーターは ACK マネージドクラスタータイプに固有です。

string

任意

クラスターが属するリージョンのゾーン ID です。このアクティブな ゾーンに vSwitch が自動的に作成されます。

ACK マネージドクラスタータイプを作成する際、vpc_id および vswitch_ids を指定しない場合は、複数のゾーンに VPC ネットワークリソースを自動作成するためにクラスターの zone_ids を指定してください。vpc_id および vswitch_ids を指定して VPC を作成することもできますが、その場合このパラメーターは効果がありません。

cn-beijing-h

vpcid

string

任意

クラスターで使用される VPC です。クラスター作成時に VPC を提供する必要があります。

vpc-2zeik9h3ahvv2zz95****

vswitch_ids

array

任意

クラスターノード用の vSwitch です。ゼロノードのマネージドクラスターを作成する場合、このフィールドは必須です。

string

任意

クラスターノード用の vSwitch です。ゼロノードのマネージドクラスターを作成する場合、このフィールドは必須です。

vsw-2ze3ds0mdip0hdz8i****

ip_stack

string

任意

クラスターの IP プロトコルスタックです。

可选值: ipv4(单栈) dual(双栈),默认值为ipv4。

pod_vswitch_ids deprecated

array

任意

このフィールドは非推奨です。 ネットワークプラグインとして Terway を選択する場合、Pod IP アドレス割り当て用に vSwitch を指定する必要があります。各 Pod vSwitch はワーカーノード vSwitch に対応し、Pod vSwitch とワーカーノード vSwitch は同じゾーンにある必要があります。

説明

Pod vSwitch の CIDR ブロックマスクは 19 を超えないことが推奨され、25 を超えてはなりません。そうでない場合、クラスターネットワークで使用可能な Pod IP アドレスの数が非常に制限され、通常のクラスター使用に影響を与えます。

string

任意

ネットワークプラグインとして Terway を選択する場合、Pod IP アドレス割り当て用に vSwitch を指定する必要があります。各 Pod vSwitch はワーカーノード vSwitch に対応し、Pod vSwitch とワーカーノード vSwitch は同じゾーンにある必要があります。

説明

Pod vSwitch の CIDR ブロックマスクは 19 を超えないことが推奨され、25 を超えてはなりません。そうでない場合、クラスターネットワークで使用可能な Pod IP アドレスの数が非常に制限され、通常のクラスター使用に影響を与えます。

vsw-2ze97jwri7cei0mpw****

container_cidr

string

任意

Pod CIDR ブロックです。有効な非公開 CIDR ブロックである必要があり、具体的には以下の CIDR ブロックとそのサブネットです: 10.0.0.0/8、172.16-31.0.0/12-16、192.168.0.0/16。CIDR ブロックは VPC CIDR ブロックや VPC 内の既存の Kubernetes クラスターで使用されている CIDR ブロックと重複できません。クラスター作成後はこの CIDR ブロックを変更できません。

クラスターネットワーク計画の詳細については、「ACK マネージドクラスターのネットワーク計画」をご参照ください。

説明

このフィールドは Flannel クラスターに必須です。

172.20.0.0/16

service_cidr

string

任意

サービス CIDR ブロックです。有効値: 10.0.0.0/16-24、172.16-31.0.0/16-24、192.168.0.0/16-24。CIDR ブロックは VPC CIDR ブロック 10.1.0.0/21 や VPC 内の既存の Kubernetes クラスターで使用されている CIDR ブロックと重複できません。クラスター作成後はこの CIDR ブロックを変更できません。

デフォルト値: 172.19.0.0/20。

172.21.0.0/20

security_group_id

string

任意

セキュリティグループ ID です。既存のセキュリティグループを使用してクラスターを作成する場合にこのパラメーターを指定します。このパラメーターは is_enterprise_security_group と相互排他です。クラスターノードはこのセキュリティグループに自動的に追加されます。

sg-bp1bdue0qc1g7k****

is_enterprise_security_group

boolean

任意

高度セキュリティグループの自動作成を有効にするかどうかを指定します。このパラメーターは security_group_id が空の場合に効果があります。

説明

基本セキュリティグループを使用する場合、クラスター内のノードと Terway Pod の合計数は 2,000 を超えることはできません。Terway ネットワークタイプのクラスターを作成する場合は、高度セキュリティグループを使用することを推奨します。

  • true: 高度セキュリティグループを作成して使用します。

  • false: 基本セキュリティグループを使用します。

デフォルト値: true

true

snat_entry

boolean

任意

VPC の SNAT 設定項目です。有効な値:

  • true: NAT Gateway の自動作成と SNAT ルールの自動設定を行います。クラスター内のノードやアプリケーションがインターネットにアクセスする必要がある場合は、これを true に設定してください。

  • false: NAT Gateway や SNAT ルールを作成しません。クラスター内のノードやアプリケーションはインターネットにアクセスできません。

説明

クラスター作成時にこのオプションを有効にせず、後でインターネットアクセスが必要になった場合は、手動で有効にすることができます。

デフォルト値: false

false

control_plane_endpoints_config

object

任意

クラスターエンドポイントの構成です。

load_balancers_config

array<object>

任意

クラスターエンドポイントの構成です。このフィールドを指定すると、endpoint_public_access および load_balancer_id パラメーターは有効ではありません。ACK は NLB インスタンスの自動作成のみをサポートしています。CLB/NLB を指定するには、load_balancers_config を使用してインスタンス ID を指定してください。

object

任意

クラスターアクセス用の負荷分散構成です。

endpoint_type

string

任意

エンドポイントタイプです。

private

load_balancer_id

string

任意

NLB インスタンス ID です。

nlb-0ogk9aaxxxxxxx

internal_dns_config

object

任意

クラスターの内部 DNS 構成です。ACK マネージドクラスターに適用されます。内部ドメイン名は、kubelet や kube-proxy などのノード側システムコンポーネントが API サーバーにアクセスするために使用されます。内部ドメイン名アクセスが有効になっていない場合、ノード側システムコンポーネントは CLB IP アドレスを通じて API サーバーにアクセスします。

bind_vpcs

array

任意

内部ドメイン名解決が効果を発揮する VPC です。

string

任意

内部ドメイン名解決が効果を発揮する VPC です。

vpc-xxxx

endpoint_public_access

boolean

任意

パブリックネットワークアクセスを許可するかどうかを指定します。EIP を通じて API サーバーを公開し、クラスターへのパブリックネットワークアクセスを可能にします。

  • true: パブリックネットワークアクセスを許可します。

  • false: パブリックアクセスを無効にします。パブリックネットワークアクセスを許可しない場合、インターネットからクラスター API サーバーにアクセスできません。

デフォルト値: false

true

load_balancer_id

string

任意

API サーバーアクセス用の CLB インスタンス ID です。このパラメーターを指定すると、API サーバー用 CLB の自動作成は実行されません。

説明

CLB インスタンスに他の依存関係 (リスナーやバックエンドサーバーなど) がないことを確認してください。共有およびインターネット接続の CLB インスタンスはサポートされていません。

lb-wz9t256gqa3vbouk****

ssh_flags

boolean

任意

パブリック SSH ログインを有効にするかどうかを指定します。これは ACK 専用クラスターのマスターノードにログインするために使用されます。このパラメーターはマネージドクラスターでは効果がありません。

  • true: 有効にします。

  • false: 無効にします。

デフォルト値: false

true

timezone

string

任意

クラスターで使用されるタイムゾーンです。詳細については、「サポートされるタイムゾーン」をご参照ください。

Asia/Shanghai

node_cidr_mask

string

任意

ノードごとの IP アドレス数です。ネットワークの CIDR マスクを指定することで決定されます。このパラメーターは Flannel ネットワークタイプのクラスターでのみ効果があります。

デフォルト値: 26

25

proxy_mode

string

任意

kube-proxy モードです。

  • iptables: 成熟して安定した kube-proxy モードです。Kubernetes サービスのサービス検出と負荷分散は iptables ルールを使用して設定されます。パフォーマンスは中程度で、スケールの影響を受けます。このモードはサービスの数が少ないクラスターに適しています。

  • ipvs: 高性能な kube-proxy モードです。Kubernetes サービスのサービス検出と負荷分散は Linux IPVS モジュールを使用して設定されます。このモードは、多数のサービスがあり高性能な負荷分散が必要なクラスターに適しています。

  • nftables: Linux nftables に基づいてサービス検出と負荷分散を実装する次世代の kube-proxy モードです。iptables の現代的な代替手段です。iptables と比較して、nftables はより優れたネットワークパフォーマンス、より効率的なルール更新、および大規模サービスシナリオでのパフォーマンス向上を提供します。
    バージョン 1.35 以降のクラスターでのみサポートされています。Kubernetes コミュニティはバージョン 1.35 から IPVS を非推奨としました。長期的なコミュニティサポートを得るために、新しいクラスターでは nftables を使用することを推奨します。

デフォルト値: ipvs

ipvs

controlplane_log_ttl

string

任意

コントロールプレーンコンポーネントログのログ保持日数です。

30

controlplane_log_project

string

任意

コントロールプレーンコンポーネントログ用の Simple Log Service プロジェクトです。ロギングに既存のプロジェクトを使用するか、システムによるプロジェクトの自動作成を選択できます。自動作成を選択した場合、k8s-log-{ClusterID} という名前のプロジェクトが作成されます。

k8s-log-xxx

controlplane_log_components

array

任意

ログを収集するコントロールプレーンコンポーネントを指定するコンポーネント名のリストです。

デフォルトでは、kube-apiserver、kube-controller-manager、kube-scheduler、cloud-controller-manager からログが収集されます。

string

任意

ログを収集するコントロールプレーンコンポーネントを指定するコンポーネント名のリストです。

デフォルトでは、kube-apiserver、kube-controller-manager、kube-scheduler、cloud-controller-manager からログが収集されます。

["apiserver","kcm","scheduler"]

audit_log_config

object

任意

クラスター監査ログの構成です。

enabled

boolean

任意

クラスター監査ログ特徴を有効にするかどうかを指定します。

  • true: 有効にします。

  • false: 有効にしません。

true

sls_project_name

string

任意

クラスター監査ログ Logstore を含む SLS Project です。

  • デフォルト値: k8s-log-{clusterid}

  • クラスター監査ログ特徴が有効になると、指定された SLS Project にクラスター監査ログ用の Logstore が作成されます。

k8s-log-c2345xxxxxxxxxxxx

rrsa_config

object

任意

RRSA の構成です。

enabled

boolean

任意

RRSA 特徴を有効にするかどうかを指定します。

  • true: 有効にします。

  • false: 有効にしません。

true

cluster_domain

string

任意

クラスターのローカルドメイン名です。

命名規則: ドメイン名はピリオド (.) で区切られた 1 つ以上の部分で構成されます。各部分は最大 63 文字で、小文字、数字、ハイフン (-) を含めることができます。各部分は小文字または数字で始まり、終わる必要があります。

cluster.local

encryption_provider_key

string

任意

データクラウドディスクを暗号化するに使用される KMS キー ID です。詳細については、「Key Management Service」をご参照ください。

説明

この特徴はコンテナサービス ACK Pro マネージドクラスターでのみ効果があります。

0fe64791-55eb-4fc7-84c5-c6c7cdca****

service_account_issuer

string

任意

ServiceAccount は、Pod とクラスター API サーバー間の通信のためのアクセス認証情報です。service-account-issuerserviceaccount token の発行者 ID であり、token payloadiss フィールドです。

ServiceAccount の詳細については、「サービスアカウントトークンボリュームプロジェクションのデプロイ」をご参照ください。

kubernetes.default.svc

api_audiences

string

任意

ServiceAccount は、Pod とクラスター API サーバー間の通信のためのアクセス認証情報です。api-audiences は有効なリクエスト token ID を指定し、apiserver がリクエスト token の有効性を検証するために使用されます。カンマ (,) で区切って複数の audience 値を設定できます。

ServiceAccount の詳細については、「サービスアカウントトークンボリュームプロジェクションのデプロイ」をご参照ください。

kubernetes.default.svc

extra_sans

array

任意

カスタム API サーバー証明書 SAN (Subject Alternative Name) です。

string

任意

証明書の SAN です。カスタム IP アドレスまたはドメイン名をサポートします。

192.168.xx.xx

maintenance_window maintenance_window

任意

クラスターの O&M ウィンドウです。

operation_policy

object

任意

クラスターの自動 O&M ポリシーです。

cluster_auto_upgrade

object

任意

クラスター自動スペックアップの構成です。

enabled

boolean

任意

クラスターの自動スペックアップを有効にするかどうかを指定します。

  • true: 有効にします。

  • false: 有効にしません。

true

channel

string

任意

クラスターの自動スペックアップ周波数です。有効な値:

  • patch: 現在のマイナーバージョンの利用可能なパッチバージョンに自動的にスペックアップします。新しい Kubernetes バージョンには破壊的変更は含まれません。

  • stable: 2 番目に新しいマイナーバージョンの最新パッチバージョンに自動的にスペックアップします。新しい Kubernetes バージョンには API や特徴の変更が含まれる可能性がありますが、その安定性は広く検証されています。

  • rapid: 最新マイナーバージョンの最新パッチバージョンに自動的にスペックアップし、Kubernetes コミュニティの新特徴へのより迅速なアクセスを可能にします。

stable

addons

array

任意

クラスターコンポーネントリストです。addons を使用してクラスター作成時にインストールするコンポーネントを指定します。

ネットワークコンポーネント: 必須です。Flannel または Terway ネットワークタイプのいずれかを選択してください。

  • Flannel ネットワーク: [{"name":"flannel","config":""}]。

  • Terway ネットワーク: [{"name": "terway-eniip","config": ""}]。

ストレージコンポーネント: 任意です。csi タイプのみサポートされています。

csi: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}]。

ログコンポーネント: 任意です。このコンポーネントを有効にすることを推奨します。ログサービスを有効にしない場合、クラスター監査機能を使用できません。

  • 既存の SLS Project を使用: [{"name": "loongcollector","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}]。

  • 新しい SLS Project を作成: [{"name": "loongcollector","config": "{"IngressDashboardEnabled":"true"}"}]。

Ingress コンポーネント: 任意です。ACK 専用クラスターには Ingress コンポーネント nginx-ingress-controller がデフォルトでインストールされます。

  • Ingress をインストールしてパブリックアクセスを有効化: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}]。

  • デフォルトの Ingress インストールを無効化: [{"name": "nginx-ingress-controller","config": "","disabled": true}]。

イベントセンター: 任意です。デフォルトで有効になっています。

イベントセンターは Kubernetes イベントのストレージ、クエリ、アラート機能を提供します。Kubernetes イベントセンターに関連付けられた Logstore は 90 日間無料です。無料ポリシーの詳細については、「Kubernetes イベントセンターの作成と使用」をご参照ください。

イベントセンターの有効化例: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}]。

addon

任意

クラスターコンポーネントリストです。addons を使用してクラスター作成時にインストールするコンポーネントを指定します。

nodepools

array

任意

ノードプールリストです。

nodepool

任意

ノードプールの構成です。

user_ca

string

任意

カスタムクラスター CA です。

-----BEGIN CERTIFICATE-----****

control_plane_config

object

任意

ACK 専用クラスターのコントロールプレーン構成です。

charge_type

string

任意

コントロールプレーンノードの課金方法です。

  • PrePaid: サブスクリプション。

  • PostPaid: 従量課金。

デフォルト値: PostPaid

PostPaid

period

integer

任意

コントロールプレーンノードのサブスクリプション期間です。このパラメーターは課金方法が PrePaid の場合に有効かつ必須です。

有効な値: {1, 2, 3, 6, 12, 24, 36, 48, 60}。単位: 月。

デフォルト値: 1。

1

period_unit

string

任意

コントロールプレーンノードのサブスクリプション期間単位です。このパラメーターは課金方法が PrePaid の場合に有効かつ必須です。

有効な値: Month。現在、月額期間のみサポートされています。

Month

auto_renew

boolean

任意

コントロールプレーンノードの自動更新を有効にするかどうかを指定します。このパラメーターは課金方法が PrePaid の場合に有効です。

  • true: 自動更新を有効にします。

  • false: 自動更新を無効にします。

デフォルト値: true。

true

auto_renew_period

integer

任意

コントロールプレーンノードの自動更新期間です。

有効な値: {1, 2, 3, 6, 12}。単位: 月。

デフォルト値: 1。

1

instance_types

array

任意

ノードのインスタンスタイプです。

string

任意

ノードのインスタンスタイプです。

ecs.g6.large

image_type

string

任意

オペレーティングシステムのイメージタイプです。

AliyunLinux3

image_id

string

任意

イメージ ID です。

aliyun_3_x64_20G_alibase_20240819.vhd

key_pair

string

任意

キーペア名です。login_password と相互排他です。

ack

login_password

string

任意

SSH ログインパスワードです。パスワードは 8~30 文字で、大文字、小文字、数字、特殊文字のうち少なくとも 3 種類を含む必要があります。

********

system_disk_category

string

任意

ノードシステムクラウドディスクのタイプです。

  • cloud_efficiency: ウルトラクラウドディスク。

  • cloud_ssd: 標準 SSD。

  • cloud_essd: ESSD クラウドディスク。

  • cloud_auto: ESSD AutoPL クラウドディスク。

  • cloud_essd_entry: ESSD Entry クラウドディスク。

デフォルト値: cloud_ssd。デフォルト値はアクティブなゾーンによって異なる場合があります。

cloud_ssd

system_disk_size

integer

任意

ノードシステムクラウドディスクのサイズです。

有効な値: [40,500]。単位: GiB。

デフォルト値: 120

120

system_disk_snapshot_policy_id

string

任意

ノードの自動スナップショットバックアップポリシーです。

sp-2zej1nogjvovnz4z****

system_disk_performance_level

string

任意

ノードシステムクラウドディスクのパフォーマンスレベルです。このパラメーターは ESSD クラウドディスクに対してのみ有効です。

パフォーマンスレベルはクラウドディスクのサイズに関連しています。詳細については、「ESSD クラウドディスク (標準 SSD)」をご参照ください。

PL1

system_disk_provisioned_iops

integer

任意

ノードシステムクラウドディスクのプロビジョニング済み読み取り/書き込み IOPS です。

有効な値: 0~min{50,000, 1000*capacity-baseline performance}。ベースラインパフォーマンス=min{1,800+50*capacity, 50000}。

このパラメーターは system_disk_categorycloud_auto に設定されている場合にのみ有効です。

1000

system_disk_bursting_enabled

boolean

任意

ノードシステムクラウドディスクのバースト (パフォーマンスバースト) を有効にするかどうかを指定します。

  • true: 有効にします。

  • false: 無効にします。

このパラメーターは system_disk_categorycloud_auto に設定されている場合にのみ有効です。

true

deploymentset_id

string

任意

デプロイメントセット ID です。

ds-bp10b35imuam5amw****

cloud_monitor_flags

boolean

任意

ノードに CloudMonitor をインストールするかどうかを指定します。

  • true: CloudMonitor エージェントをインストールします。

  • false: CloudMonitor エージェントをインストールしません。

デフォルト値: false。

false

instance_metadata_options InstanceMetadataOptions

任意

ECS インスタンスのインスタンスメタデータアクセス構成です。

soc_enabled

boolean

任意

MLPS セキュリティ強化を有効にするかどうかを指定します。

  • true: MLPS 2.0 セキュリティ強化を有効にします。

  • false: MLPS 2.0 セキュリティ強化を有効にしません。

デフォルト値: false。

false

security_hardening_os

boolean

任意

Alibaba Cloud OS セキュリティ強化を有効にするかどうかを指定します。

  • true: Alibaba Cloud OS セキュリティ強化を有効にします。

  • false: Alibaba Cloud OS セキュリティ強化を有効にしません。

デフォルト値: false。

false

cpu_policy

string

任意

The CPU management policy for nodes.

  • static: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.

  • none: Uses the existing default CPU affinity scheme.

Default value: none.

none

runtime

string

任意

This field is deprecated. The container runtime for control plane nodes. Valid values:

containerd: Containerd runtime, supported by all cluster versions.

containerd

node_port_range

string

任意

This field is deprecated. The node service port range.

30000-32767

size

integer

任意

The number of control plane nodes.

Valid values: 3 or 5.

3

custom_san deprecated

string

任意

This field is deprecated. Use the extra_sans parameter instead.

Custom certificate SAN. Multiple IP addresses or domain names are separated by commas (,).

cs.aliyun.com

runtime deprecated runtime

任意

The container runtime for the cluster. Supports containerd, sandboxed containers, and Docker.

説明

Kubernetes 1.24 no longer supports Docker as a built-in container runtime.

For more information, see Comparison among Docker, containerd, and sandboxed containers.

node_name_mode deprecated

string

任意

This field is deprecated. For node pool configurations, use the node_name_mode parameter under kubernetes_config in nodepool instead.

null

user_data deprecated

string

任意

This field is deprecated. Custom node data.

IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****

image_id deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the image_id parameter under control_plane_config instead. For node pool configurations, use the image_id parameter under scaling_group in nodepool instead.

The custom image for nodes. The system image is used by default. When a custom image is selected, it replaces the default system image. For more information, see Custom images.

m-bp16z7xko3vvv8gt****

rds_instances deprecated

array

任意

This field is deprecated. For node pool configurations, use the rds_instances parameter under scaling_group in nodepool instead.

The list of RDS instances to which you want to add the whitelist. We recommend that you add the container pod CIDR block and node CIDR block to the RDS whitelist directly. Setting RDS instances may fail because the instances are not in a running state.

string

任意

The list of RDS instances to which you want to add the whitelist. We recommend that you add the container pod CIDR block and node CIDR block to the RDS whitelist directly. Setting RDS instances may fail because the instances are not in a running state.

rm-2zev748xi27xc****

taints deprecated

array

任意

This field is deprecated. For node pool configurations, use the taints parameter under kubernetes_config in nodepool instead.

Node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see taint-and-toleration.

taint

任意

Node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see taint-and-toleration.

cloud_monitor_flags deprecated

boolean

任意

This field is deprecated. For cluster control plane node configurations, use the cloud_monitor_flags parameter under control_plane_config instead. For node pool configurations, use the cms_enabled parameter under kubernetes_config in nodepool instead.

Specifies whether to install the CloudMonitor agent on the cluster. Valid values:

  • true: Install the CloudMonitor agent.

  • false: Do not install the CloudMonitor agent.

Default value: false.

false

platform deprecated

string

任意

This field is deprecated. For node pool configurations, use the platform parameter under scaling_group in nodepool instead.

The operating system distribution. Valid values:

  • CentOS

  • AliyunLinux

  • QbootAliyunLinux

  • Qboot

  • Windows

  • WindowsCore

Default value: CentOS.

CentOS

os_type deprecated

string

任意

This field is deprecated. For cluster control plane node configurations, use the image_type parameter under control_plane_config instead. For node pool configurations, use the image_type parameter under scaling_group in nodepool instead.

The operating system platform type. Valid values:

  • Windows

  • Linux

Default value: Linux.

Linux

soc_enabled deprecated

boolean

任意

This field is deprecated. For cluster control plane node configurations, use the soc_enabled parameter under control_plane_config instead. For node pool configurations, use the soc_enabled parameter under scaling_group in nodepool instead.

MLPS 2.0 security hardening. For more information, see ACK MLPS 2.0 security hardening.

Valid values:

  • true: Enable MLPS 2.0 security hardening.

  • false: Do not enable MLPS 2.0 security hardening.

Default value: false.

false

security_hardening_os deprecated

boolean

任意

This field is deprecated. For cluster control plane configurations, use the security_hardening_os parameter under control_plane_config instead. For node pool configurations, use the security_hardening_os parameter under scaling_group in nodepool instead.

Alibaba Cloud OS security hardening. Valid values:

  • true: Enable Alibaba Cloud OS security hardening.

  • false: Do not enable Alibaba Cloud OS security hardening.

Default value: false.

false

cis_enabled deprecated

boolean

任意

This field is deprecated. For cluster control plane configurations, use the security_hardening_os parameter under control_plane_config instead. For node pool configurations, use the security_hardening_os parameter under scaling_group in nodepool instead.

false

cpu_policy deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the cpu_policy parameter under control_plane_config instead. For node pool configurations, use the cpu_policy parameter under kubernetes_config in nodepool instead.

The CPU management policy for nodes. The following policies are supported for cluster versions 1.12.6 and later:

  • static: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.

  • none: Uses the existing default CPU affinity scheme.

Default value: none.

none

node_port_range deprecated

string

任意

The node service port range. Valid values: [30000,65535].

Default value: 30000-32767.

30000~32767

master_vswitch_ids deprecated

array

任意

This field is deprecated. Use the vswitch_ids parameter instead.

The list of vSwitch IDs for master nodes. The number of vSwitches ranges from [1,3]. To ensure high availability, we recommend that you select 3 vSwitches in different zones.

The number of specified instance types must match master_count and correspond one-to-one with the elements in master_vswitch_ids.

string

任意

The list of vSwitch IDs for master nodes. The number of vSwitches ranges from [1,3]. To ensure high availability, we recommend that you select 3 vSwitches in different zones.

The number of specified instance types must match master_count and correspond one-to-one with the elements in master_vswitch_ids.

vsw-2ze3ds0mdip0hdz8i****

key_pair deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the key_pair parameter under control_plane_config instead. For node pool configurations, use the key_pair parameter under scaling_group in nodepool instead.

The key pair name. Mutually exclusive with login_password.

security-key

login_password deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the login_password parameter under control_plane_config instead. For node pool configurations, use the login_password parameter under scaling_group in nodepool instead.

The SSH logon password. Mutually exclusive with key_pair. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.

null

master_count deprecated

integer

任意

This field is deprecated. For cluster control plane configurations, use the size parameter under control_plane_config instead.

The number of master nodes. Valid values: 3 or 5.

Default value: 3.

3

master_instance_types deprecated

array

任意

This field is deprecated. For cluster control plane configurations, use the instance_types parameter under control_plane_config instead.

The instance types for master nodes. For more information, see Instance families.

string

任意

The instance types for master nodes. The number of specified instance types must match master_count and correspond one-to-one with the elements in master_instance_types. For more information, see Instance families.

ecs.n4.xlarge

master_system_disk_category deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the system_disk_category parameter under control_plane_config instead.

The system cloud disk type for master nodes. Valid values:

  • cloud_efficiency: ultra cloud disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: ESSD cloud disk.

Default value: cloud_ssd. The default value may vary based on the active zone.

cloud_ssd

master_system_disk_size deprecated

integer

任意

This field is deprecated. For cluster control plane configurations, use the system_disk_size parameter under control_plane_config instead.

The system cloud disk size for master nodes. Valid values: [40,500]. Unit: GiB.

Default value: 120.

120

master_system_disk_performance_level deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the system_disk_performance_level parameter under control_plane_config instead.

The performance level of the system cloud disk for cluster master nodes. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see ESSD cloud disks (standard SSDs).

PL1

master_system_disk_snapshot_policy_id deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the system_disk_snapshot_policy_id parameter under control_plane_config instead.

The automatic snapshot policy ID for the master node system cloud disk.

sp-2zej1nogjvovnz4z****

master_instance_charge_type deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the instance_charge_type parameter under control_plane_config instead.

The billing method for master nodes. Valid values:

  • PrePaid: subscription.

  • PostPaid: pay-as-you-go.

Default value: PostPaid.

PrePaid

master_period_unit deprecated

string

任意

This field is deprecated. For cluster control plane configurations, use the period_unit parameter under control_plane_config instead.

The billing cycle for master nodes. This parameter is required when the billing method is PrePaid.

Valid values: Month. Currently, only monthly billing is supported.

Month

master_period deprecated

integer

任意

This field is deprecated. For cluster control plane configurations, use the unit parameter under control_plane_config instead.

The subscription duration for master nodes. This parameter takes effect and is required only when master_instance_charge_type is set to PrePaid.

Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.

Default value: 1.

1

master_auto_renew deprecated

boolean

任意

This field is deprecated. For cluster control plane configurations, use the auto_renew parameter under control_plane_config instead.

Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when master_instance_charge_type is set to PrePaid. Valid values:

  • true: Enable auto-renewal.

  • false: Disable auto-renewal.

Default value: true.

true

master_auto_renew_period deprecated

integer

任意

This field is deprecated. For cluster control plane configurations, use the auto_renew_period parameter under control_plane_config instead.

The auto-renewal epoch for master nodes. This parameter takes effect and is required when the subscription billing method is selected.

Valid values: {1, 2, 3, 6, 12}.

Default value: 1.

1

num_of_nodes deprecated

integer

任意

This field is deprecated. For node pool configurations, use the desired_size parameter under scaling_group in nodepool instead.

The number of worker nodes. Valid values: [0, 100].

3

worker_vswitch_ids deprecated

array

任意

This field is deprecated. For node pool configurations, use the vswitch_ids parameter under scaling_group in nodepool instead.

The list of vSwitches used by cluster nodes. Each node corresponds to one value.

When creating a managed cluster with zero nodes, the worker_vswitch_ids field is not required, but you must provide vswitch_ids.

string

任意

The list of vSwitches for worker nodes. Valid values: [1,20]. To ensure high availability, we recommend that you select vSwitches in different zones.

When creating a managed cluster with zero nodes, the worker_vswitch_ids field is not required, but you must provide vswitch_ids.

vsw-2ze3ds0mdip0hdz8i****

worker_instance_types deprecated

array

任意

This field is deprecated. For node pool configurations, use the instance_types parameter under scaling_group in nodepool instead.

The instance configurations for worker nodes.

string

任意

The instance types for worker nodes. At least one instance type must be specified. For more information, see Instance families.

説明

The priority of instance types decreases as their position in the array increases. When an instance cannot be created with a higher-priority instance type, the system automatically selects the next-priority instance type.

ecs.n4.large

worker_system_disk_category deprecated

string

任意

This field is deprecated. For node pool configurations, use the system_disk_category parameter under scaling_group in nodepool instead.

The system cloud disk type for worker nodes. For more information, see Block storage overview.

Valid values:

  • cloud_efficiency: ultra cloud disk.

  • cloud_ssd: standard SSD.

Default value: cloud_ssd.

cloud_efficiency

worker_system_disk_size deprecated

integer

任意

This field is deprecated. For node pool configurations, use the system_disk_size parameter under scaling_group in nodepool instead.

The system cloud disk size for worker nodes. Unit: GiB.

Valid values: [40,500].

The value must be greater than or equal to max{40, ImageSize}.

Default value: 120.

120

worker_system_disk_snapshot_policy_id deprecated

string

任意

This field is deprecated. For node pool configurations, use the system_disk_snapshot_policy_id parameter under scaling_group in nodepool instead.

The automatic snapshot policy ID for the worker node system cloud disk.

sp-2zej1nogjvovnz4z****

worker_system_disk_performance_level deprecated

string

任意

This field is deprecated. For node pool configurations, use the system_disk_performance_level parameter under scaling_group in nodepool instead.

The performance level (PL) of the ESSD used as the system cloud disk can be configured when the system cloud disk is an ESSD cloud disk. For more information, see ESSD cloud disks.

Valid values:

  • PL0

  • PL1

  • PL2

  • PL3

PL1

worker_data_disks deprecated

array<object>

任意

This field is deprecated. For node pool configurations, use the data_disks parameter under scaling_group in nodepool instead.

The data cloud disk type, size, and other configurations for worker nodes.

object

任意

The data cloud disk configuration set.

category

string

必須

The data cloud disk type.

cloud_essd

encrypted

string

任意

Specifies whether to encrypt the data cloud disk. Valid values:

  • true: Encrypt the data cloud disk.

  • false: Do not encrypt the data cloud disk.

Default value: false.

true

size

string

必須

The data cloud disk size. Valid values: 40 to 32767. Unit: GiB.

120

performance_level

string

任意

The performance level of the node data cloud disk. This parameter takes effect only for ESSD cloud disks (standard SSDs).

PL1

worker_instance_charge_type deprecated

string

任意

This field is deprecated. For node pool configurations, use the instance_charge_type parameter under scaling_group in nodepool instead.

The billing method for worker nodes. Valid values:

  • PrePaid: subscription.

  • PostPaid: pay-as-you-go.

Default value: pay-as-you-go.

PrePaid

worker_period_unit deprecated

string

任意

This field is deprecated. For node pool configurations, use the period_unit parameter under scaling_group in nodepool instead.

The billing cycle.

Month

worker_period deprecated

integer

任意

This field is deprecated. Use the period parameter under scaling_group in nodepool for node pool configuration instead.

The subscription duration of worker nodes. This parameter takes effect and is required only when worker_instance_charge_type is set to PrePaid.

Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.

Default value: 1.

1

worker_auto_renew deprecated

boolean

任意

This field is deprecated. Use the auto_renew parameter under scaling_group in nodepool for node pool configuration instead.

Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect only when worker_instance_charge_type is set to PrePaid. Valid values:

  • true: Enables auto-renewal.

  • false: Disables auto-renewal.

Default value: true.

true

worker_auto_renew_period deprecated

integer

任意

This field is deprecated. Use the auto_renew_period parameter under scaling_group in nodepool for node pool configuration instead.

The auto-renewal epoch of worker nodes. This parameter takes effect and is required only when the subscription billing method is selected.

Valid values: {1, 2, 3, 6, 12}.

1

instances deprecated

array

任意

This field is deprecated. Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the AttachInstancesToNodePool operation.

The list of ECS instances to use when creating a cluster with existing nodes. These instances are added to the cluster as worker nodes.

説明

This field is required when you create a cluster with existing instances.

string

任意

The list of ECS instances to use when creating a cluster with existing nodes. These instances are added to the cluster as worker nodes.

説明

This field is required when you create a cluster with existing instances.

i-2ze4zxnm36vq00xn****

format_disk deprecated

boolean

任意

This field is deprecated. Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the AttachInstancesToNodePool operation.

Specifies whether to mount data cloud disks to existing instances when creating a cluster with existing instances. Valid values:

  • true: Stores containers and images on a data cloud disk. Existing data on the data cloud disk will be lost. Back up your data in advance.

  • false: Does not store containers and images on a data cloud disk.

Default value: false.

Data cloud disk mounting rules:

  • If the ECS instance has data cloud disks attached and the file system of the last data cloud disk is not initialized, the system automatically formats the data cloud disk as ext4 to store /var/lib/docker and /var/lib/kubelet.

  • If the ECS instance has no data cloud disks attached, no new data cloud disk is mounted.

false

keep_instance_name deprecated

boolean

任意

This field is deprecated. Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the AttachInstancesToNodePool operation.

Specifies whether to retain instance names when creating a cluster with existing instances.

  • true: Retains the instance names.

  • false: Does not retain the instance names. The system replaces them based on system rules.

Default value: true.

true

service_discovery_types deprecated

array

任意

This field is deprecated. The in-cluster service discovery type, used to specify the service discovery method in ACK Serverless clusters.

  • CoreDNS: Uses the Kubernetes-native standard service discovery component CoreDNS. A set of containers must be deployed in the cluster for DNS resolution. By default, two ECI instances with 0.25 Core and 512 MiB specifications are used.

  • PrivateZone: Uses Alibaba Cloud PrivateZone to provide service discovery capabilities. The PrivateZone service must be activated.

Default value: disabled.

string

任意

The in-cluster service discovery type, used to specify the service discovery method in ACK Serverless clusters.

  • CoreDNS: Uses the Kubernetes-native standard service discovery component CoreDNS. A set of containers must be deployed in the cluster for DNS resolution. By default, two ECI instances with 0.25 Core and 512 MiB specifications are used.

  • PrivateZone: Uses Alibaba Cloud PrivateZone to provide service discovery capabilities. The PrivateZone service must be activated.

Default value: disabled.

PrivateZone

nat_gateway deprecated

boolean

任意

This field is deprecated. Use the snat_entry parameter instead.

true

zone_id deprecated

string

任意

This field is deprecated. Use the zone_ids parameter instead.

The active zone ID of the region where the cluster resides. This parameter is specific to ACK managed clusters.

When creating an ACK managed cluster, if vpc_id and vswitch_ids are not specified, you must specify zone_id for the cluster to automatically create a VPC and related network resources in the specified zone. This parameter is ignored when vpc_id and vswitch_ids are specified.

cn-beiji****

logging_type deprecated

string

任意

This field is deprecated. Enables Simple Log Service for the cluster. This parameter takes effect only for ACK Serverless clusters, and the value must be SLS.

SLS

disable_rollback deprecated

boolean

任意

This field is deprecated. By default, rollback is not performed when cluster creation fails. You must manually clean up the failed cluster.

Specifies whether to roll back when cluster creation fails. Valid values:

  • true: Performs a rollback when cluster creation fails.

  • false: Does not perform a rollback when cluster creation fails.

Default value: true.

true

timeout_mins deprecated

integer

任意

This field is deprecated. By default, rollback is not performed when cluster creation fails. You must manually clean up the failed cluster.

The timeout period for cluster creation, in minutes.

Default value: 60.

60

image_type deprecated

string

任意

This field is deprecated. Use the image_type parameter under control_plane_config for cluster control plane configuration, or use the image_type parameter under scaling_group in nodepool for node pool configuration instead.

The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:

  • CentOS

  • AliyunLinux

  • AliyunLinux Qboot

  • AliyunLinuxUEFI

  • AliyunLinux3

  • Windows

  • WindowsCore

  • AliyunLinux3Arm64

  • ContainerOS

Default value: CentOS.

AliyunLinux

load_balancer_spec deprecated

string

任意

This parameter is deprecated. CLB uses pay-by-usage billing, and this parameter does not take effect.

The load balancing specification. Valid values:

  • slb.s1.small

  • slb.s2.small

  • slb.s2.medium

  • slb.s3.small

  • slb.s3.medium

  • slb.s3.large

Default value: slb.s2.small.

slb.s2.small

enable_rrsa deprecated

boolean

任意

This field is deprecated. Use the rrsa_config parameter instead.

Specifies whether to enable the RRSA feature.

  • true: Enabled.

  • false: Disabled.

false

charge_type deprecated

string

任意

This field is deprecated.

The billing method of the CLB instance used by the API server. Default value: PostPaid. Valid values:

  • PostPaid: pay-as-you-go.

  • PrePaid: subscription. The subscription billing method is no longer supported for newly created CLB instances. Existing instances are not affected.

重要

For more information, see Notice on CLB billing item adjustments.

PostPaid

period_unit deprecated

string

任意

This field is deprecated.

The billing cycle. This parameter is required when the billing method is PrePaid.

Valid values: Month. Currently, only monthly billing cycles are supported.

This field was changed on October 15, 2024. For more information, see Notice on behavior changes of the CreateCluster parameter.

Month

period deprecated

integer

任意

This field is deprecated.

The subscription duration. This parameter takes effect and is required only when charge_type is set to PrePaid.

Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.

Default value: 1.

This field was changed on October 15, 2024. For more information, see Notice on behavior changes of the CreateCluster parameter.

1

auto_renew deprecated

boolean

任意

This field is deprecated.

Specifies whether to enable auto-renewal. This parameter takes effect only when charge_type is set to PrePaid. Valid values:

  • true: Enables auto-renewal.

  • false: Disables auto-renewal.

Default value: false.

This field was changed on October 15, 2024. For more information, see Notice on behavior changes of the CreateCluster parameter.

true

auto_renew_period deprecated

integer

任意

This field is deprecated.

The auto-renewal epoch. This parameter takes effect only when the upfront billing method and auto-renewal are selected. When PeriodUnit=Month, valid values: {1, 2, 3, 6, 12}.

Default value: 1.

This field was changed on October 15, 2024. For more information, see Notice on behavior changes of the CreateCluster parameter.

1

access_control_list deprecated

array

任意

This field is deprecated. The access control list for the API server SLB of a registered cluster.

string

任意

The access control list for the API server SLB of a registered cluster.

192.168.XX.XX/24

レスポンスフィールド

フィールド

説明

object

The response body.

cluster_id

string

The cluster ID.

cb95aa626a47740afbf6aa099b650****

request_id

string

The request ID.

687C5BAA-D103-4993-884B-C35E4314****

task_id

string

The task ID.

T-5a54309c80282e39ea****

成功レスポンス

JSONJSON

{
  "cluster_id": "cb95aa626a47740afbf6aa099b650****",
  "request_id": "687C5BAA-D103-4993-884B-C35E4314****",
  "task_id": "T-5a54309c80282e39ea****"
}

エラーコード

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。