KubernetesNetworkConfig

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

Bases: object

The properties that define the network configuration for Kubernetes.

Methods

__init__(**kwargs) Initializes a new KubernetesNetworkConfig object with values from keyword arguments.

Attributes

pods_cidr Gets the pods_cidr of this KubernetesNetworkConfig.
services_cidr 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.
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
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