Cluster API は Kubernetes カスタム リソースを使用し、Kubernetes Resource Model(KRM)に依存します。特定の組織内のクラスタのライフサイクル(インストール、アップグレード、アンインストールなど)を管理します。
Cluster API を使用するには、GDC コンソールを使用することをおすすめします。アプリケーションで独自のライブラリを使用してこの API を呼び出す必要がある場合は、次の例と完全な API 定義を使用してリクエストを作成します。
サービス エンドポイントとディスカバリ ドキュメント
Cluster API の API エンドポイントは https://MANAGEMENT_API_SERVER_ENDPOINT/apis/cluster.gdc.goog/v1 です。ここで、MANAGEMENT_API_SERVER_ENDPOINT は Management API サーバーのエンドポイントです。
kubectl proxy コマンドを使用すると、ブラウザまたは curl などのツールでその URL にアクセスして、Cluster API のディスカバリ ドキュメントを取得できます。kubectl proxy コマンドは、ローカルマシンの Kubernetes API サーバーへのプロキシを開きます。このコマンドを実行すると、次の URL(http://127.0.0.1:8001/apis/cluster.gdc.goog/v1)でドキュメントにアクセスできます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-08 UTC。"],[[["The Cluster API leverages Kubernetes custom resources and the Kubernetes Resource Model (KRM) to manage cluster lifecycles, including installation, upgrades, and uninstallation."],["The recommended method for interacting with the Cluster API is through the GDC console, but custom libraries can also be used by referring to the full API definition."],["The Cluster API endpoint is located at `https://\u003cMANAGEMENT_API_SERVER_ENDPOINT\u003e/apis/cluster.gdc.goog/v1`, where `\u003cMANAGEMENT_API_SERVER_ENDPOINT\u003e` is the Management API server endpoint."],["The discovery document for the Cluster API can be accessed via `kubectl proxy` at `http://127.0.0.1:8001/apis/cluster.gdc.goog/v1` after establishing a proxy to the Kubernetes API server."],["The example `Cluster` resource provided displays a user cluster configuration which includes specifications for the network, initial Kubernetes version, load balancer, node pool, and release channel."]]],[]]