Update Cluster Template
Api to update a cluster template for Telco Cloud Automation
Request
URI
PUT
https://{api_host}/hybridity/api/infra/cluster-templates/{id}
COPY
Path Parameters
string
id
Required
id
Request Body
clusterTemplate of type(s) application/json
Required
{
"clusterType": "string",
"clusterConfig": {
"cni": [
{
"name": "string"
}
],
"csi": [
{
"name": "string",
"properties": {
"name": "string",
"isDefault": false,
"timeout": "string"
}
}
],
"kubernetesVersion": "string",
"tools": [
{
"name": "string",
"version": "string"
}
]
},
"description": "string",
"masterNodes": [
{
"cpu": 0,
"memory": 0,
"name": "string",
"networks": [
{
"label": "string"
}
],
"storage": 0,
"replica": 0,
"labels": [
"string"
],
"cloneMode": "string"
}
],
"name": "string",
"id": "string",
"tags": [
{
"autoCreated": false,
"name": "string"
}
],
"workerNodes": [
{
"cpu": 0,
"memory": 0,
"name": "string",
"networks": [
{
"label": "string"
}
],
"storage": 0,
"replica": 0,
"labels": [
"string"
],
"cloneMode": "string",
"config": {
"cpuManagerPolicy": {
"type": "string",
"policy": "string",
"properties": {
"kubeReserved": {
"cpu": 0,
"memoryInGiB": 0
},
"systemReserved": {
"cpu": 0,
"memoryInGiB": 0
}
}
}
}
}
]
}
string
clusterType
Required
clusterType
Possible values are : MANAGEMENT, WORKLOAD,
string
description
Optional
description
string
name
Required
name
string
id
Optional
id
Responses
200
Successfully updated cluster template.
Returns clusterTemplate of type(s) application/json
{
"clusterType": "string",
"clusterConfig": {
"cni": [
{
"name": "string"
}
],
"csi": [
{
"name": "string",
"properties": {
"name": "string",
"isDefault": false,
"timeout": "string"
}
}
],
"kubernetesVersion": "string",
"tools": [
{
"name": "string",
"version": "string"
}
]
},
"description": "string",
"masterNodes": [
{
"cpu": 0,
"memory": 0,
"name": "string",
"networks": [
{
"label": "string"
}
],
"storage": 0,
"replica": 0,
"labels": [
"string"
],
"cloneMode": "string"
}
],
"name": "string",
"id": "string",
"tags": [
{
"autoCreated": false,
"name": "string"
}
],
"workerNodes": [
{
"cpu": 0,
"memory": 0,
"name": "string",
"networks": [
{
"label": "string"
}
],
"storage": 0,
"replica": 0,
"labels": [
"string"
],
"cloneMode": "string",
"config": {
"cpuManagerPolicy": {
"type": "string",
"policy": "string",
"properties": {
"kubeReserved": {
"cpu": 0,
"memoryInGiB": 0
},
"systemReserved": {
"cpu": 0,
"memoryInGiB": 0
}
}
}
}
}
]
}
string
clusterType
Required
clusterType
Possible values are : MANAGEMENT, WORKLOAD,
string
description
Optional
description
string
name
Required
name
string
id
Optional
id
500
Internal Server Error
Returns errorResponse of type(s) application/json
{
"errors": [
"error.yaml Object"
]
}
On This Page
Cluster Templates Operations
POST
Create Cluster Template
GET
Download Cluster Template
PUT
Update Cluster Template
POST
Upload Cluster Template