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
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 |