View server specifications
    • PDF

    View server specifications

    • PDF

    Article summary

    Available in VPC

    View the server specifications available when creating a cluster or NodePool.

    Requests

    The following describes the request format for the endpoint. The request format is as follows.

    MethodURI
    GET/option/server-product-code

    Request headers

    For headers common to all Ncloud Kubernetes Service APIs, see Ncloud Kubernetes Service common headers.

    Request query parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    softwareCodeStringRequiredServer image code
    • Need to enter a valid value of either zoneCode or zoneNo
    zoneCodeStringConditionalZone code
    • KR-1 | KR-2 | KR-3
    zoneNoStringConditionalZone number
    • 2 - 4

    Request example

    The following is a sample request.

    curl --location 'https://nks.apigw.ntruss.com/vnks/v2/option/server-product-code' \
    --header 'x-ncp-apigw-timestamp: {timestamp}' \
    --header 'x-ncp-iam-access-key: {access key}' \
    --header 'x-ncp-apigw-signature-v2: {API gateway signature}' \
    

    Responses

    The following describes the response format.

    Response syntax

    The response syntax is as follows.

    [
        {
            "label": "string",
            "value": "string"
        },
        {
            "label": "string",
            "value": "string"
        }
    ]
    

    Response body

    The following describes the response body.

    FieldTypeRequiredDescription
    labelString-Server image name
    valueString-Server product code

    Response status codes

    For response status codes common to all Ncloud Kubernetes Service APIs, see Ncloud Kubernetes Service response status codes.

    Response example

    The following is a sample response.

    For XEN

    [
        {
            "label": "vCPU 2EA, Memory 4GB, [SSD]Disk 50GB",
            "value": "SVR.VSVR.HICPU.C002.M004.NET.SSD.B050.G002"
        },
        {
            "label": "vCPU 4EA, Memory 8GB, [SSD]Disk 50GB",
            "value": "SVR.VSVR.HICPU.C004.M008.NET.SSD.B050.G002"
        }
    ]
    

    For KVM

    [
        {
            "label": "c2-g3(vCPU 2EA, Memory 4GB)",
            "value": "c2-g3"
        },
        {
            "label": "c4-g3(vCPU 4EA, Memory 8GB)",
            "value": "c4-g3"
        }
    ]
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.