Open Bryce-Soghigian opened 1 month ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/utils/cni.go | 7 | 8 | 87.5% | ||
pkg/providers/launchtemplate/launchtemplate.go | 9 | 11 | 81.82% | ||
<!-- | Total: | 102 | 105 | 97.14% | --> |
Totals | |
---|---|
Change from base Build 9074172591: | 0.003% |
Covered Lines: | 36334 |
Relevant Lines: | 37160 |
Still figuring out a bug in the make ci-non-test
commands for new files its generating the boilerplate twice. But this should be ready for review @charliedmcb @tallaxes
Fixes #367
Description This PR adds support for azure cni without overlay, as well as introduces some makefile goodness for creating clusters or other cni configurations.
Why Do We Need Secondary IP Configs For AZ CNI Without Overlay?
When a pod is created, the Azure CNI plugin allocates an IP address from the pool of secondary IP addresses configured on the NIC of the node where the pod is scheduled. The Azure CNI plugin manages the allocation and de-allocation of these IP addresses through the IP Address Manager (IPAM), ensuring each pod receives a unique IP address and tracking the usage of these addresses.
In this setup, pods are assigned IP addresses from the node's subnet, allowing for direct IP connectivity. This enables pods within the same virtual network to communicate without the need for Network Address Translation (NAT). The node's NIC routes traffic to the appropriate pod based on the assigned IP.
Flow
veth
pair interfaces that are added to the host network.Learn more about specifics here
How was this change tested?
What this PR does not include
Release Note