Azure Container Networking Solutions for Linux and Windows Containers
Перейти к файлу
Alexander 2e8881348e
test: add uts for cni add function (#3069)
* add dualnic windows multitenancy test

* add linux multitenancy test

* add linux swiftv2 multi nic ep info test

* add windows swiftv2 infra with delegated ep info test

* add check to ensure epInfo.ifName is overwritten in add endpoint for linux swiftv2

* test options set in invoker propagate to all endpoint infos

* test dns in nwCfg propagates to all endpoint infos

* test options and data are created for each endpoint info

* address linter issues
2024-10-16 20:21:17 +00:00
.config ci: ACN PR Pipeline Security Feature Branch (#2985) 2024-09-15 20:20:44 +00:00
.devcontainer chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
.github chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
.hooks lint pre-push hook (#1112) 2021-11-22 12:56:58 -06:00
.pipelines ci: add wait before adding windows nodepool if cluster is in updating state (#3065) 2024-10-10 21:00:17 +00:00
aitelemetry refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
azure-ipam chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
bpf-prog/ipv6-hp-bpf chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
build chore: update build tools and regenerate CRDs (#3061) 2024-10-10 16:13:08 +00:00
cni test: add uts for cni add function (#3069) 2024-10-16 20:21:17 +00:00
cns Make throttling nmagent fetches for nodesubnet more dynamic (#3023) 2024-10-14 20:54:36 +00:00
codeql feat: add codeql exec wrapper sinks (#3037) 2024-10-08 00:07:03 +00:00
common chore: remove cnm code (#2906) 2024-08-24 02:45:06 +00:00
crd chore: update build tools and regenerate CRDs (#3061) 2024-10-10 16:13:08 +00:00
debug/windows/npm test(scale): [NPM] fix flakes in kwok and capture kernel state on failure (#2249) 2023-11-29 15:37:46 -08:00
dhcp fix: add dhcp discover packet to linux swiftv2 to ensure mappings exist for dns (#2989) 2024-09-10 16:46:05 +00:00
docs chore: remove cnm code (#2906) 2024-08-24 02:45:06 +00:00
dropgz chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
ebtables refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
examples/cns Add CNS api examples for create and delete HNS networks (#337) 2019-04-15 15:58:44 -07:00
hack chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
internal Update atomic fs writer to delay tempfile creation until Write() is called (#3044) 2024-10-08 18:25:37 +00:00
ipam add L1VH IB support on CNI (#2762) 2024-07-11 16:05:28 +00:00
iptables refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
keyvault deps: bump github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets from 0.7.1 to 0.11.0 (#1693) 2023-03-21 20:44:15 +00:00
log fix: deadlock when os.Stat errors within rotate method (#1716) 2023-08-10 13:16:58 -07:00
netio refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
netlink ci: add delay after link creation for test add remove static arp (#2968) 2024-09-15 20:17:34 +00:00
netns Set constant mac for host veth interface in transparent vlan mode (#1906) 2023-04-17 14:26:00 -07:00
network test: add uts for cni add function (#3069) 2024-10-16 20:21:17 +00:00
nmagent Make throttling nmagent fetches for nodesubnet more dynamic (#3023) 2024-10-14 20:54:36 +00:00
nns cni/network unit test coverage (#1020) 2021-09-20 16:58:18 -07:00
npm chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
ovsctl refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
pkgerrlint Add a linter for detecting fmt.Errorf w/ %w (#1952) 2023-05-09 15:47:39 -05:00
platform refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
processlock fix: update azure-vnet directory permissions (#2819) 2024-07-02 01:33:12 +00:00
proto/nodenetworkservice/3.302.0.744 CNI changes to support baremetal scenario (#835) 2021-03-26 10:28:42 -07:00
refresh Make throttling nmagent fetches for nodesubnet more dynamic (#3023) 2024-10-14 20:54:36 +00:00
scripts Update install-cni-plugin.sh (#1792) 2023-04-30 20:52:30 +00:00
server/tls feat: add mTLS to CNS (#2751) 2024-06-07 22:26:49 +00:00
store [CNI] zap logger migration for store package (#2231) 2023-09-25 15:59:56 +00:00
telemetry refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
test Pipeline changes to test cilium nodesubnet clusters (#3031) 2024-10-01 17:00:09 +00:00
testutils add L1VH IB support on CNI (#2762) 2024-07-11 16:05:28 +00:00
tools chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
zapai chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
zapetw ETW logging implementation in CNI (#2668) 2024-04-18 18:17:18 +00:00
.gitattributes CI: Add golint-ci (#888) 2021-06-01 16:58:56 -07:00
.gitignore fix: [Linux] [NPM] handle #2977 for netpols without cidrs (#2990) 2024-09-11 19:40:16 +00:00
.golangci.yml fix: change to new-from-rev master in lint action (#2448) 2023-12-19 15:57:05 -06:00
CONTRIBUTING.md Create initial contrbuting guides (#2244) 2023-09-26 14:53:18 -07:00
LICENSE Added LICENSE 2017-01-31 19:51:14 -08:00
MAINTAINERS Update MAINTAINERS 2018-01-19 11:09:21 -08:00
Makefile chore: rip out dropgz (#3032) 2024-09-30 17:23:06 +00:00
README.md chore: remove cnm code (#2906) 2024-08-24 02:45:06 +00:00
SECURITY.md Microsoft mandatory file (#1390) 2022-05-27 12:44:20 -05:00
Tiltfile feat: [NPM] Restructure code and add deploy manifests (#1203) 2022-02-04 16:25:12 -08:00
go.mod deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.7.0 to 1.8.0 (#3060) 2024-10-10 20:49:11 +00:00
go.sum deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.7.0 to 1.8.0 (#3060) 2024-10-10 20:49:11 +00:00

README.md

Microsoft Azure Container Networking

Build Status Go Report Card GitHub release

Azure Network Policy Manager Conformance
Cyclonus Network Policy Suite Cyclonus Network Policy Test
Kubernetes Network Policy E2E Build Status

Overview

This repository contains container networking services and plugins for Linux and Windows containers running on Azure:

The azure-vnet network plugins connect containers to your Azure VNET, to take advantage of Azure SDN capabilities. The azure-vnet-ipam IPAM plugins provide address management functionality for container IP addresses allocated from Azure VNET address space.

The following environments are supported:

Plugins are offered as part of Azure Kubernetes Service (AKS), as well as for individual Azure IaaS VMs. For Kubernetes clusters created by aks-engine, the deployment and configuration of both plugins on both Linux and Windows nodes is automatic and default.

The next generation of Azure CNI Plugin is powered by Cilium. Learn more at Azure CNI Powered By Cilium

Documentation

See Documentation for more information and examples.

Build

This repository builds on Windows and Linux. Build plugins directly from the source code for the latest version.

$ git clone https://github.com/Azure/azure-container-networking
$ cd azure-container-networking
$ make all-binaries

Then follow the instructions for the plugin in Documentation.

Contributions

Contributions in the form of bug reports, feature requests and PRs are always welcome.

Please follow these steps before submitting a PR:

  • Create an issue describing the bug or feature request.
  • Clone the repository and create a topic branch.
  • Make changes, adding new tests for new functionality.
  • Submit a PR.

License

See LICENSE.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.