Create a new Kubernetes Cluster

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

Create a new cluster.

Request Body

{"name"=>"End-to-End API - Cluster", "compartmentId"=>"{{app_compartment_ocid}}", "vcnId"=>"{{app_vcn_ocid}}", "kubernetesVersion"=>"v1.25.4", "endpointConfig"=>{"isPublicIpEnabled"=>true, "subnetId"=>"{{app_services_subnet_ocid}}"}, "options"=>{"serviceLbSubnetIds"=>["{{app_services_subnet_ocid}}"]}}

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