ContainerServiceNetworkProfile Class

Profile of network configuration.

Inheritance
ContainerServiceNetworkProfile

Constructor

ContainerServiceNetworkProfile(*, network_plugin: typing.Union[str, _ForwardRef('NetworkPlugin'), NoneType] = 'kubenet', network_policy: typing.Union[str, _ForwardRef('NetworkPolicy'), NoneType] = None, network_mode: typing.Union[str, _ForwardRef('NetworkMode'), NoneType] = None, pod_cidr: typing.Union[str, NoneType] = '10.244.0.0/16', service_cidr: typing.Union[str, NoneType] = '10.0.0.0/16', dns_service_ip: typing.Union[str, NoneType] = '10.0.0.10', docker_bridge_cidr: typing.Union[str, NoneType] = '172.17.0.1/16', outbound_type: typing.Union[str, _ForwardRef('OutboundType'), NoneType] = 'loadBalancer', load_balancer_sku: typing.Union[str, _ForwardRef('LoadBalancerSku'), NoneType] = None, load_balancer_profile: typing.Union[_ForwardRef('ManagedClusterLoadBalancerProfile'), NoneType] = None, **kwargs)

Parameters

network_plugin
str or NetworkPlugin
Required

Network plugin used for building Kubernetes network. Possible values include: "azure", "kubenet". Default value: "kubenet".

network_policy
str or NetworkPolicy
Required

Network policy used for building Kubernetes network. Possible values include: "calico", "azure".

network_mode
str or NetworkMode
Required

Network mode used for building Kubernetes network. Possible values include: "transparent", "bridge".

pod_cidr
str
Required

A CIDR notation IP range from which to assign pod IPs when kubenet is used.

service_cidr
str
Required

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
Required

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
Required

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
Required

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

load_balancer_sku
str or LoadBalancerSku
Required

The load balancer sku for the managed cluster. Possible values include: "standard", "basic".

load_balancer_profile
ManagedClusterLoadBalancerProfile
Required

Profile of the cluster load balancer.