ContainerServiceNetworkProfile Class
Profile of network configuration.
- Inheritance
-
azure.mgmt.containerservice._serialization.ModelContainerServiceNetworkProfile
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
|
str or
NetworkPlugin
Network plugin used for building Kubernetes network. Known values are: "azure" and "kubenet". default value: kubenet
|
network_policy
|
str or
NetworkPolicy
Network policy used for building Kubernetes network. Known values are: "calico" and "azure". |
network_mode
|
str or
NetworkMode
Network mode used for building Kubernetes network. Known values are: "transparent" and "bridge". |
pod_cidr
|
A CIDR notation IP range from which to assign pod IPs when kubenet is used. default value: 10.244.0.0/16
|
service_cidr
|
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
|
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
|
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
|
str or
OutboundType
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
|
str or
NetworkPlugin
Network plugin used for building Kubernetes network. Known values are: "azure" and "kubenet". |
network_policy
|
str or
NetworkPolicy
Network policy used for building Kubernetes network. Known values are: "calico" and "azure". |
network_mode
|
str or
NetworkMode
Network mode used for building Kubernetes network. Known values are: "transparent" and "bridge". |
pod_cidr
|
A CIDR notation IP range from which to assign pod IPs when kubenet is used. |
service_cidr
|
A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. |
dns_service_ip
|
An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. |
docker_bridge_cidr
|
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" 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. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for