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 EKS | Google GKE | Azure AKS | |
|---|---|---|---|
| Subnet scope | Per zone: a public and a private subnet in each | One regional subnet across all zones | One regional subnet across all zones |
| Node IPs | Private subnets | Subnet primary range | Subnet |
| Pod IPs | From the subnets (VPC CNI) | Named secondary range on the subnet | Overlay range, outside the VNet |
| Service IPs | Cluster internal | Named secondary range on the subnet | Cluster internal |
| Your own network | vpcId, vpcCIDR and a subnets map by zone | networkId and subnet with its range names | One vnetSubnetId, the subnet's full resource ID |
| Without it | A new VPC | A subnet in the project's default network | A 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.
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.
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.
| Plugin | networkPlugin | Pod IPs | When to use |
|---|---|---|---|
| Azure CNI overlay (default) | Azure | A private overlay range, not the VNet | Most clusters: the VNet only needs room for nodes |
| Kubenet | Kubenet | A separate pod network behind NAT | Pods 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}
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 set | Accepted | |
|---|---|---|
| EKS | vpcCIDR, 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 |
| GKE | networkCIDR, 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 |
| GKE | masterIPv4CidrBlock, a private cluster's control plane | Exactly a /28 inside 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 |
| AKS | vnetSubnetId, your subnet | Any 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.