OciVcnIpNativeNodePoolPodNetworkOptionDetails¶
- class oci.container_engine.models.OciVcnIpNativeNodePoolPodNetworkOptionDetails(**kwargs)¶
Bases:
NodePoolPodNetworkOptionDetailsNetwork options specific to using the OCI VCN Native CNI
Attributes:
A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails.
A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails.
[Required] Gets the cni_type of this NodePoolPodNetworkOptionDetails.
Gets the max_pods_per_node of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
Gets the pod_nsg_ids of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
Gets the pod_subnet_ids of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
Methods:
__init__(**kwargs)Initializes a new OciVcnIpNativeNodePoolPodNetworkOptionDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- CNI_TYPE_FLANNEL_OVERLAY = 'FLANNEL_OVERLAY'¶
A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails. This constant has a value of “FLANNEL_OVERLAY”
- CNI_TYPE_OCI_VCN_IP_NATIVE = 'OCI_VCN_IP_NATIVE'¶
A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails. This constant has a value of “OCI_VCN_IP_NATIVE”
- __init__(**kwargs)¶
Initializes a new OciVcnIpNativeNodePoolPodNetworkOptionDetails object with values from keyword arguments. The default value of the
cni_typeattribute of this class isOCI_VCN_IP_NATIVEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
cni_type (str) – The value to assign to the cni_type property of this OciVcnIpNativeNodePoolPodNetworkOptionDetails. Allowed values for this property are: “OCI_VCN_IP_NATIVE”, “FLANNEL_OVERLAY”
max_pods_per_node (int) – The value to assign to the max_pods_per_node property of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
pod_nsg_ids (list[str]) – The value to assign to the pod_nsg_ids property of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
pod_subnet_ids (list[str]) – The value to assign to the pod_subnet_ids property of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
- property cni_type¶
[Required] Gets the cni_type of this NodePoolPodNetworkOptionDetails. The CNI plugin used by this node pool
Allowed values for this property are: “OCI_VCN_IP_NATIVE”, “FLANNEL_OVERLAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The cni_type of this NodePoolPodNetworkOptionDetails.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property max_pods_per_node¶
Gets the max_pods_per_node of this OciVcnIpNativeNodePoolPodNetworkOptionDetails. The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
- Returns
The max_pods_per_node of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
- Return type
int
- property pod_nsg_ids¶
Gets the pod_nsg_ids of this OciVcnIpNativeNodePoolPodNetworkOptionDetails. The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see
NetworkSecurityGroup.- Returns
The pod_nsg_ids of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
- Return type
list[str]
- property pod_subnet_ids¶
Gets the pod_subnet_ids of this OciVcnIpNativeNodePoolPodNetworkOptionDetails. The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
- Returns
The pod_subnet_ids of this OciVcnIpNativeNodePoolPodNetworkOptionDetails.
- Return type
list[str]