ContainerServiceNetworkProfile Class
Profile of network configuration.
- Inheritance
-
ContainerServiceNetworkProfile
Constructor
ContainerServiceNetworkProfile(*, network_plugin: Optional[Union[str, _models.NetworkPlugin]] = 'kubenet', network_policy: Optional[Union[str, _models.NetworkPolicy]] = None, pod_cidr: Optional[str] = '10.244.0.0/16', service_cidr: Optional[str] = '10.0.0.0/16', dns_service_ip: Optional[str] = '10.0.0.10', docker_bridge_cidr: Optional[str] = '172.17.0.1/16', **kwargs)
Variables
- network_plugin
- str or NetworkPlugin
Network plugin used for building Kubernetes network. Known values are: "azure", "kubenet". Default value: "kubenet".
- network_policy
- str or NetworkPolicy
Network policy used for building Kubernetes network. Known values are: "calico".
- pod_cidr
- str
A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- service_cidr
- str
A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- dns_service_ip
- str
An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- docker_bridge_cidr
- str
A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
Feedback
Submit and view feedback for