clusterInfo

clusterInfo
clusterInfo

Cluster Information

JSON Example
{
    "clusterCIDR": "100.96.0.0/11",
    "controlPlaneEndpointIP": "10.182.58.154",
    "clusterName": "tca-cluster1",
    "masterNodes": {
        "vmMemMiB": 4096,
        "vmNumCPUs": 2,
        "replicas": 3,
        "name": "tca-cluster-master-0",
        "dataStore": "nfs0-1",
        "vmDiskGiB": 40,
        "id": "11223344-5566-7788-99aa-bbccddeeff00",
        "resourcePool": "tkg-rp",
        "labels": [
            "node-role.kubernetes.io/node=",
            "node-role.kubernetes.io/node="
        ],
        "network": {
            "devices": [
                {
                    "dhcp4": true,
                    "networkName": "VM Network"
                },
                {
                    "dhcp4": true,
                    "networkName": "VM Network"
                }
            ]
        }
    },
    "workerNodes": {
        "vmMemMiB": 4096,
        "vmNumCPUs": 2,
        "replicas": 3,
        "name": "tca-cluster-master-0",
        "dataStore": "nfs0-1",
        "vmDiskGiB": 40,
        "id": "11223344-5566-7788-99aa-bbccddeeff00",
        "resourcePool": "tkg-rp",
        "labels": [
            "node-role.kubernetes.io/node=",
            "node-role.kubernetes.io/node="
        ],
        "network": {
            "devices": [
                {
                    "dhcp4": true,
                    "networkName": "VM Network"
                },
                {
                    "dhcp4": true,
                    "networkName": "VM Network"
                }
            ]
        }
    },
    "id": "11223344-5566-7788-99aa-bbccddeeff00",
    "tkgID": "11223344-5566-7788-99aa-bbccddeeff00",
    "kubernetesVersion": "v1.21.2+vmware.1",
    "serviceCIDR": "100.64.0.0/13",
    "cni": {
        "type": "antrea"
    }
}
string As uuid As uuid
tkgID
Required

A universally unique identifier (UUID) is a 128-bit label

string As uuid As uuid
id
Required

A universally unique identifier (UUID) is a 128-bit label

string
clusterName
Required

name of cluster. Note cluster name should not contains '_'

string
kubernetesVersion
Required

kubernetes version

string
serviceCIDR
Required

service CIDR

string
clusterCIDR
Required

cluster CIDR

masterNodes
Required

masterNodes

workerNodes
Required

workerNodes

string As ipv4 As ipv4
controlPlaneEndpointIP
Required

Endpoint IP Address accessible from outside cluster

cni
Required

cni