REST API - get

vcenter namespace management cluster size info: get

Get information about the default values associated with various sizes.

Request:

HTTP request

GET https://{server}/api/vcenter/namespace-management/cluster-size-info

Response:

HTTP Status Code: 200

Response Body Structure:

{
    "TINY"{
        "default_pod_cidr"{
            "address""string",
            "prefix"1
        },
        "default_service_cidr"{
            "address""string",
            "prefix"1
        },
        "master_vm_info"{
            "memory"1,
            "count"1,
            "cores_per_socket"1,
            "capacity"1
        },
        "num_supported_services"1,
        "worker_vm_info"{
            "memory"1,
            "count"1,
            "cores_per_socket"1,
            "capacity"1
        },
        "num_supported_pods"1
    }
}

Headers:

None

Type:

Name Type Description
bold = required
- object Information for each size.Object with element values of type info.
-.* info
-.*.num_supported_pods long The maximum number of supported pods.

-.*.num_supported_services long The maximum number of supported services.

-.*.default_service_cidr ipv4_cidr Default CIDR range from which Kubernetes allocates service cluster IP addresses.

-.*.default_service_cidr.address string The IPv4 address.

-.*.default_service_cidr.prefix long The CIDR prefix.

-.*.default_pod_cidr ipv4_cidr Default CIDR range from which Kubernetes allocates pod IP addresses.

-.*.default_pod_cidr.address string The IPv4 address.

-.*.default_pod_cidr.prefix long The CIDR prefix.

-.*.master_vm_info vm_info Information about Kubernetes API server virtual machine configuration.

-.*.master_vm_info.count long Number of CPU cores.

-.*.master_vm_info.cores_per_socket long Number of CPU cores per socket.

-.*.master_vm_info.memory long Memory size, in mebibytes.

-.*.master_vm_info.capacity long Overall capacity of the disks in the virtual machine, in mebibytes.

-.*.worker_vm_info vm_info Information about worker virtual machine configuration.

Optional. If unset, the configuration of the worker VM is not fixed.

-.*.worker_vm_info.count long Number of CPU cores.

-.*.worker_vm_info.cores_per_socket long Number of CPU cores per socket.

-.*.worker_vm_info.memory long Memory size, in mebibytes.

-.*.worker_vm_info.capacity long Overall capacity of the disks in the virtual machine, in mebibytes.

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
401 unauthenticated if the user can not be authenticated.