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

56 Коммитов

Автор SHA1 Сообщение Дата
jshr-w 996c3fe363
ci: move hubble connectivity tests to nightly pipeline (#2310)
* [test] add hubble system test to CI (#2265)

* cilium configmap

* update hubble configs and add metrics test

* update pipeline yaml

* separate cilium+hubble config

* ci: move hubble connectivity test to nightly pipeline

* fix: move to correct file

* style: indentation change

* ci: update configmap to enable Hubble

* fix: move hubble test

* fix: move connectivity test before delete

* fix: add daemonset namespace

* fix: update command for configmap replace

* test no restart after replace

* fix: try apply instead of replace

* fix: add back restart ds

* add longer timeout after ds restart

* adjust timeout setup

* extend timeout, add logging

* add logging, change cm command

* update hubble configmap

* clean up sleep statements

* remove hubble connectivity test from PR pipeline

* use kubernetes utils

* fix style

Signed-off-by: jshr-w <144164353+jshr-w@users.noreply.github.com>

* update ds restart wait

* enable Hubble on nightly, disable on PR

* tag networkobservability test

* fix test call

* enable Hubble after Cilium is ready

* change location of hubble enable

---------

Signed-off-by: jshr-w <144164353+jshr-w@users.noreply.github.com>
Co-authored-by: Mathew Merrick <matmerr@users.noreply.github.com>
2023-10-20 05:56:45 +00:00
jshr-w 4423a944d6
ci: add CNIv2 testing for different proc/OS (#2230)
* ci: proc/os load tests

* ci: update deprecated param

* ci: update naming

* ci: add other proc/os load tests

* ci: add other proc/os load tests

* remove ubuntu18 test

* remove redundant test

* fix template call

* add infiniband test, arm binary

* fix rdma node name, build

* update RDMA node count for quota

* force pipeline permissions

* undo force permissions

* remove hardcoding

* add os as parameter for cniv1

* set default osSKU

* merge variable name change

* set default OSSKU

* set default OSSKU

---------

Signed-off-by: jshr-w <144164353+jshr-w@users.noreply.github.com>
2023-09-28 20:17:36 -07:00
Paul Yu 78a577c11b
v4overlay windows test cases (#2187)
* feat: adding in v4overlay windows tests

* chore: address feedback

* fix: addressing feedback

---------

Co-authored-by: Paul Johnston <johnstonpaul801@gmail.com>
2023-09-27 16:36:48 -07:00
Evan Baker 6251874e1f
fix: set cluster auto-upgrade and node auto-upgrade in the hackfile (#2253)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-09-26 23:18:16 +00:00
John Payne 8760107f2d
ci: Add CNIv1 Linux to Load Test Pipeline (#2241)
* refactor: single cniv1 template

* Add: handle multiple nodepools

* Add: linux cniv1 validate

* ci: move NPM|CNI integration

* ci: Update subscription used

* addressing comments
2023-09-22 20:52:31 +00:00
John Payne 7d479b31d6
revert: makefile naming for cluster creation (#2214)
* revert: cilium naming

* Addressing Comments
2023-09-13 18:00:58 +00:00
John Payne e789e04f2f
ci: update CNS|dropgz version (#2169)
* ci: update CNS|dropgz version

* Revert cns daemonset to acnpublic
2023-08-24 10:55:23 -07:00
Camryn Lee f71277149a
ci: cilium scale pipeline (#2085)
* ci: adding scale pipeline for cilium

* change timeout

* change timeout

* update net policies

* use acn build pool to avoid azp delays

* address comments -- update build pool var and remove timeouts from scale

* address comments -- set node/pod counts and test input as variables

* remove all test resources

* check apachebench rollout status

* collect more cpu/mem results

* add cns restart and fix artifact upload

* add cns restart and fix artifact upload

* update name for artifact publishing

* update apachebench artifact collection

* update apachebench artifact collection

* test cns version check

* change cns update

* update artifact directory name

* add netperf testing stage

* give permissions to netperf script

* change netperf steps

* update path to netperf yaml

* change netperf deployment to 2

* get correct pods in netperf script

* publish netperf results

* publish netperf results

* add same vm test for netperf

* netperf script to print pod values

* netperf find nodes logic

* netperf find nodes logic
2023-08-14 22:37:50 +00:00
John Payne 27401874e1
ci:[CNI] ACN PR Pipeline speed improvements (#2077)
* Move Create Cluster

* Lower Windows scaleup

* Delete echo-external-node for Cilium validate

* Change cluster creation from job to stage

* Decrease k8utils retry delay time

* Adjust submodule pipeline

* Remove test comments

* Addressing Comments

* Add delete cluster template

* Single Stage Delete

* ACN merge commitID fix

* Addressing Comments

* Refactor dualstack from #2098
2023-08-14 17:08:45 +00:00
Paul Yu 9604aeaf7a
dualstack overlay linux testcases and windows checker (#2098)
dualstack linux test cases and windows checkers
2023-08-10 05:01:31 +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
Paul Yu 2dff80934d
pipeline ipv6 datapath (#2069) 2023-07-26 23:57:21 +00:00
Paul Yu ba17a9c20f
scripts to cleanup ovs bridge and ovs leaked rules (#2066) 2023-07-24 19:21:13 +00:00
John Payne 451c691a57
ci:[CNI] Replace AKS-Engine Tests with k8s conformance tests (#2062)
* Initial Commit

* Add attempts to prevent flakyness

* Add taint for windows tests

* Add k8s e2e tests

* Testing vmSizes

* Artifact k8se2e binary

* Remove NPM E2E

* Add testing and increase processes

* Addressing comments
2023-07-21 19:42:13 +00: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
Camryn Lee 024819d774
ci: disable kube-proxy for test clusters (#1965)
* disable kube-proxy for byocni cluster creation

* test config mapping

* shell pwd

* use CURDIR

* check current directory

* test with repo root dir

* test azp format

* test azp format

* test azp format

* change e2e steps to remove kube proxy

* fix load test update args

* fix ns and rg in update

* update ciliume2e

* fix kubectl cmd in load test

* adding new targets for no kube proxy

* remove cluster update

* update overlay e2e

* test behavior of load test

* test grep for azure-cns

* look for container deployment

* testing

* restart node variable check

* update if condition

* add skip node case

---------

Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
2023-06-02 12:56:16 -07:00
Camryn Lee 47a358ca4a
ci: fix cilium validate state check for PRs (#1962)
* updating validate state check

* fix cluster create

* remove makefile changes
2023-05-17 22:55:33 +00:00
Vipul Singh dcd55b32d0
ci: [CNI] Add restart node in stage in the load test of cni pipeline (#1916) 2023-04-21 03:19:17 +00:00
Camryn Lee 3f1c159256
ci: validate pods and systemd-networkd restart for PRs (#1909)
* update script to check cns in memory and add to pr pipeline

* adding stage to both overlay and podsubnet cilium stages

* add exit case if priveleged pod is not found

* check status of priv pod

* call ds status before exit

* install cilium ds with kubectl and not helm for systemd-networkd initcontainer patch

* upload cilium ds

* adding files for cilium-agent and cilium-operator deployment

* update cilium ds

* addressing comments
2023-04-19 11:20:22 -07:00
Vipul Singh 44fb03eb5f
ci: [CNI] Load testing for cilium cni (#1871)
ci:[CNI] Load testing for cilium cni
2023-04-11 18:39:51 +00:00
Nawaz Hussain K afe51b4712
fix: update nodeAffinity labels for azcni v1 manifests (#1898)
update nodeAffinity labels for azcni v1 manifests

- drops `kubernetes.azure.com/cluster`
- updates `beta.kubernetes.io/os` to `kubernetes.io/os`

Solves: https://github.com/Azure/azure-container-networking/issues/1897
2023-04-06 09:32:22 -07:00
Evan Baker 4dfd97c274
update to go1.20 (#1781)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-03-29 10:53:21 -07:00
Evan Baker 81537f3978
add cilium overlay to hackfile (#1840)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-03-08 10:36:12 -06:00
Vamsi Kalapala 94f6f37cae
Changing gcr repo as per k8s issue 4738 (#1809) 2023-02-23 14:17:33 -06:00
Evan Baker c4462ebd08
Adds reference daemonset for v1 cni installer (#1771)
cut down cni installer for v1

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-02-01 23:23:18 +00:00
Evan Baker b939dbfb26
fix variable ordering in hackfile (#1697)
fix variable ordering

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-12-01 09:47:23 -08:00
Camryn Lee 0c5c12af38
Add Cilium on AKS Overlay e2e scenario (#1609)
* add hack overlay make target and e2e templates

* update pipeline.yaml with new overlay stage

* use dropgz/overlay-byocni in acn pr and submodule pipeline

* name overlay clusters for submodule pipeline

* modify dropgz setup

* test ipam + overlay

* use azilium conflist

* add overlay configmap

* add deployment of ip-masq-agent to cluster

* set flag in ip-masq-agent deployment

* update deployment

* configmap creation
2022-11-12 18:03:17 +00:00
Evan Baker 5e93d4ab70
Parameterize and tidy up the hackfile, use region variable in pipelines (#1688)
* parameterize and tidy up the hackfile

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* use region variable in pipelines when building clusters

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-11-02 15:49:42 -05:00
Evan Baker a802493b7f
Decrease pipeline AKS cluster cost (#1686)
* fix: decrease hack cluster size to 2

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* fix: lb sku basic

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* fix: no ssh key

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* fix: set node-vm-size to cheapest available

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-11-02 05:19:45 +00:00
aegal bc5375db3b
remove akse linux and pass ossku to cluster create (#1658) 2022-10-25 10:04:25 -07:00
Evan Baker a41fea5a12
add cilium cluster to hackfile (#1664)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-10-21 15:24:14 -07:00
Camryn Lee 3baf6c1de2
add overlay-up target to hackfile (#1665)
* add overlay-up target to hackfile

* add overlay-net-up
2022-10-19 11:39:07 -07:00
Evan Baker 8888338c62
Pipeline support for Go submodules versioned independently of root repo (#1533)
* use submodule specific tags

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* support separate go submodule versions

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* move version and tag responsibilities to the makefile

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* update integration tests to use component tags

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-09-01 18:35:01 +00:00
Evan Baker 02c3d767bb
Update to Go 1.19 (#1505)
go 1.19

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-24 20:18:38 +00:00
Evan Baker 72f4871aba
remove cns bits from cni installer hackfile (#1520)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-09 15:51:02 -07:00
Evan Baker a6d78a7e1a
add cni installer manifest to hack dir (#1508)
add cni installer manifest

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-03 15:32:49 -07:00
Camryn Lee b58dc70702
Update Swift pipeline w byo cluster (#1475)
* byo cluster pipeline update

* adding sub var

* use build validations sub

* test

Signed-off-by: GitHub <noreply@github.com>

* use native azcli

* test /usr/bin/az

* login and set sub

* testing

* try upgrade cli

* try upgrade azcli 2

* testing

* testing

* test svc conn

* test svc conn

* test svc conn

* test svc conn

* test svc conn

* test svc conn

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* fix rg-down

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* update ds

* testing

* build imgs

* test

* uncomment pipeline

* remove debug

* pipeline update

* review fixes

* update svc conn

* testing

Co-authored-by: Camryn Lee <camrynlee@microsoft.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2022-07-27 14:12:58 -07:00
Camryn Lee 73e47674a9
Fix net-up target in hack Makefile (#1472)
* fix net-up target

* space fix

Co-authored-by: Camryn Lee <camrynlee@microsoft.com>
2022-07-18 14:55:06 -05:00
Evan Baker 09134974bb
add byo cluster to hack makefile (#1469)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-07-18 12:55:30 -05:00
Mathew Merrick 1b57030f10
npm: enable debug feature parity for v2 (#1324)
* cache interface

* retrieve cache common interface
2022-06-14 18:58:17 +00:00
Mathew Merrick 1d5f682802
Add cleanup network script (#1371)
* add cleanup network script

* generalize

* generic cwd

* loop through with prefix

* simplify checks

* remove network option
2022-05-19 11:58:50 -07:00
Evan Baker 1e0602ba77
hack pods for debugging (#1364)
* add cx-access kubectl pod

Signed-off-by: GitHub <noreply@github.com>

* add additional manifests

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-05-05 16:35:46 -07:00
Evan Baker 11dcadda18
update missed docker image pull (#1354)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-27 16:38:47 -05:00
Evan Baker 7122dc246d
pull images from mcr (#1347)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-26 17:42:45 -05:00
Evan Baker 77dfdcf2af
update to go1.18 (#1281)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-04 16:49:49 -05:00
Evan Baker 8f9d6b32d6
use fully-qualified image names in all Dockerfiles (#1248)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-02-24 12:08:13 -06:00