Create a new node pool

POST https://containerengine.{{region}}.oci.oraclecloud.com/20180222/nodePools

Create a new node pool.

Request Body

{"compartmentId"=>"{{app_compartment_ocid}}", "clusterId"=>"{{app_cluster_ocid}}", "name"=>"End-to-End API - Node Pool", "kubernetesVersion"=>"v1.20.11", "nodeShape"=>"VM.Standard.A1.Flex", "nodeConfigDetails"=>{"size"=>2, "placementConfigs"=>[{"availabilityDomain"=>"{{app_name_ad_1}}", "subnetId"=>"{{app_nodes_subnet_ocid}}"}]}, "nodeShapeConfig"=>{"memoryInGBs"=>8, "ocpus"=>1}, "nodeSourceDetails"=>{"sourceType"=>"IMAGE", "imageId"=>"ocid1.image.oc1.iad.aaaaaaaatem5ujy7ykxbdc5dk4czx57be7iblqqpmccgfj7l2qoktyzemsuq"}}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA token you supply to uniquely identify the request and provide idempotency if
the request is retried. Idempotency tokens expire after 24 hours.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations