Граф коммитов

186 Коммитов

Автор SHA1 Сообщение Дата
Evan Baker 6a53d5d49b
feat: Windows HPC base image (#3105)
feat: windows hpc base image

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-11-12 16:42:42 +00:00
Alexander 7f0339a294
fix: pass ai metadata to telemetry during cni image build (#3095)
* fix log on ai telemetry handle create error

* fix failure to pass cni ai id at build time for cni images

* address feedback

* move ai id to hardcoded variable

* update unit test

* Revert "move ai id to hardcoded variable"

This reverts commit 666c2b0a8f.

* fix typo
2024-11-04 21:39:37 +00:00
John Payne 7b188cc08e
ci: hardcode docker container build image (#3102) 2024-11-04 20:22:11 +00:00
Evan Baker 5f4ff11fd7
chore: rip out dropgz (#3032)
rip out dropgz

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-09-30 17:23:06 +00:00
aggarwal0009 8359dbb7c9
Update dockerfiles to use go v1.22 (#2931)
* update dockerfiles to use go v1.22

* more changes

* mod file update

* revert bpf-prog

* fix for e2e

* remove/update comment
2024-08-27 20:15:23 +00:00
Alexander 3e161f00bf
chore: remove cnm code (#2906)
* remove cnm code

* remove cnm refs in docs, comments, cns args, and makefile

* remove cns ipamclient as it uses cnm

* remove cns ipam client consts
2024-08-24 02:45:06 +00:00
sivakami-projects b70d041de2
feat: Create win 2025 images for CNI and CNS using windows servercore insider tags. (#2878)
Squashed commit of all changes for win-ltsc2025
2024-08-02 23:57:50 +00:00
Paul Yu 42ea498d71
build windows 2025 binaries (#2804)
* build windows 2025 binaries

* do not build images on CI/CD

* add a comment
2024-06-21 21:03:35 +00:00
Paul Yu 2b2d5904f3
Add default routes k8s windows (#2797)
* Add default routes k8s windows

* add os version flags 2025

* remove unnecessary line

* fix windows 2025 build version

* remove windows 2025 build from this PR

* Update cns/middlewares/k8sSwiftV2_windows.go

Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Signed-off-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>

* fix a comment linter issue

* fix the feedback to organize log

---------

Signed-off-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>
Co-authored-by: Kshitija Murudi <kmurudi@microsoft.com>
Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
2024-06-21 02:34:04 +00:00
Evan Baker 994ba651b9
combine linux and win Dockerfiles using build targets (#2559)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-06-17 21:53:44 +00:00
Behzad Mirkhanzadeh 6b86c47519
fix: Editing makefile to add stateless CNI binary to the archives (#2775) 2024-06-12 05:24:47 +00:00
Camryn Lee 219317c006
ci: makefile ACN_VERSION exclusions (#2783)
* change makefile acn_verison exclusions

* space
2024-06-11 21:40:37 +00:00
Camryn Lee aa2577fdf8
ci: build ipv6-hp-bpf in pipeline (#2769)
* build ipv6-hp-bpf img in pipeline

* test binary build

* use sudo

* build separate binaries

* test archives

* combine dockerfiles and build cmds

* setup binary builds

* fix makefile

* parameterize arch for dockerfile cp and library installation
2024-06-11 16:05:07 +00:00
Kevin Camacho 96a989e078
Add gRPC Protobuf Files for CNS Operations (#2754)
* PB Operations

* Updated Protobuf Service Name

* Package Rename

---------

Co-authored-by: Kevin <t-kcamacho@microsoft.com>
2024-05-31 17:02:11 +00:00
Camryn Lee 0475212f9f
feat: eBPF ingress/egress TC program for cilium external LB (#2710)
* tc egress + ingress bpf program for external lb dualstack svcs

* changes work with ip -6 neigh add for LL

* adding README and updated printk

* use helper func to compare IPs

* fix checksum

* prep makefile changes for future image installs

* remove generated files, update paths, addressing comments

* remove old path

* update dockerfile for bpf-tc

* implement zap logging

* update dockerfile

* create qdisc before cilium so initcontainer can start bpf-tc to attach filters

* addressing comments and change use debug macro for prints

* remove checksum flag

* logs to outfile

* reduce image size, run nft delete in main.go, delete filters if they exist before adding on restart

* rename to ipv6-hp-bpf

* reorder load_bytes

* delete filter by name
2024-05-30 20:43:37 +00:00
Behzad Mirkhanzadeh 008dadc990
feat: Modifying stateless CNI state to account for swift 2.0 changes. (#2523)
* Modyfying stateless CNI state to account for swift 2.0 changes

* Removing SecondaryNICInfor fro EPInfo.

* removing SecondaryNic from the epInfo.

* Make change to UpdateEndpointState API to support SwiftV2 for Stateless CNI

* updating Makefile to include azure CNI binary.
2024-04-25 19:39:01 +00:00
QxBytes 65d80ac134
fix: remove cnms code (#2592)
Begin removal of cnms code
2024-02-29 01:34:30 +00:00
QxBytes b26ca5e135
fix: remove unsupported targets when building all binaries (#2591)
* Remove cnm and windows transparent vlan targets when building all binaries

* Remove azure ipam from transparent vlan build
2024-02-15 21:28:17 +00:00
Mathew Merrick 5778117938
ci: E2E Framework [Scenarios] [5/6] (#2527)
* add scenarios

* port-forward and stitch hubble scenario

* run jobs in background

* import stop to steps

* add prometheus server test

* validate drop metric

* reorg scenarios

* skip e2e in ut

* test logging

* pod name empty

* wait cleanup
2024-01-30 22:03:56 +00:00
John Payne 9de8b5ef0e
ci: verbose output for make test-load (#2481)
ci: make test-load verbose output
2024-01-11 03:11:42 +00:00
Evan Baker f8e430f4a8
fix: change to new-from-rev master in lint action (#2448)
Signed-off-by: GitHub <noreply@github.com>
2023-12-19 15:57:05 -06:00
Evan Baker e61fca8c68
chore: migrate to azure-cni and azure-ipam from dropgz-test (#2372)
chore: migrate to azure-cni from dropgz-test

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-11-20 21:59:16 -06:00
Evan Baker 67c13c9358
feat: build standalone azure-ipam installer image (#2339)
feat: build azure-ipam installer image

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-11-01 15:55:00 -05:00
Evan Baker 7e5994d467
feat: build cni installer image with cni builds (#2324)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-10-30 16:51:58 -05:00
John Payne 29502bc7d0
fix: Pipeline agent image update from 18.04 to 22.04 | AzSecPack (#2327)
* Use ResolveCtl for Ubuntu22.04

* test: debug

* test: XDG dir

* ci: Remove sudo for testvalidate

* ci: remove sudo dualstack

* ci: remove test scripts

* fix: lint

---------

Co-authored-by: Sheyla Trudo <shtrudo@microsoft.com>
2023-10-26 15:54:08 -07:00
John Payne f0021b58e8
fix: cluster template env vars (#2258)
* fix: cluster templates

* cherry-pick: 0c8106a

* chore: addressing comments
2023-09-27 20:23:52 +00:00
Paul Johnston ec519a5064
chore: refactor load test suite (#2229) 2023-09-22 09:18:30 -07:00
rjdenney c9adf9a41a
Publishing our Windows dropgz version in linux dropgz manifest (#2218)
* publishing windows dropgz

* adding 2019

* adding os versions to test

* fix arm

* removing 2019 cni dropgz test
2023-09-15 22:51:13 +00:00
Evan Baker 3f313adce6
fix: add OS=windows to manifest-add args (#2194)
due to a change in buildx, we need to explicitly
pull the windows variant of the windows image that
we have previously built.

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-08-30 13:54:48 -07:00
Paul Yu b1c2508ce1
ci: add node and CNS restart test case in dualstack (#2135)
* add noderestart test cases
2023-08-24 01:49:27 +00:00
Quang Nguyen 19e42c44f3
fix: overlay IPAM not reporting version (#2090)
* fix overlay IPAM not reporting version

* revert file and var naming, add correct path to makefile
2023-08-14 10:24:30 -07:00
John Payne 14b916b980
ci: Paramterize test-validate-state (#2109) 2023-08-08 11:27:45 -07:00
Vipul Singh 0e4fbdd3cf
refactor: [CI-CNI] Removing the predefined interfaces from validate (#2047)
refactor: [CI-CNI] Removing the predefined interfaces from validate package
2023-08-01 20:05:28 +00:00
Vipul Singh 0124827921
ci: Remove window cni binaries update code (#2097) 2023-08-01 18:12:23 +00:00
Vipul Singh 7a41178f49
feat: [dropgz] Dropgz for windows (#2075)
* feat: [dropgz] Dropgz for windows

* Removing the code for killing the process from dropgz for windows
2023-08-01 09:06:14 -07:00
John Payne 02311fdea3
ci: Add k8s network conformance tests to makefile (#2086)
* Add k8s Network Conformance tests command to makefile

* Add lines to README

* Allow numbers to show in make help call

* Addressing Comments
2023-07-28 09:44:11 -07:00
Vipul Singh 846e508b17
ci: [CNI] Adding aks cluster creation steps for k8s e2e test (#2052)
* ci: [CNI] Adding aks cluster creation steps for k8s e2e test

* Add  validate step to the pipeline

* Adding the telemetry config to the cluster
2023-07-13 20:40:26 -07:00
Vipul Singh e45ad213d5
ci:[CNI] Windows cniv1 load test pipeline (#2024)
CI:[CNI] Windows cniv1 load test pipeline
2023-06-28 15:06:47 -04:00
Vipul Singh 008ae45f9b
CI: [CNI] Replace the bash scripts for CNI load testing with golang test cases (#2003)
CI:[CNI] Replace the bash scripts with the golang test cases
2023-06-08 17:17:32 -07:00
dependabot[bot] 1af833cc10
deps: bump sigs.k8s.io/controller-tools from 0.11.3 to 0.12.0 in /build/tools (#1938) 2023-05-03 17:25:21 +00:00
Paul Yu b02110f59a
Dualstack overlay cni (#1925) 2023-04-29 14:50:44 -07:00
Hunter Gregory f48d9b82ed
ci: [CNS] fix cns-manifest-build parameter (#1907)
fix cns-manifest-build by adding quotes around OS_VERSIONS
2023-04-12 10:27:22 -07:00
Hunter Gregory d7fc7e257c
ci: [WIN-NPM] remove ws19 build (#1844)
* remove NPM build for ws19

* set OS versions by variable in manifest-build

---------

Co-authored-by: Vamsi Kalapala <vakr@microsoft.com>
2023-04-11 14:34:58 -07:00
Camryn Lee a2971eba22
fix tag for building container images (#1830) 2023-03-01 14:51:59 -08:00
Evan Baker 358de20d2c
Add multiplat Windows 2019 and 2022 image support to tooling and pipelines, use for CNS/NPM (#1820)
* build: add ws2019 cns image to build pipeline

* add windows2019 build pool

* fix: npm pipelines

* fix: npm pipelines

* update multiplat build process for winver flavors

* optional buildx push for npm cyclonus

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: Matthew Long <61910737+thatmattlong@users.noreply.github.com>
Co-authored-by: Matthew Long <Matthew.Long@microsoft.com>
2023-03-01 00:25:00 +00:00
Evan Baker a3682cf34b
update tools build tag due to 3rd party conflict (#1793)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-02-10 14:39:55 -08:00
Paul Johnston 3979c46c73
Image name and tag print in makefile (#1734) 2022-12-22 21:03:53 +00:00
Evan Baker f54beec9a0
fix: prefixed tag parsing (#1679)
Signed-off-by: GitHub <noreply@github.com>

Signed-off-by: GitHub <noreply@github.com>
2022-10-25 11:52:18 -07:00
Mathew Merrick 80162b02e3
run Windows UT's (#1554)
* run windows UT's

* container image

* remove container

* coverage

* run windows UT's

* container image

* remove container

* coverage

* fix UTs round 1

* passing UTs for policies pkg

* use canary pool

* remove bash from windows

* fixed unit test

* added skip for windows dp translate policy tests

* lint updates and remove dataplane_windows_test.go

* updated failing tests

* fix lint issue

* fixed remaining tests

* lint update

* undo last change

* format update

* lint fix

Co-authored-by: Hunter Gregory <hunterlgregory@gmail.com>
Co-authored-by: Vamsi Kalapala <vakr@microsoft.com>
Co-authored-by: CK <ckov931@gmail.com>
Co-authored-by: Cristina Kovacs <99916704+ck319@users.noreply.github.com>
2022-10-20 12:50:28 -07:00
Camryn Lee 96c113a8da
pipeline testing for azure-ipam/cni-dropgz submodules (#1636)
* add new ipam/dropgz e2e test stage

* set test image

* set paths in pipeline.yaml

* set path trigger in ipam-dropgz-job template

* set path as param for ipam-dropgze2e

* testing path trigger with branch

* create submodule pipeline

* add log in /azure-ipam to test piepline trigger

* remove build for cni-dropgz image in submodule pipeline

* create separate swift + cilium ipam/dropgz test stages

* remove commented test bits

* remove commented lines from setup_test.go

* update paths/triggers and set template parameters

* change cleanup dependsOn

* test parameter call

* export parameter

* skip setting testDropgz instead of setting false

* removing ipam-dropgz templates and focus submod UT on azure-ipam

* remove parsing gatewayIP from azure-ipam unit tests

* update make target test-azure-ipam

* update make target

* only publish test results

* omit npm build

* keep npm build and simplify unit testing stage

* adjust cluster naming to avoid resource overlap in pipelines
2022-10-17 14:13:35 -07:00