Skip to main content

cluster_options

Creates, updates, deletes, gets or lists a cluster_options resource.

Overview​

Namecluster_options
TypeResource
Idoci.container_engine.cluster_options

Fields​

The following fields are returned by SELECT queries:

The cluster options.

NameDatatypeDescription
clusterPodNetworkOptionsarrayAvailable 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)
kubernetesVersionsarrayAvailable Kubernetes versions.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectclusterOptionId, regioncompartmentId, shouldListAllPatchVersions, opc-request-idGet 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.

NameDatatypeDescription
clusterOptionIdstringThe 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.
regionstringOCI 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)
compartmentIdstringThe OCID of the compartment.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
shouldListAllPatchVersionsbooleanOption to show all kubernetes patch versions

SELECT examples​

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 }}'
;