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, network_mode: Optional[Union[str, _models.NetworkMode]] = 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', outbound_type: Optional[Union[str, _models.OutboundType]] = 'loadBalancer', load_balancer_sku: Optional[Union[str, _models.LoadBalancerSku]] = None, load_balancer_profile: Optional[_models.ManagedClusterLoadBalancerProfile] = None, **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", "azure".

network_mode
str or NetworkMode

Network mode used for building Kubernetes network. Known values are: "transparent", "bridge".

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.

outbound_type
str or OutboundType

The outbound (egress) routing method. Known values are: "loadBalancer", "userDefinedRouting". Default value: "loadBalancer".

load_balancer_sku
str or LoadBalancerSku

The load balancer sku for the managed cluster. Known values are: "standard", "basic".

load_balancer_profile
ManagedClusterLoadBalancerProfile

Profile of the cluster load balancer.