clusterTemplate_spec

clusterTemplate_spec
clusterTemplate_spec

contains details about cluster template configuration (cni, network, cloudproviders, bom etc) and control plane

JSON Example
{
    "clusterType": "WORKLOAD",
    "cluster": {
        "clusterConfigSpec": {
            "ipFamilies": "IPv4",
            "proxy": {
                "caCert": "caCert",
                "httpProxy": "httpProxy",
                "httpsProxy": "httpsProxy",
                "noProxy": "noProxy"
            },
            "airgapSpec": {
                "caCert": "caCert",
                "fqdn": "fqdn",
                "type": "extension",
                "extensionId": "extensionId"
            },
            "tcaBomReleaseRef": {
                "name": "name"
            },
            "cniType": "cniType",
            "controlPlaneEndpoint": {
                "host": "host"
            },
            "proxySpec": {
                "caCert": "caCert",
                "httpProxy": "httpProxy",
                "httpsProxy": "httpsProxy",
                "noProxy": "noProxy",
                "type": "extension",
                "extensionId": "extensionId"
            },
            "cloudProviders": {
                "primeRef": {
                    "vimId": "vimId",
                    "datacenter": "datacenter"
                },
                "subRefs": [
                    {
                        "vimId": "vimId",
                        "datacenter": "datacenter"
                    },
                    {
                        "vimId": "vimId",
                        "datacenter": "datacenter"
                    }
                ]
            },
            "clusterNetwork": {
                "pods": {
                    "cidrBlocks": [
                        "cidrBlocks",
                        "cidrBlocks"
                    ]
                },
                "apiServerPort": 0,
                "services": {
                    "cidrBlocks": [
                        "cidrBlocks",
                        "cidrBlocks"
                    ]
                },
                "serviceDomain": "serviceDomain"
            },
            "publicKeyRef": {
                "uid": "uid",
                "apiVersion": "apiVersion",
                "kind": "kind",
                "resourceVersion": "resourceVersion",
                "fieldPath": "fieldPath",
                "name": "name",
                "namespace": "namespace"
            },
            "strategy": {
                "type": "type",
                "rollingUpdate": {
                    "maxSurge": "",
                    "maxUnavailable": ""
                }
            },
            "airgap": {
                "caCert": "caCert",
                "fqdn": "fqdn"
            }
        },
        "controlPlaneSpec": {
            "template": "template",
            "diskGiB": 1,
            "numCPUs": 2,
            "datastore": "datastore",
            "replicas": 9,
            "kubeadmConfigTemplate": {
                "clusterConfiguration": {
                    "controllerManager": {
                        "extraArgs": {
                            "key": "extraArgs"
                        },
                        "extraVolumes": [
                            {
                                "mountPath": "mountPath",
                                "name": "name",
                                "readOnly": true,
                                "pathType": "pathType",
                                "hostPath": "hostPath"
                            },
                            {
                                "mountPath": "mountPath",
                                "name": "name",
                                "readOnly": true,
                                "pathType": "pathType",
                                "hostPath": "hostPath"
                            }
                        ]
                    },
                    "kind": "kind",
                    "dns": {
                        "imageRepository": "imageRepository",
                        "imageTag": "imageTag"
                    },
                    "certificatesDir": "certificatesDir",
                    "featureGates": {
                        "key": true
                    },
                    "networking": {
                        "podSubnet": "podSubnet",
                        "serviceSubnet": "serviceSubnet",
                        "dnsDomain": "dnsDomain"
                    },
                    "scheduler": {
                        "extraArgs": {
                            "key": "extraArgs"
                        },
                        "extraVolumes": [
                            {
                                "mountPath": "mountPath",
                                "name": "name",
                                "readOnly": true,
                                "pathType": "pathType",
                                "hostPath": "hostPath"
                            },
                            {
                                "mountPath": "mountPath",
                                "name": "name",
                                "readOnly": true,
                                "pathType": "pathType",
                                "hostPath": "hostPath"
                            }
                        ]
                    },
                    "apiVersion": "apiVersion",
                    "controlPlaneEndpoint": "controlPlaneEndpoint",
                    "clusterName": "clusterName",
                    "apiServer": {
                        "extraArgs": {
                            "key": "extraArgs"
                        },
                        "timeoutForControlPlane": "timeoutForControlPlane",
                        "certSANs": [
                            "certSANs",
                            "certSANs"
                        ],
                        "extraVolumes": [
                            {
                                "mountPath": "mountPath",
                                "name": "name",
                                "readOnly": true,
                                "pathType": "pathType",
                                "hostPath": "hostPath"
                            },
                            {
                                "mountPath": "mountPath",
                                "name": "name",
                                "readOnly": true,
                                "pathType": "pathType",
                                "hostPath": "hostPath"
                            }
                        ]
                    },
                    "imageRepository": "imageRepository",
                    "etcd": {
                        "external": {
                            "caFile": "caFile",
                            "endpoints": [
                                "endpoints",
                                "endpoints"
                            ],
                            "keyFile": "keyFile",
                            "certFile": "certFile"
                        },
                        "local": {
                            "peerCertSANs": [
                                "peerCertSANs",
                                "peerCertSANs"
                            ],
                            "extraArgs": {
                                "key": "extraArgs"
                            },
                            "dataDir": "dataDir",
                            "serverCertSANs": [
                                "serverCertSANs",
                                "serverCertSANs"
                            ],
                            "imageRepository": "imageRepository",
                            "imageTag": "imageTag"
                        }
                    },
                    "kubernetesVersion": "kubernetesVersion"
                }
            },
            "cloudMachineTemplate": {
                "type": "type",
                "vSphereMachine": {
                    "template": "template",
                    "cloneMode": "fullClone",
                    "numCoresPerSocket": 6,
                    "folder": "folder",
                    "datastore": "datastore",
                    "datacenter": "datacenter",
                    "storagePolicyName": "storagePolicyName",
                    "resourcePool": "resourcePool"
                }
            },
            "datacenter": "datacenter",
            "storagePolicyName": "storagePolicyName",
            "memoryMiB": 5,
            "labels": {
                "key": "labels"
            },
            "network": {
                "devices": [
                    {
                        "dhcp4": true,
                        "nameservers": [
                            "nameservers",
                            "nameservers"
                        ],
                        "dhcp6": true,
                        "networkName": "networkName",
                        "gateway6": "gateway6",
                        "gateway4": "gateway4",
                        "mtu": 5
                    },
                    {
                        "dhcp4": true,
                        "nameservers": [
                            "nameservers",
                            "nameservers"
                        ],
                        "dhcp6": true,
                        "networkName": "networkName",
                        "gateway6": "gateway6",
                        "gateway4": "gateway4",
                        "mtu": 5
                    }
                ]
            },
            "cloneMode": "fullClone",
            "numCoresPerSocket": 7,
            "folder": "folder",
            "tcaBomReleaseRef": {
                "name": "name"
            },
            "controlPlaneName": "controlPlaneName",
            "clusterName": "clusterName",
            "cloudProvider": {
                "vimId": "vimId"
            },
            "strategy": {
                "type": "type",
                "rollingUpdate": {
                    "maxSurge": "",
                    "maxUnavailable": ""
                }
            },
            "resourcePool": "resourcePool"
        },
        "nfOrchestrationTcaCPId": "nfOrchestrationTcaCPId"
    },
    "nodepools": [
        {
            "template": "template",
            "diskGiB": 3,
            "numCPUs": 4,
            "datastore": "datastore",
            "replicas": 1,
            "kubeadmConfigTemplate": {
                "joinConfiguration": {
                    "nodeRegistration": {
                        "kubeletExtraArgs": {
                            "key": "kubeletExtraArgs"
                        }
                    }
                }
            },
            "cloudMachineTemplate": {
                "type": "type",
                "vSphereMachine": {
                    "template": "template",
                    "cloneMode": "fullClone",
                    "numCoresPerSocket": 6,
                    "folder": "folder",
                    "datastore": "datastore",
                    "datacenter": "datacenter",
                    "storagePolicyName": "storagePolicyName",
                    "resourcePool": "resourcePool"
                }
            },
            "datacenter": "datacenter",
            "storagePolicyName": "storagePolicyName",
            "customisations": {
                "networkAdapters": [
                    {
                        "networkName": "networkName",
                        "interfaceName": "interfaceName",
                        "mtu": 1.0246457001441578
                    },
                    {
                        "networkName": "networkName",
                        "interfaceName": "interfaceName",
                        "mtu": 1.0246457001441578
                    }
                ]
            },
            "memoryMiB": 2,
            "pause": true,
            "labels": {
                "key": "labels"
            },
            "network": {
                "devices": [
                    {
                        "dhcp4": true,
                        "nameservers": [
                            "nameservers",
                            "nameservers"
                        ],
                        "dhcp6": true,
                        "networkName": "networkName",
                        "gateway6": "gateway6",
                        "gateway4": "gateway4",
                        "mtu": 5
                    },
                    {
                        "dhcp4": true,
                        "nameservers": [
                            "nameservers",
                            "nameservers"
                        ],
                        "dhcp6": true,
                        "networkName": "networkName",
                        "gateway6": "gateway6",
                        "gateway4": "gateway4",
                        "mtu": 5
                    }
                ]
            },
            "cloneMode": "fullClone",
            "numCoresPerSocket": 7,
            "folder": "folder",
            "tcaBomReleaseRef": {
                "name": "name"
            },
            "clusterName": "clusterName",
            "healthCheck": {
                "unhealthyConditions": [
                    {
                        "type": "type",
                        "timeout": "timeout",
                        "status": "status"
                    },
                    {
                        "type": "type",
                        "timeout": "timeout",
                        "status": "status"
                    }
                ],
                "nodeStartupTimeout": "nodeStartupTimeout",
                "maxUnhealthy": "maxUnhealthy"
            },
            "cloudProvider": {
                "vimId": "vimId"
            },
            "name": "name",
            "strategy": {
                "type": "type",
                "rollingUpdate": {
                    "maxSurge": "",
                    "maxUnavailable": ""
                }
            },
            "resourcePool": "resourcePool"
        },
        {
            "template": "template",
            "diskGiB": 3,
            "numCPUs": 4,
            "datastore": "datastore",
            "replicas": 1,
            "kubeadmConfigTemplate": {
                "joinConfiguration": {
                    "nodeRegistration": {
                        "kubeletExtraArgs": {
                            "key": "kubeletExtraArgs"
                        }
                    }
                }
            },
            "cloudMachineTemplate": {
                "type": "type",
                "vSphereMachine": {
                    "template": "template",
                    "cloneMode": "fullClone",
                    "numCoresPerSocket": 6,
                    "folder": "folder",
                    "datastore": "datastore",
                    "datacenter": "datacenter",
                    "storagePolicyName": "storagePolicyName",
                    "resourcePool": "resourcePool"
                }
            },
            "datacenter": "datacenter",
            "storagePolicyName": "storagePolicyName",
            "customisations": {
                "networkAdapters": [
                    {
                        "networkName": "networkName",
                        "interfaceName": "interfaceName",
                        "mtu": 1.0246457001441578
                    },
                    {
                        "networkName": "networkName",
                        "interfaceName": "interfaceName",
                        "mtu": 1.0246457001441578
                    }
                ]
            },
            "memoryMiB": 2,
            "pause": true,
            "labels": {
                "key": "labels"
            },
            "network": {
                "devices": [
                    {
                        "dhcp4": true,
                        "nameservers": [
                            "nameservers",
                            "nameservers"
                        ],
                        "dhcp6": true,
                        "networkName": "networkName",
                        "gateway6": "gateway6",
                        "gateway4": "gateway4",
                        "mtu": 5
                    },
                    {
                        "dhcp4": true,
                        "nameservers": [
                            "nameservers",
                            "nameservers"
                        ],
                        "dhcp6": true,
                        "networkName": "networkName",
                        "gateway6": "gateway6",
                        "gateway4": "gateway4",
                        "mtu": 5
                    }
                ]
            },
            "cloneMode": "fullClone",
            "numCoresPerSocket": 7,
            "folder": "folder",
            "tcaBomReleaseRef": {
                "name": "name"
            },
            "clusterName": "clusterName",
            "healthCheck": {
                "unhealthyConditions": [
                    {
                        "type": "type",
                        "timeout": "timeout",
                        "status": "status"
                    },
                    {
                        "type": "type",
                        "timeout": "timeout",
                        "status": "status"
                    }
                ],
                "nodeStartupTimeout": "nodeStartupTimeout",
                "maxUnhealthy": "maxUnhealthy"
            },
            "cloudProvider": {
                "vimId": "vimId"
            },
            "name": "name",
            "strategy": {
                "type": "type",
                "rollingUpdate": {
                    "maxSurge": "",
                    "maxUnavailable": ""
                }
            },
            "resourcePool": "resourcePool"
        }
    ],
    "addOns": [
        {
            "tcaBomReleaseRef": {
                "uid": "uid",
                "apiVersion": "apiVersion",
                "kind": "kind",
                "resourceVersion": "resourceVersion",
                "fieldPath": "fieldPath",
                "name": "name",
                "namespace": "namespace"
            },
            "name": "name",
            "namespace": "namespace",
            "clusterRef": {
                "uid": "uid",
                "apiVersion": "apiVersion",
                "kind": "kind",
                "resourceVersion": "resourceVersion",
                "fieldPath": "fieldPath",
                "name": "name",
                "namespace": "namespace"
            },
            "config": {
                "partnerSystemRefs": [
                    "partnerSystemRefs",
                    "partnerSystemRefs"
                ],
                "stringData": "{}"
            }
        },
        {
            "tcaBomReleaseRef": {
                "uid": "uid",
                "apiVersion": "apiVersion",
                "kind": "kind",
                "resourceVersion": "resourceVersion",
                "fieldPath": "fieldPath",
                "name": "name",
                "namespace": "namespace"
            },
            "name": "name",
            "namespace": "namespace",
            "clusterRef": {
                "uid": "uid",
                "apiVersion": "apiVersion",
                "kind": "kind",
                "resourceVersion": "resourceVersion",
                "fieldPath": "fieldPath",
                "name": "name",
                "namespace": "namespace"
            },
            "config": {
                "partnerSystemRefs": [
                    "partnerSystemRefs",
                    "partnerSystemRefs"
                ],
                "stringData": "{}"
            }
        }
    ],
    "description": "description"
}
string
clusterType
Required

Type of the cluster template

string
description
Optional

Cluster template description

cluster
Optional

cluster

addOns
Optional

List of cluster add ons

nodepools
Optional

List of cluster nodepools

Property Of