Skip to content
Docs

    List NKS Kubernetes Versions

    $ nirvana nks:kubernetes-versions list
    GET/v1/nks/kubernetes_versions

    List all supported Kubernetes versions for NKS clusters

    ParametersExpand Collapse
    --cursor: optional string

    Pagination cursor returned by a previous request

    --limit: optional number

    Maximum number of items to return

    ReturnsExpand Collapse
    List-NKSKubernetesVersion: object { items, pagination }
    items: array of KubernetesVersion { created_at, display_name, name }
    created_at: string

    When the Kubernetes version was created.

    display_name: string

    Display name of the Kubernetes version.

    name: string

    Name of the Kubernetes version.

    List NKS Kubernetes Versions

    nirvana nks:kubernetes-versions list \
      --api-key 'My API Key'
    {
      "items": [
        {
          "created_at": "2025-01-01T00:00:00Z",
          "display_name": "Kubernetes v1.34.4",
          "name": "v1.34.4"
        }
      ],
      "pagination": {
        "next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
        "previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
        "total_count": 125
      }
    }
    Returns Examples
    {
      "items": [
        {
          "created_at": "2025-01-01T00:00:00Z",
          "display_name": "Kubernetes v1.34.4",
          "name": "v1.34.4"
        }
      ],
      "pagination": {
        "next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
        "previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
        "total_count": 125
      }
    }