Create a new cluster.

POST {{baseUrl}}/clusters

Create a new cluster.

Request Body

{"name"=>"My Cluster", "compartmentId"=>"{{compartment_ocid}}", "vcnId"=>"ocid1.vcn.oc1.iad.aaaaaaaa5e3hn7hk6y63awlhbvlhsumkn5p3ficbjcevbnoylvptcpkxtsaa", "kubernetesVersion"=>"v1.9.4", "endpointConfig"=>{"isPublicIpEnabled"=>false, "nsgIds"=>["sit", "ut dolore"], "subnetId"=>"consectetur "}, "imagePolicyConfig"=>{"isPolicyEnabled"=>false, "keyDetails"=>[{"kmsKeyId"=>"sint velit"}, {"kmsKeyId"=>"enim"}]}, "kmsKeyId"=>"eiusmod officia", "options"=>{"addOns"=>{"isKubernetesDashboardEnabled"=>true, "isTillerEnabled"=>true}, "admissionControllerOptions"=>{"isPodSecurityPolicyEnabled"=>false}, "kubernetesNetworkConfig"=>{"podsCidr"=>"10.244.0.0/16", "servicesCidr"=>"10.96.0.0/16"}, "serviceLbSubnetIds"=>["ocid1.subnet.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3ofzxtlyit", "ocid1.subnet.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3ofzxtlyit"]}}

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