すべてのプロダクト
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

任意

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

  • 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://" で始めることはできません。詳細については、「Labels and Selectors」をご参照ください。

tag

任意

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

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

  • タグキーは重複不可で、長さは最大 64 文字です。タグ値は空でもよく、長さは最大 128 文字です。タグキーとタグ値は "aliyun"、"acs:"、"https://"、または "http://" で始めることはできません。詳細については、「Labels and Selectors」をご参照ください。

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_idvswitch_ids が指定されていない場合は、zone_ids を指定することで、クラスターが複数のアクティブな ゾーンに VPC およびネットワークリソースを自動的に作成します。vpc_idvswitch_ids が指定されている場合、このパラメーターは効果はありません。

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。VPC CIDR ブロックや VPC 内の既存の Kubernetes クラスターで使用されている 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。VPC CIDR ブロック 10.1.0.0/21 や VPC 内の既存の Kubernetes クラスターで使用されている 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 の合計数は 2000 を超えることはできません。したがって、Terway ネットワークタイプライプのクラスターを作成する際は、高度セキュリティグループを使用することを推奨します。

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

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

デフォルト値: true

true

snat_entry

boolean

任意

VPC の SNAT を設定するための設定項目です。有効な値:

  • true: NAT ゲートウェイ の自動作成を使用し、SNAT ルールを設定します。クラスター内のノードやアプリケーションがインターネットにアクセスする必要がある場合は、これを true に設定します。

  • false: NAT ゲートウェイ や 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

任意

内部ドメイン名の DNS レコードが効果がある VPC です。

string

任意

内部ドメイン名の DNS レコードが効果がある 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} という名前の Simple Log Service プロジェクトが作成されます。

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 の有効性を認証するために使用されます。カンマ (,) で区切られた複数の audiences がサポートされています。

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

kubernetes.default.svc

extra_sans

array

任意

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

string

任意

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

192.168.xx.xx

maintenance_window maintenance_window

任意

クラスターのメンテナンスウィンドウです。

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 種類を含む必要があります。key_pair と相互排他です。

********

system_disk_category

string

任意

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

  • cloud_efficiency: Ultra ディスク。

  • cloud_ssd: 標準 SSD。

  • cloud_essd: ESSD。

  • cloud_auto: ESSD AutoPL。

  • `cloud_essd

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 クラウドディスク」をご参照ください。

PL1

system_disk_provisioned_iops

integer

任意

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

有効な値: 0 ~ min{50,000, 1000 × capacity - ベースラインパフォーマンス}。ベースラインパフォーマンス = 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 2.0 セキュリティ強化を有効にするかどうかを指定します。

  • 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 node CPU management policy.

  • 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: The Containerd runtime, which supports 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.

The custom certificate Subject Alternative Name (SAN). Separate multiple IP addresses or domain names with commas (,).

cs.aliyun.com

runtime deprecated runtime

任意

The container runtime of the cluster. Supported runtimes include 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 container runtimes.

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. The custom node data.

IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****

image_id deprecated

string

任意

This field is deprecated. For 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 node image. 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. Select the RDS instances that you want to add to the whitelist. Go to the RDS console to add the container pod CIDR block and node CIDR block. Configuring RDS instances may fail if the instances are not in the running state.

string

任意

The list of RDS instances. Select the RDS instances that you want to add to the whitelist. Go to the RDS console to add the container pod CIDR block and node CIDR block. Configuring RDS instances may fail if the instances are not in the 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.

The 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

任意

The 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 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: Installs the CloudMonitor agent.

  • false: Does 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 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 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 usage instructions.

Valid values:

  • true: Enables MLPS 2.0 security hardening.

  • false: Does not enable MLPS 2.0 security hardening.

Default value: false.

false

security_hardening_os deprecated

boolean

任意

This field is deprecated. For 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: Enables Alibaba Cloud OS security hardening.

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

Default value: false.

false

cis_enabled deprecated

boolean

任意

This field is deprecated. For 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 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 node CPU management policy. 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, select three vSwitches distributed across different zones.

The number of specified instance types must match the value of 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, select three vSwitches distributed across different zones.

The number of specified instance types must match the value of 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 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 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 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 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 the value of 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 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.

Default value: cloud_ssd. The default value may vary by zone.

cloud_ssd

master_system_disk_size deprecated

integer

任意

This field is deprecated. For 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 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 varies based on the cloud disk size. For more information, see ESSD cloud disks.

PL1

master_system_disk_snapshot_policy_id deprecated

string

任意

This field is deprecated. For 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 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 control plane configurations, use the period_unit parameter under control_plane_config instead.

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

Valid values: Month. Only monthly billing is supported.

Month

master_period deprecated

integer

任意

This field is deprecated. For 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 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: Enables auto-renewal.

  • false: Disables auto-renewal.

Default value: true.

true

master_auto_renew_period deprecated

integer

任意

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

The auto-renewal period 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 zero-node managed cluster, 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, select vSwitches in different zones.

When creating a zero-node managed cluster, 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 configuration for worker nodes.

string

任意

The instance types for worker nodes. Specify at least one instance type. 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 instance type in the list.

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.

When the system cloud disk is an ESSD, you can set the performance level (PL) of the ESSD. 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.

category

string

必須

The data cloud disk type.

cloud_essd

encrypted

string

任意

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

  • true: Encrypts the data cloud disk.

  • false: Does 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.

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 period unit for worker nodes. This parameter is required when the billing method is PrePaid.

Valid values: Month. Only monthly billing is supported.

Month

worker_period deprecated

integer

任意

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

The subscription duration for worker nodes. This parameter takes effect and is required only when `worker_

1

worker_auto_renew deprecated

boolean

任意

This field is deprecated. Use the auto_renew parameter under scaling_group in nodepool 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: Auto-renewal is enabled.

  • false: Auto-renewal is disabled.

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 instead.

The auto-renewal epoch for 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.

When creating a cluster with existing nodes, specify a list of ECS instances. These instances are added to the cluster as worker nodes.

説明

This field is required when creating a cluster with existing instances.

string

任意

When creating a cluster with existing nodes, specify a list of ECS instances. These instances are added to the cluster as worker nodes.

説明

This field is required when creating 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 when creating a cluster with existing instances. Valid values:

  • true: Stores containers and images on data cloud disks. Existing data on the data cloud disks is lost. Back up your data in advance.

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

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 disks are 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: Retained.

  • false: Not retained. Instance names are replaced by system-generated names.

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 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 active zone. This parameter does not take effect 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 rollback when cluster creation fails.

  • false: Does not perform 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. For cluster control plane configuration, use the image_type parameter under control_plane_config instead. For node pool configuration, use the image_type parameter under scaling_group in nodepool 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. 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 adjustment.

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: Auto-renewal is enabled.

  • false: Auto-renewal is disabled.

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 the registered cluster.

string

任意

The access control list for the API server SLB of the 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****"
}

エラーコード

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

変更履歴

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