ContainerServiceNetworkProfile Class

Profile of network configuration.

Inheritance
azure.mgmt.containerservice._serialization.Model
ContainerServiceNetworkProfile

Constructor

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

Keyword-Only Parameters

Name Description
network_plugin

Network plugin used for building Kubernetes network. Known values are: "azure" and "kubenet".

default value: kubenet
network_policy

Network policy used for building Kubernetes network. Known values are: "calico" and "azure".

network_mode

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

pod_cidr
str

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

default value: 10.244.0.0/16
service_cidr
str

A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.

default value: 10.0.0.0/16
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.

default value: 10.0.0.10
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.

default value: 172.17.0.1/16
outbound_type

The outbound (egress) routing method. Known values are: "loadBalancer" and "userDefinedRouting".

default value: loadBalancer
load_balancer_sku

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

load_balancer_profile

Profile of the cluster load balancer.

Variables

Name Description
network_plugin

Network plugin used for building Kubernetes network. Known values are: "azure" and "kubenet".

network_policy

Network policy used for building Kubernetes network. Known values are: "calico" and "azure".

network_mode

Network mode used for building Kubernetes network. Known values are: "transparent" and "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

The outbound (egress) routing method. Known values are: "loadBalancer" and "userDefinedRouting".

load_balancer_sku

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

load_balancer_profile

Profile of the cluster load balancer.