azure-container-networking
azure-container-networking copied to clipboard
Azure Container Networking Solutions for Linux and Windows Containers
notably, this kills `hack/tools` in favor of the [new tools directive in the go.mod](https://go.dev/blog/go1.24#tool-improvements). Go 1.24 now has FIPS certification of the 1P crypto, but we are currently still required...
no code changes, only rearranging. starting to break up the huge spaghetti that is `main`
Windows HPC are special. They explicitly [do not run in a chroot](https://github.com/kubernetes/enhancements/tree/master/keps/sig-windows/1981-windows-privileged-container-support#container-mounts:~:text=There%20will%20be%20no%20chroot%20equivalent) or similar execution sandbox, and their [filesystem is a merged view](https://github.com/kubernetes/enhancements/tree/master/keps/sig-windows/1981-windows-privileged-container-support#container-mounts) of the hostfs and their shipped containerfs....
**Reason for Change**: Currently, the telemetry handle can only work with instrumentation keys. If we want to use application insights in sovereign clouds, this would simply fail as the logging...
Currently, CNS will repeatedly try to start controller-manager, even though all errors from it effectively leave controller-manager in a terminal state. This operation should have a timeout that will cause...
I have not observed this however while reading the code, I noticed this as a possible condition that may not release the ip address. https://github.com/Azure/azure-container-networking/blob/a2a2ab89b94e68245f29118ce9c450517b8cee01/cns/fsnotify/fsnotify.go#L60 If os.Open(..) returns an error,...
Request response logging in cns uses +v on structs with raw bytes which produces very hard to read nonsesne. Those bytes are really json.RawMessage which supports serializing to json so...
This line prints bytes.. we should probably stop doing that https://github.com/Azure/azure-container-networking/blob/a151c838944aad23ee22ac7e14b55fd2fb2017b5/cns/hnsclient/hnsclient_windows.go#L543 Example: ``` 2025/03/28 10:28:49 [4928] [Azure CNS] Successfully created HostNCApipaEndpoint: &{Id:03668027-f8ba-43e0-9301-3751606d353a Name:HostNCApipaEndpoint-Swift_ad22b58a-5c6f-4432-8756-0d079755d053 HostComputeNetwork:795c031e-7993-4ce1-80ad-6b08691acd1a HostComputeNamespace: Policies:[{Type:ACL Settings:[123 34 80 114...