VPC 환경에서 이용 가능합니다.
특정 Add-on 버전의 상세 정보를 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
| 메서드 | URI |
|---|---|
| GET | /vnks/v2/addon-configs/{addonName}/versions/{version} (수도권 리전) |
| GET | /vnks/krs-v2/addon-configs/{addonName}/versions/{version} (남부권 리전) |
요청 헤더
Ncloud Kubernetes Service API에서 공통으로 사용하는 헤더에 대한 정보는 Ncloud Kubernetes Service 요청 헤더를 참조해 주십시오.
요청 경로 파라미터
요청 경로 파라미터에 대한 설명은 다음과 같습니다.
| 필드 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
addonName |
String | Required | Add-on 이름
|
version |
String | Required | Add-on 버전
|
요청 쿼리 파라미터
요청 쿼리 파라미터에 대한 설명은 다음과 같습니다.
| 필드 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
k8sVersion |
String | Required | 쿠버네티스 버전(major.minor.patch 형식)
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request GET 'https://nks.apigw.gov-ntruss.com/vnks/v2/addon-configs/nks-csi/versions/1.0.0?k8sVersion=1.36.2' \
--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'
응답
응답 형식을 설명합니다.
응답 구문
응답 구문은 다음과 같습니다.
{
"name": "string",
"version": "string",
"deprecated": "boolean",
"requiresWorkerNodes": "boolean",
"chartRefPattern": "string",
"configurationSchema": "object"
}
응답 바디
응답 바디에 대한 설명은 다음과 같습니다.
| 필드 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
name |
String | - | Add-on 이름 |
version |
String | - | Add-on 버전 |
deprecated |
Boolean | - | 지원 종료 여부
|
requiresWorkerNodes |
Boolean | - | 설치 시 워커 노드 필요 여부 |
chartRefPattern |
String | - | Helm 차트 참조 패턴 |
configurationSchema |
Object | - | configurationValues 작성에 사용하는 JSON Schema |
응답 상태 코드
Ncloud Kubernetes Service API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Ncloud Kubernetes Service 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"name": "nks-csi",
"version": "1.0.0",
"deprecated": false,
"requiresWorkerNodes": true,
"chartRefPattern": "oci://nks.kr.ncr.ntruss.com/nks-addon-charts/nks-csi",
"configurationSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"scheduling": {
"type": "object",
"default": {},
"additionalProperties": false,
"properties": {
"extraTolerations": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"effect": {
"type": "string",
"enum": ["NoSchedule", "PreferNoSchedule", "NoExecute"]
},
"key": { "type": "string" },
"operator": {
"type": "string",
"enum": ["Exists", "Equal"]
},
"tolerationSeconds": { "type": "integer" },
"value": { "type": "string" }
}
}
},
"nodeSelector": {
"type": "object",
"additionalProperties": { "type": "string" }
}
}
}
}
}
}