--- title: "Kubernetes Serviceクラスタリストの照会" slug: "devtools-sourcedeploy-kubernetesserviceclusterlist" tags: ["SourceDeploy"] updated: 2026-09-17T09:57:53Z published: 2026-09-17T09:57:53Z canonical: "api.ncloud-docs.com/devtools-sourcedeploy-kubernetesserviceclusterlist" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Kubernetes Serviceクラスタリストの照会 VPC環境で利用できます。 使用可能な Ncloud Kubernetes Serviceクラスタリストを照会します。 参考 Ncloud Kubernetes Serviceは VPC環境でのみ提供されるサービスで、VPC環境でのみご利用できます。Kubernetesクラスタリストを照会するには、まず Ncloud Kubernetes Serviceサービスでクラスタを作成する必要があります。クラスタの作成方法の詳細は次をご参照ください。 - NAVERクラウドプラットフォームコンソールで作成: [Ncloud Kubernetes Serviceご利用ガイド](https://guide.ncloud-docs.com/docs/ja/k8s-k8soverview)を参照 - APIを利用して作成: [Ncloud Kubernetes Service APIガイド](/docs/ja/compute-vpckubernetesservice)を参照 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /api/v1/kubernetes/cluster | ### リクエストヘッダ SourceDeploy APIで共通して使用されるヘッダの詳細は、[SourceDeployのリクエストヘッダ](/docs/ja/devtools-sourcedeploy#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://vpcsourcedeploy.apigw.ntruss.com/api/v1/kubernetes/cluster' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `result` | Object | - | レスポンス結果 | | `result.clusterList` | Array | - | クラスタリスト: [clusterList](/docs/ja/devtools-sourcedeploy-kubernetesserviceclusterlist#clusterList) | #### `clusterList` `clusterList`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `id` | Number | - | クラスタ番号 | | `name` | String | - | クラスタ名 | | `permission` | String | - | 詳細情報の照会権限を持っているか - `Allow` \| `Deny` - `Allow`: 持っている - `Deny`: 持っていない | | `actionName` | String | - | 詳細情報照会権限名 | ### レスポンスステータスコード SourceDeploy APIで共通して使用されるレスポンスステータスコードの詳細は、[SourceDeployのレスポンスステータスコード](/docs/ja/devtools-sourcedeploy#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "result": { "clusterList": [ { "id": 4***, "name": "cluster1", "permission": "Allow", "actionName": "View/getKubernetesClusterDetail" } ] } } ```