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, nat_gateway_profile: Optional[_models.ManagedClusterNATGatewayProfile] = None, **kwargs)
Variables
- network_plugin
- str or NetworkPlugin
Network plugin used for building the Kubernetes network. Known values are: "azure", "kubenet". Default value: "kubenet".
- network_policy
- str or NetworkPolicy
Network policy used for building the Kubernetes network. Known values are: "calico", "azure".
- network_mode
- str or NetworkMode
This cannot be specified if networkPlugin is anything other than 'azure'. 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
This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type. Known values are: "loadBalancer", "userDefinedRouting", "managedNATGateway", "userAssignedNATGateway". Default value: "loadBalancer".
- load_balancer_sku
- str or LoadBalancerSku
The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs. Known values are: "standard", "basic".
- load_balancer_profile
- ManagedClusterLoadBalancerProfile
Profile of the cluster load balancer.
- nat_gateway_profile
- ManagedClusterNATGatewayProfile
Profile of the cluster NAT gateway.
Feedback
Submit and view feedback for