--- title: "NodePool Taint 수정" slug: "nks-updatenodepooltaint" tags: ["Kubernetes Service"] updated: 2026-09-17T09:16:20Z published: 2026-09-17T09:16:20Z canonical: "api.ncloud-docs.com/nks-updatenodepooltaint" --- > ## 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. # NodePool Taint 수정 VPC 환경에서 이용 가능합니다. 생성된 노드풀의 Taint를 수정합니다. Taint를 통해 스케줄러가 특정 Pod의 노드를 사용하지 않도록 관리할 수 있습니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | PUT | /vnks/v2/clusters/{uuid}/node-pool/{instanceNo}/taints (한국 리전) | | PUT | /vnks/sgn-v2/clusters/{uuid}/node-pool/{instanceNo}/taints (싱가포르 리전) | | PUT | /vnks/jpn-v2/clusters/{uuid}/node-pool/{instanceNo}/taints (일본 리전) | ### 요청 헤더 Ncloud Kubernetes Service API에서 공통으로 사용하는 헤더에 대한 정보는 [Ncloud Kubernetes Service 요청 헤더](/docs/compute-vpckubernetesservice#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `uuid` | String | Required | 클러스터의 UUID - [Cluster 목록 조회](/docs/nks-getclusterlist 참조/li> | | `instanceNo` | Integer | Required | 노드풀의 인스턴스 번호 | ### 요청 구문 요청 구문은 다음과 같습니다. ``` { "taints": [ { "key": "string", "value": "string", "effect": "string" } ] } ``` ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `taints` | Array | Required | 변경하려는 Taint 목록: [taints](/docs/nks-updatenodepooltaint#taints) | #### `taints` `taints`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `key` | String | Required | Taint의 키 - 영문자, 숫자, 특수 문자 '-', '_ '.'를 조합하여 입력 - 문자열의 시작과 끝은 영문자 또는 숫자 입력 | | `value` | String | Optional | Taint의 값 - 영문자, 숫자, 특수 문자 '-', '_ '.'를 조합하여 입력 - 문자열의 시작과 끝은 영문자 또는 숫자 입력 | | `effect` | String | Required | 스케줄러 관리 방식 - `NoSchedule` (기본값) \| `PreferNoSchedule` \| `NoExecute` | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request PUT 'https://nks.apigw.ntruss.com/vnks/v2/clusters/{uuid}/node-pool/{instanceNo}/taints' \ --header 'x-ncp-apigw-timestamp: {timestamp}' \ --header 'x-ncp-iam-access-key: {access key}' \ --header 'x-ncp-apigw-signature-v2: {API gateway signature}' \ --data '{ "taints": [ { "key": "taint-key", "value": "taint-value", "effect": "NoSchedule" } ] }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 구문 응답 구문은 다음과 같습니다. ``` { "uuid": "string", "instanceNo": "integer" } ``` ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `uuid` | String | - | 클러스터의 UUID | | `instanceNo` | Integer | - | 노드풀의 인스턴스 번호 | ### 응답 상태 코드 Ncloud Kubernetes Service API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Ncloud Kubernetes Service 응답 상태 코드](/docs/compute-vpckubernetesservice)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "uuid": "1a1111a1-4d44-99b9-88c8-9e99a99e9e99", "instanceNo": 23323233 } ```