Updates cluster reference and host cluster config
PUThttps://api.spectrocloud.com/v1/clustergroups/:uid/hostCluster
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Updates cluster reference and host cluster config
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
clusterRefs undefined[]
clustersConfig
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/clustergroups/:uid/hostCluster' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"clusterRefs": [
{
"clusterName": "string",
"clusterUid": "string"
}
],
"clustersConfig": {
"endpointType": "Ingress",
"hostClustersConfig": [
{
"clusterUid": "string",
"endpointConfig": {
"ingressConfig": {
"host": "string",
"port": 0
},
"loadBalancerConfig": {
"externalIPs": [
"string"
],
"externalTrafficPolicy": "string",
"loadBalancerSourceRanges": [
"string"
]
}
}
}
],
"kubernetesDistroType": "k3s",
"limitConfig": {
"cpu": 0,
"cpuMilliCore": 0,
"memory": 0,
"memoryMiB": 0,
"overSubscription": 0,
"storageGiB": 0
},
"values": "string"
}
}'