Skip to main content

Networking

How a cluster AstroPulse creates sits on its cloud's network: where nodes, pods and services get their addresses, what you give when you bring your own network, and which ranges each cloud accepts. The network step of each cloud is on its own page: EKS, GKE and AKS.

At a glance​

AWS EKSGoogle GKEAzure AKS
Subnet scopePer zone: a public and a private subnet in eachOne regional subnet across all zonesOne regional subnet across all zones
Node IPsPrivate subnetsSubnet primary rangeSubnet
Pod IPsFrom the subnets (VPC CNI)Named secondary range on the subnetOverlay range, outside the VNet
Service IPsCluster internalNamed secondary range on the subnetCluster internal
Your own networkvpcId, vpcCIDR and a subnets map by zonenetworkId and subnet with its range namesOne vnetSubnetId, the subnet's full resource ID
Without itA new VPCA subnet in the project's default networkA new VNet

AWS EKS networking​

The cluster runs in a VPC with a public and a private subnet in each of three zones. Worker nodes run in the private subnets; load balancers and the NAT gateways sit in the public ones. Pods take their addresses from the subnets through the AWS VPC CNI.

Open zoom view

EKS networking: a VPC with a public and a private subnet in each of three zones, NAT gateways in the public subnets, nodes in the private ones, and the control plane run by AWS

AWSManaged by the cloudEKS control planerun by AWSVPCZone 1Public subnetNAT gatewayPrivate subnetnodesZone 2Public subnetNAT gatewayPrivate subnetnodesZone 3Public subnetNAT gatewayPrivate subnetnodesNodes and podsthe private subnets (VPC CNI)Load balancers, NAT gatewaysthe public subnets

To use a VPC you already have, see Bring your own VPC: the template, the checks the dry run makes, and the subnet tags.

Google GKE networking​

GKE clusters are VPC-native. One regional subnet spans every zone of the region, and GKE spreads the nodes across zones. Nodes take their addresses from the subnet's primary range; pods and services from two named secondary ranges on the same subnet.

Open zoom view

GKE networking: one regional subnet across three zones, nodes on its primary range, pods and services on two named secondary ranges, and the control plane run by Google

Google CloudManaged by the cloudGKE control planerun by GoogleVPC networkRegional subnet, across all zonesZone 1nodesZone 2nodesZone 3nodesNodesprimary range, e.g. 10.0.0.0/20Podssecondary range "pods", e.g. 10.4.0.0/14Servicessecondary range "services", e.g. 10.0.16.0/20

Pod-to-pod traffic is routed natively through the VPC, and pods reach other Google Cloud services on their VPC addresses. Every GKE cluster AstroPulse creates runs GKE Dataplane V2, which enforces the Kubernetes NetworkPolicy objects you create. None exist by default, so pods are not isolated until you add one.

To use a network you already have, see Bring your own VPC network. More on VPC-native clusters: Google Cloud's documentation.

Azure AKS networking​

networkPlugin picks the model. The default is Azure CNI in overlay mode, the only mode accepted for Azure.

PluginnetworkPluginPod IPsWhen to use
Azure CNI overlay (default)AzureA private overlay range, not the VNetMost clusters: the VNet only needs room for nodes
KubenetKubenetA separate pod network behind NATPods need not be reachable from the VNet

Like GKE, AKS uses one regional subnet that spans every zone, and every node pool takes its node addresses from it. Unlike GKE, pods do not need named ranges on the subnet: with overlay they come from a range Azure manages outside the VNet, so a modest subnet is enough. For your own network you give the subnet's full resource ID, which already names the subscription, resource group, VNet and subnet:

/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}
Open zoom view

AKS networking: a VNet with one subnet across three zones for the nodes, pods on an overlay range outside the VNet, cluster-internal service addresses, and the control plane run by Azure

AzureManaged by the cloudAKS control planerun by AzureVNet, e.g. 10.224.0.0/16Subnet, across all zones, e.g. 10.224.0.0/24Zone 1nodesZone 2nodesZone 3nodesNodesthe subnetPodsoverlay, e.g. 10.244.0.0/16, outside the VNetServicese.g. 10.0.0.0/16, cluster internal

The pod and service ranges shown are Azure's defaults for overlay mode; AstroPulse does not set them. authorizedIPRanges limits who reaches the Kubernetes API server, up to 200 CIDR blocks. To use a VNet you already have, see Bring your own VNet.

Ranges each cloud accepts​

Range you can setAccepted
EKSvpcCIDR, the VPC's range/16 to /24 inside 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 or 198.19.0.0/16
GKEnetworkCIDR, the node range of the subnet AstroPulse creates/8 to /29 inside 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 or 100.64.0.0/10, unused in the network
GKEmasterIPv4CidrBlock, a private cluster's control planeExactly a /28 inside 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
AKSvnetSubnetId, your subnetAny subnet in the cluster's subscription with room for the nodes

Plan ranges that do not overlap with your other VPCs, peered networks or on-premises networks, and leave room for more nodes later.

Next​