--- title: "Cluster Add-onの変更" slug: "nks-updateaddon" updated: 2026-09-17T09:57:47Z published: 2026-09-17T09:57:47Z canonical: "api.ncloud-docs.com/nks-updateaddon" --- > ## 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. # Cluster Add-onの変更 VPC環境で利用できます。 クラスタにインストールされている Add-onのバージョンまたは設定を変更します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | PATCH | /vnks/v2/clusters/{uuid}/addons/{addonRef} (韓国リージョン) | | PATCH | /vnks/sgn-v2/clusters/{uuid}/addons/{addonRef} (シンガポールリージョン) | | PATCH | /vnks/jpn-v2/clusters/{uuid}/addons/{addonRef} (日本リージョン) | ### リクエストヘッダ Ncloud Kubernetes Service APIで共通して使用されるヘッダの詳細は、[Ncloud Kubernetes Serviceのリクエストヘッダ](/docs/ja/compute-vpckubernetesservice#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストパスパラメータ リクエストパスパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `uuid` | String | Required | クラスタの UUID - [Clusterリストの照会](/docs/ja/nks-getclusterlist)を参照 | | `addonRef` | String | Required | Add-onの名前またはインストールされている Add-onの UUID - [Cluster Add-onリストの照会](/docs/ja/nks-getclusteraddonlist)を参照 | ### リクエスト構文 リクエスト構文は次の通りです。 ``` { "version": "string", "configurationValues": "string", "resolveConflicts": "string" } ``` ### リクエストボディ リクエストボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `version` | String | Conditional | 変更後の Add-onのバージョン - `configurationValues`と`resolveConflicts`を入力しなかった場合、必ず入力 - [Add-onの照会](/docs/ja/nks-getaddonconfig)の`versions[]`を参照 - 未入力時、現行バージョンを保持 | | `configurationValues` | String | Conditional | Helm values再定義値 (JSONオブジェクト文字列) - `version`と`resolveConflicts`を入力しなかった場合、 - [Add-onバージョンの照会](/docs/ja/nks-getaddonconfigversion)の`configurationSchema`を参照 - 未入力時、現在の値を保持 - 空の文字列(`""`)を入力した場合、`{}`でリセット | | `resolveConflicts` | String | Conditional | クラスタ内で直接変更されたフィールドの処理方法 - `version`と`configurationValues`を入力しなかった場合、 - `Overwrite`(デフォルト) \| `Preserve` - `Overwrite`: Add-on設定値で上書き - `Preserve`: 直接変更した値を保持 | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request PATCH 'https://nks.apigw.ntruss.com/vnks/v2/clusters/****a20e-e0fb-4dc9-af1b-97fd3f8d****/addons/nks-csi' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Sub Account Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "version": "1.0.0" }' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンス構文 レスポンス構文は次の通りです。 ``` { "uuid": "string", "clusterUuid": "string", "addonName": "string", "version": "string", "configurationValues": "string", "displayName": "string", "description": "string", "category": "string", "status": "string", "message": "string", "k8sVersion": "string", "latestVersion": "string", "createdAt": "string", "updatedAt": "string" } ``` ### レスポンスボディ 変更リクエストが受付された Add-onの情報を返します。変更の完了状況は[Cluster Add-onの照会](/docs/ja/nks-getclusteraddon)で確認できます。レスポンスボディの各フィールドの詳細は、[Cluster Add-on照会のレスポンスボディ](/docs/ja/nks-getclusteraddon#%EC%9D%91%EB%8B%B5%EB%B0%94%EB%94%94)をご参照ください。 ### レスポンスステータスコード Ncloud Kubernetes Service APIで共通して使用されるレスポンスステータスコードの詳細は、[Ncloud Kubernetes Serviceのレスポンスステータスコード](/docs/ja/compute-vpckubernetesservice#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "uuid": "****b3f1-2c4d-4a6e-9f80-1a2b3c4d****", "clusterUuid": "****a20e-e0fb-4dc9-af1b-97fd3f8d****", "addonName": "nks-csi", "version": "1.0.0", "configurationValues": "{}", "displayName": "NKS Block Storage CSI", "description": "NKS managed CSI driver for ncloud Block Storage. Provides dynamic volume provisioning, attachment, snapshot, and resize.", "category": "storage", "status": "update_in_progress", "message": "", "k8sVersion": "1.36.2-nks.1", "latestVersion": "", "createdAt": "2025-06-05T10:15:30.000Z", "updatedAt": "2025-06-10T09:02:44.000Z" } ```