Create or update a node pool
PUT
/api/v1/teams/{team_slug}/clusters/{cluster}/node-pools/{pool}/
const url = 'https://example.com/api/v1/teams/example/clusters/example/node-pools/example/';const options = { method: 'PUT', headers: {cookie: 'sessionid=<sessionid>', 'Content-Type': 'application/json'}, body: '{"spec":{"name":"example","source":"managed","machineType":"example","image":{"additionalProperty":"example"},"minimum":0,"maximum":3,"publicIP":true}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/teams/example/clusters/example/node-pools/example/ \ --header 'Content-Type: application/json' \ --cookie sessionid=<sessionid> \ --data '{ "spec": { "name": "example", "source": "managed", "machineType": "example", "image": { "additionalProperty": "example" }, "minimum": 0, "maximum": 3, "publicIP": true } }'/api/v1/teams/{team}/clusters/{cluster}/node-pools (docs/58 §3.5) — node pools as a
first-class resource. A change re-renders the cluster’s Shoot and reconciles it.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” cluster
required
string
pool
required
string
team_slug
required
string
Request Body required
Section titled “Request Body required ”object
spec
required
object
name
required
string
source
string
machineType
required
string
image
object
key
additional properties
minimum
integer
maximum
integer
publicIP
boolean
object
spec
required
object
name
required
string
source
string
machineType
required
string
image
object
key
additional properties
minimum
integer
maximum
integer
publicIP
boolean
object
spec
required
object
name
required
string
source
string
machineType
required
string
image
object
key
additional properties
minimum
integer
maximum
integer
publicIP
boolean
Responses
Section titled “ Responses ” Media type application/json
object
name
required
string
source
required
string
machineType
required
string
image
required
object
key
additional properties
minimum
required
integer
maximum
required
integer
publicIP
required
boolean
autoscalerPriority
required
integer
status
required
object
pet
required
boolean
backingReady
required
integer
Example generated
{ "name": "example", "source": "example", "machineType": "example", "image": { "additionalProperty": "example" }, "minimum": 1, "maximum": 1, "publicIP": true, "autoscalerPriority": 1, "status": { "pet": true, "backingReady": 1 }}RFC 7807 problem document
Media type application/json
RFC 7807 application/problem+json — every non-2xx response (docs/58 §5.10).
object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
code
required
Stable machine code clients switch on
string
instance
required
string
operationId
required
string
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "instance": "example", "operationId": "example"}RFC 7807 problem document
Media type application/json
RFC 7807 application/problem+json — every non-2xx response (docs/58 §5.10).
object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
code
required
Stable machine code clients switch on
string
instance
required
string
operationId
required
string
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "instance": "example", "operationId": "example"}