ClusterOptions

class oci.container_engine.models.ClusterOptions(**kwargs)

Bases: object

Options for creating or updating clusters.

Methods:

__init__(**kwargs)

Initializes a new ClusterOptions object with values from keyword arguments.

Attributes:

cluster_pod_network_options

Gets the cluster_pod_network_options of this ClusterOptions.

kubernetes_versions

Gets the kubernetes_versions of this ClusterOptions.

__init__(**kwargs)

Initializes a new ClusterOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • kubernetes_versions (list[str]) – The value to assign to the kubernetes_versions property of this ClusterOptions.

  • cluster_pod_network_options (list[oci.container_engine.models.ClusterPodNetworkOptionDetails]) – The value to assign to the cluster_pod_network_options property of this ClusterOptions.

property cluster_pod_network_options

Gets the cluster_pod_network_options of this ClusterOptions. Available CNIs and network options for existing and new node pools of the cluster

Returns

The cluster_pod_network_options of this ClusterOptions.

Return type

list[oci.container_engine.models.ClusterPodNetworkOptionDetails]

property kubernetes_versions

Gets the kubernetes_versions of this ClusterOptions. Available Kubernetes versions.

Returns

The kubernetes_versions of this ClusterOptions.

Return type

list[str]