KubernetesCluster

KubernetesCluster
KubernetesCluster

Kubernetes Cluster

JSON Example
{
    "clusterCIDR": "100.96.0.0/11",
    "controlPlaneEndpointIP": "10.182.60.189",
    "workerNode": {
        "vmMemMiB": 4096,
        "vmNumCPUs": 2,
        "nameservers": [
            "10.182.62.215",
            "10.182.62.215"
        ],
        "replicas": 3,
        "name": "tca-cluster-master-0",
        "vmDiskGiB": 40,
        "labels": [
            "node-role.kubernetes.io/node=",
            "node-role.kubernetes.io/node="
        ]
    },
    "masterNode": {
        "vmMemMiB": 4096,
        "vmNumCPUs": 2,
        "nameservers": [
            "10.182.62.215",
            "10.182.62.215"
        ],
        "replicas": 3,
        "name": "tca-cluster-master-0",
        "vmDiskGiB": 40,
        "labels": [
            "node-role.kubernetes.io/node=",
            "node-role.kubernetes.io/node="
        ]
    },
    "clusterName": "tca-cluster1",
    "clusterPassword": "Password",
    "contextInfrastructure": {
        "type": "vsphere",
        "version": "7.0.2"
    },
    "vsphereContext": {
        "password": "Password",
        "vmTemplate": "photon-3-kube-v1.21.2+vmware.1",
        "dataCenter": "NameOfCluster",
        "vmFolder": "tkg-vms",
        "ip": "10.182.62.215",
        "dataStore": "nfs0-1",
        "username": "[email protected]",
        "network": "VM Network",
        "resourcePool": "tkg-rp"
    },
    "serviceCIDR": "100.64.0.0/13",
    "kubernetesVersion": "v1.21.2+vmware.1",
    "airgap": {
        "caCert": "caCert",
        "fqdn": "example.vmware.com"
    }
}
string
clusterName
Required

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

contextInfrastructure
Required

contextInfrastructure

vsphereContext
Required

vsphereContext

string
serviceCIDR
Required

service CIDR

string
clusterCIDR
Required

cluster CIDR

string
kubernetesVersion
Required

kubernetes version

string
controlPlaneEndpointIP
Required

Endpoint IP Address accessible from outside cluster

string
clusterPassword
Required

password to access cluster

masterNode
Required

masterNode

workerNode
Required

workerNode

airgap
Optional

airgap