cluster_options
Creates, updates, deletes, gets or lists a cluster_options resource.
Overview​
| Name | cluster_options |
| Type | Resource |
| Id | oci.container_engine.cluster_options |
Fields​
The following fields are returned by SELECT queries:
- get
The cluster options.
| Name | Datatype | Description |
|---|---|---|
clusterPodNetworkOptions | array | Available CNIs and network options for existing and new node pools of the cluster (x-default-description: when unspecified in case of updates, the current value of this field will be preserved, else value set to null) |
kubernetesVersions | array | Available Kubernetes versions. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | clusterOptionId, region | compartmentId, shouldListAllPatchVersions, opc-request-id | Get options available for clusters. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
clusterOptionId | string | The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
compartmentId | string | The OCID of the compartment. |
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. |
shouldListAllPatchVersions | boolean | Option to show all kubernetes patch versions |
SELECT examples​
- get
Get options available for clusters.
SELECT
clusterPodNetworkOptions,
kubernetesVersions
FROM oci.container_engine.cluster_options
WHERE clusterOptionId = '{{ clusterOptionId }}' -- required
AND region = '{{ region }}' -- required
AND compartmentId = '{{ compartmentId }}'
AND shouldListAllPatchVersions = '{{ shouldListAllPatchVersions }}'
AND opc-request-id = '{{ opc-request-id }}'
;