KubernetesNetworkConfig¶
- class oci.container_engine.models.KubernetesNetworkConfig(**kwargs)¶
Bases:
objectThe properties that define the network configuration for Kubernetes.
Methods:
__init__(**kwargs)Initializes a new KubernetesNetworkConfig object with values from keyword arguments.
Attributes:
Gets the pods_cidr of this KubernetesNetworkConfig.
Gets the services_cidr of this KubernetesNetworkConfig.
- __init__(**kwargs)¶
Initializes a new KubernetesNetworkConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
pods_cidr (str) – The value to assign to the pods_cidr property of this KubernetesNetworkConfig.
services_cidr (str) – The value to assign to the services_cidr property of this KubernetesNetworkConfig.
- property pods_cidr¶
Gets the pods_cidr of this KubernetesNetworkConfig. The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- Returns
The pods_cidr of this KubernetesNetworkConfig.
- Return type
str
- property services_cidr¶
Gets the services_cidr of this KubernetesNetworkConfig. The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
- Returns
The services_cidr of this KubernetesNetworkConfig.
- Return type
str