Skip to main content

node_pool_options

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

Overview​

Namenode_pool_options
TypeResource
Idoci.container_engine.node_pool_options

Fields​

The following fields are returned by SELECT queries:

The node pool options.

NameDatatypeDescription
imagesarrayDeprecated. See sources. When creating a node pool using the CreateNodePoolDetails object, only image names contained in this property can be passed to the nodeImageName property.
kubernetesVersionsarrayAvailable Kubernetes versions.
shapesarrayAvailable shapes for nodes.
sourcesarrayAvailable source of the node.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectnodePoolOptionId, regioncompartmentId, shouldListAllPatchVersions, nodePoolOsType, nodePoolOsArch, nodePoolK8sVersion, opc-request-idGet options available for node pools.

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
nodePoolOptionIdstringThe 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.
nodePoolK8sVersionstringFilter node pool options by Kubernetes version.
nodePoolOsArchstringFilter node pool options by OS architecture.
nodePoolOsTypestringFilter node pool options by OS type.
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 node pools.

SELECT
images,
kubernetesVersions,
shapes,
sources
FROM oci.container_engine.node_pool_options
WHERE nodePoolOptionId = '{{ nodePoolOptionId }}' -- required
AND region = '{{ region }}' -- required
AND compartmentId = '{{ compartmentId }}'
AND shouldListAllPatchVersions = '{{ shouldListAllPatchVersions }}'
AND nodePoolOsType = '{{ nodePoolOsType }}'
AND nodePoolOsArch = '{{ nodePoolOsArch }}'
AND nodePoolK8sVersion = '{{ nodePoolK8sVersion }}'
AND opc-request-id = '{{ opc-request-id }}'
;