Create a new node pool.
POST {{baseUrl}}/nodePools
Create a new node pool.
Request Body
{"compartmentId"=>"{{compartment_ocid}}", "clusterId"=>"ocid1.cluster.oc1....", "name"=>"My Node Pool", "kubernetesVersion"=>"v1.9.4", "nodeShape"=>"VM.Standard2.4", "initialNodeLabels"=>[{"key"=>"mykey", "value"=>"myvalue"}, {"key"=>"mykey", "value"=>"myvalue"}], "nodeConfigDetails"=>{"size"=>78359451, "placementConfigs"=>[{"availabilityDomain"=>"ea ullamco", "subnetId"=>"proident nostrud velit"}, {"availabilityDomain"=>"minim nulla", "subnetId"=>"commodo esse"}], "nsgIds"=>["in cillum non consequat voluptate", "et"]}, "nodeImageName"=>"Oracle-Linux-7.4", "nodeShapeConfig"=>{"memoryInGBs"=>69242194.34019382, "ocpus"=>35071374.49385602}, "nodeSourceDetails"=>{"sourceType"=>"IMAGE"}, "quantityPerSubnet"=>1, "sshPublicKey"=>"ssh-rsa AAAAB3NzaC1yc2abc123...", "subnetIds"=>["labore ut", "Excepteur commodo anim"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token you supply to uniquely identify the request and provide idempotency if | |
the request is retried. Idempotency tokens expire after 24 hours. | |||
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact | |
Oracle about a particular request, please provide the request ID. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |