Deploy Cluster
Api to deploy Kubernetes Cluster for Telco Cloud Automation
The identifier of the tenant
create cluster
{
"clusterPassword": "string",
"clusterTemplateId": "string",
"ipFamilies": "string",
"clusterType": "string",
"description": "string",
"location": {
"city": "string",
"country": "string",
"cityAscii": "string",
"latitude": "string",
"longitude": "string"
},
"variables": [
{
"name": "string"
}
],
"clusterConfig": {
"csi": [
{
"name": "string",
"properties": {
"serverIP": "string",
"mountPath": "string",
"datastoreUrl": "string",
"region": "string",
"zone": "string"
}
}
],
"tools": [
{
"name": "string",
"properties": {
"extensionId": "string",
"password": "string",
"type": "string",
"url": "string",
"username": "string"
}
}
],
"networking": [
{
"name": "string",
"properties": {
"aviController": {
"aviUsername": "string",
"aviPassword": "string",
"aviCaDataB64": "string"
},
"loadBalancerAndIngressService": {
"cloudName": "string",
"defaultServiceEngineGroup": "string",
"defaultVipNetwork": "string",
"defaultVipNetworkCidr": "string"
}
}
}
],
"systemSettings": [
{
"name": "string",
"properties": {
"host": "string",
"port": 0,
"protocol": "string"
}
}
]
},
"airgapConfig": {
"type": "string",
"extensionId": "string",
"fqdn": "string",
"ip": "string",
"caCert": "string"
},
"proxyConfig": {
"type": "string",
"extensionId": "string",
"httpProxy": "string",
"httpsProxy": "string",
"noProxy": "string",
"caCert": "string"
},
"hcxCloudUrl": "string",
"vimOwnerHcxCloudUrl": "string",
"endpointIP": "string",
"managementClusterId": "string",
"masterNodes": [
{
"name": "string",
"networks": [
{
"label": "string",
"networkName": "string",
"mtu": 0,
"nameservers": [
"string"
]
}
],
"placementParams": [
{
"name": "string",
"type": "string"
}
]
}
],
"name": "string",
"placementParams": [
{
"name": "string",
"type": "string"
}
],
"vmTemplate": "string",
"workerNodes": [
{
"name": "string",
"networks": [
{
"label": "string",
"networkName": "string",
"mtu": 0,
"nameservers": [
"string"
]
}
],
"placementParams": [
{
"name": "string",
"type": "string"
}
]
}
]
}
This password is used to login to the master nodes and worker nodes. The username is "capv".
clusterTemplateId
ipFamilies
clusterType
description
Variables can be used to customize the Cluster.
clusterConfig
airgapConfig
hcxCloudUrl
The HCX cloud URL of the cluster against which the vim will be registered. This HCX will be responsible for the LCM of the cluster.
API server load balancer IP. This address is used by Kube-vip pod that runs in the control plane nodes and provides load balancing services for the cluster API server. Make sure that this Ip Address is not in the DHCP range, but its in the same subnet as the DHCP range of master node's management network.
managementClusterId
Pool of nodes on which Kubernetes control plane can run.
name
placementParams
vmTemplate
workerNodes
Successfully deployed cluster.
{
"id": "string",
"operationId": "string"
}
The id of the cluster.
The operation id for tracking the progress of the operation being performed on the cluster.
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}