Updates the specified EKS cloud config's machine pool
PUThttps://api.spectrocloud.com/v1/cloudconfigs/eks/:configUid/machinePools/:machinePoolName
Updates the specified EKS cloud config's machine pool
Request
Path Parameters
configUid stringrequired
Cluster's cloud config uid
machinePoolName stringrequired
Machine pool name
- application/json
Body
cloudConfig
poolConfig
object
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/cloudconfigs/eks/:configUid/machinePools/:machinePoolName' \
-H 'Content-Type: application/json' \
--data-raw '{
"cloudConfig": {
"awsLaunchTemplate": {
"additionalSecurityGroups": [
{
"arn": "string",
"filters": [
{
"name": "string",
"values": [
"string"
]
}
],
"id": "string"
}
],
"ami": {
"eksOptimizedLookupType": "AmazonLinux",
"id": "string"
},
"imageLookupBaseOS": "string",
"imageLookupFormat": "string",
"imageLookupOrg": "string",
"rootVolume": {
"deviceName": "string",
"encrypted": true,
"encryptionKey": "string",
"iops": 0,
"throughput": 0,
"type": "string"
}
},
"azs": [
"string"
],
"capacityType": "on-demand",
"enableAwsLaunchTemplate": true,
"instanceType": "string",
"rootDeviceSize": 0,
"spotMarketOptions": {
"maxPrice": "string"
},
"subnets": [
{
"az": "string",
"id": "string"
}
]
},
"poolConfig": {
"additionalLabels": {},
"additionalTags": {},
"isControlPlane": true,
"labels": [
"string"
],
"maxSize": 0,
"minSize": 0,
"name": "string",
"size": 0,
"taints": [
{
"effect": "NoSchedule",
"key": "string",
"timeAdded": "2024-07-01T23:32:14.212Z",
"value": "string"
}
],
"updateStrategy": {
"type": "RollingUpdateScaleOut"
},
"useControlPlaneAsWorker": true
}
}'