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

193 Коммитов

Автор SHA1 Сообщение Дата
Evan Baker c3f1a6ef9e
fix: remove PowerShell from Windows registry interactions (#2993)
remove powershell from windows registry txs

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-11-13 21:22:03 +00:00
Santhosh Prabhu b5a7f14ecd
test: pipeline changes for cilium nodesubnet (#3083)
* chore: separate pipeline changes for cilium nodesubnet

* fix:make linter happy

* chore: remove node subnet cilium version tag

* fix: make private fork version tags compatible
2024-11-05 00:26:39 +00:00
Camryn Lee 9f5392ca15
chore: delete podAntiAffinity from cilium daemonsets in test (#3078)
* delet podAntiAffinity from cilium daemonsets

* add 1.14 dualstack changes
2024-10-23 16:05:56 +00:00
Santhosh Prabhu 00e108f024
Pipeline changes to test cilium nodesubnet clusters (#3031)
* feat: pipeline changes to test cilium nodesubnet clusters

* Update name

* refactor: remove windows changes

* refactor: Accept John's comment.

Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Signed-off-by: Santhosh  Prabhu  <6684582+santhoshmprabhu@users.noreply.github.com>

* refactor: move common tests out to separate template

* refactor: address John's comments

* refactor: move interface update to golang

* fix: add retries to update code

* refactor: move ip config update script

* tie ip config count to scale up

* fix: handle empty scale up

* fix: return errors from command run

* fix: escape single quotes in network profile json

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Santhosh  Prabhu  <6684582+santhoshmprabhu@users.noreply.github.com>

* fix typo

* fix: fix makefile target

* fix: fix env variables

* chore: rollback

---------

Signed-off-by: Santhosh  Prabhu  <6684582+santhoshmprabhu@users.noreply.github.com>
Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-01 17:00:09 +00:00
Behzad Mirkhanzadeh 3a6959cc38
feat: adding stateless CNI pipeline test (#2914)
* feat: adding stateless CNI pipeline test

* feat: making change for stateless CNI pipeline

* feat: addressing the comments

* fix: fixing stateles cni yaml

* fix: stateless CNI delete fix

* Addresing the comments

* addresing john's comments
2024-09-23 17:12:12 +00:00
Camryn Lee 0218099c92
ci: add cilium 1.16 (#3012)
* chore: add 1.16 cilium

* ci: add 1.16 cilium for testing
2024-09-17 21:19:29 +00:00
Alexander a50833687e
ci: remove logger field from portforwarder to avoid race with goroutine (#2959)
* do not pass testing logger into goroutine to avoid race

* fix port forwarder
2024-08-29 16:07:24 +00:00
John Payne 032890a7bb
ci: Update CNS daemonset capabilities within E2E (#2902)
ci: update CNS caps
2024-08-09 22:39:38 +00:00
Hunter Gregory 9181fa67d0
ci: [NPM] add bash directive to scale scripts (#2876)
ci: add bash directive to scale scripts

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>
2024-07-25 17:43:27 +00:00
jc2543 0845e4ecea
Fix ACN PR Pipeline failures related to swiftv2 (#2826)
fix stability of pr pipeline

Co-authored-by: Chloe Chen <chlochen@microsoft.com>
2024-07-05 20:41:50 +00:00
Camryn Lee ab5990ced0
ci: align cilium charts with AKS (#2820)
* align charts with AKS

* update security context for initcontainer
2024-07-02 21:58:11 +00:00
John Payne c1d73397fe
ci: Remove depreciated values from Cilium nightly config (#2787)
* ci: remove enable-remote-node-identity from nightly config

* ci: remove sidecar-istio-proxy-image
2024-06-14 17:31:55 +00:00
Evan Baker 7d2a7d7b97
fix: move CNS to distroless-iptables base image (#2661)
* fix: move cns to distroless base image
with iptables

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

* fix: add debug container to CNS Pod for tests

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

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com>
2024-06-14 17:04:02 +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
Shreya 6dabf708f7
chore: update cilium-operator security context (#2755)
* update cil-operator security context

* add security context to 1.14 template
2024-05-30 17:09:58 +00:00
Vipul Singh c9682a60bd
ci: adding a retry login on exec cmd on failure (#2740) 2024-05-17 00:42:19 +00:00
shchen 893b6e66ed
Swiftv2 e2e tests (#2626)
* tmp commit to test whether the cluster can be set up.

* Resolved merge conflicts.
Update the route.

* Fix the route.

* Remove unnecessary dependency.

* Modify the cluster creation.

* Swift v2 e2e test structure.

* Add variables.

* Fix the format and make it a valid yaml.

* Add datapath tests for swiftv2.

* Link the tests with the pipeline steps.

* Update the testing file name.

* Remove unnecessary comment.

* Fix the pod name

* Sleep before checking the pod.

* Check the pni after baking time.

* Update the vnet name.

* Update the variables value.

* Update the sub tests use.

* Update the cluster name from mt prefix to mta

* Add the vm size.

* Update the token.

* Update the dummy cluster's vnet.

* Add a connection test.

* Update the test file name.

* Add one more pod with delegation network.

* Start 2 mtpod.

* Add the test for mtpod to mtpod connection.

* Include the commented out code for swiftv2 datapath test.

* Update the yaml file format.

* Update the command to run the swiftv2 tests.

* Move tests to the code file.

* Update the dummy cluster since the previous one has been auto deleted.

* Update the IP of the pod.

* Update the host IP in the test part too.

* Separate different test stages.

* Use mtpnc to grep IP.

* Update k to kubectl

* Add mtpnc detailed info.

* Remove the wrong comments.

* Use the script to run the test for now.

* Remove unnecessary variables.

* Update the cluster creation.

* Update parameters.

* Remove unnecessary parameters.

* Update the testing code part to match the script way.

* Remove unnecessary node part.

* Remove the tests from script part.

* Resolve the lint complaint.

* Resume the "Remove AKS Engine storage account usage"
2024-05-07 20:13:00 +00:00
Vipul Singh 90909a2de2
chore: update the cilium nightly config (#2669) 2024-04-09 23:36:54 +00:00
John Payne 7c4e48c8d5
ci: Add Cilium to CNI | LSG Integration Pipeline (#2574)
* ci: Kernel upgrade template

* ci: lsg cni intergration template

* chore: address comments

* ci: add IPAM repo/ver control

* ci: add cilium

* chore: template style

* fix: DAG logic

* ci: finalize changes

* ci: update cilium filepaths

* ci: address comments
2024-03-29 23:19:09 +00:00
John Payne f7f13eb3f6
ci: Add CNI | LSG Integration Pipeline (#2551)
* ci: Kernel upgrade template

* ci: lsg cni intergration template

* chore: address comments

* chore: template style

* ci: clean up env vars

* ci: LSG runtime variables

* ci: lsg cni intergration template

* ci: change logic to check for only 1 kernel type

* test: parameter template

* test: pipeline variable cleanup

* ci: improve upgrade regex

* chore: address integ. comments

* ci: finalize changes
2024-03-20 19:08:09 +00:00
Camryn Lee 4d90d23c22
ci: cilium dualstack for load test pipeline (#2603)
* adding cilium dualstack to load test pipeline

* updating cni default
2024-03-04 20:35:50 +00:00
Camryn Lee a4f3a40577
chore: adding templates for cilium 1.13 (#2585)
* adding templates for cilium 1.13

* fix resources in clusterrole

* address comment

* Revert "address comment"

This reverts commit 7627154b66.

* remove extra lines
2024-03-04 20:35:38 +00:00
John Payne fb6527aee5
ci: Add safeguards to prevent race condition resulting from MustRestartDaemonset() (#2618)
* test: retrier fn

* chore: cleanup log output

* ci: Magic Number

* chore: address comments
2024-03-04 18:19:24 +00:00
Evan Baker d0a50a65c0
fix: test v1.5 train on k8s 1.28 (#2564)
* fix: test main/v1.5 branch on k8s 1.28

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

* 1.28 ds changes

* ci: specify vars for envsubst

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: jpayne3506 <payne.3506@gmail.com>
2024-02-15 22:29:24 +00:00
rayaisaiah 8d68e7527a
chore: [NPM] Updated NPM to Not Share Host's UTS Namespace + Image/Configmap Alignment with Prod (#2589)
* Added a security context for allowPrivilegeEscalation and readOnlyRootFilesystem

* Update npm linux to not share the host's UTS namespace and tested locally

* Updated image and configmap of npm to match prod/managed

* kept EnablePprof on for debugging

* Updating k8s version for kind for cyclonus tests

* test

* test

* updated cluster name

* Revert "updated cluster name"

This reverts commit 7715c91098.

* update name

* Updated k8s version

* updated k8s version

* changed k8s version to version of local cluster

* updated kind node version for control plane

* version update

* updated kind version

* updated worker images for kind
2024-02-15 22:28:26 +00:00
Camryn Lee e419d2fcbd
chore: create directory for cilium 1.12 templates (#2582)
* add v1.12 files to its own directory

* update e2e scripts

* overlay cilium e2e changes

* update load template

* update configmap path

* move call to configmap

* remove hubble config from 1.12 dir
2024-02-15 17:06:11 +00:00
Mathew Merrick 9cace8977c
ci: scope scenario parameters instead of whole job (#2578)
* scenario vars

* refined scenario scope

* linux agnhost

* add delete resource

* lint
2024-02-15 16:35:17 +00:00
Camryn Lee a12222bd1a
ci: parameterize cilium 1.14 templates (#2562)
* parameterize version cilium 1.14.x for pipelines

* fix tag substitution

* update dualstack step

* update load test template
2024-02-12 17:16:14 +00:00
John Payne a1ffc5041f
ci: Add Windows CNIv2 to CNI Load Test Pipeline (#2279)
* add: env var to skip tests from make test-load

* add: windows nodepool to existing make calls

* add: Windows CNIv2

* refactor: change cniv2 file name

* style: pipeline yaml layout

* fix: label selector

* ci: increase timeout for restartNode job

* ci: ensure kubeproxy is running on windows

* chore: clean up comments

* ci: capture windows node count
2024-02-09 05:36:39 +00:00
Tahmid Alam fea43a3a75
Cilium Load Test with Hubble Enabled. (#2558)
* load test with huble enabled

config file fix

config file fix

config file path fix

fix: typo

removing socket path to use default

enabling hubble with parameters

chaging the directory for cilium

removing extra space

setting version for cilium

cleaning up

exporting cilium image version

replacing cilium hubble version var

* addressed comments

* changing daemonset dir to v1.14.4

* replaced variable with version
2024-02-08 17:01:16 +00:00
rjdenney 0ac2938f2a
ci:Adding cilium dualstack overlay pipeline steps (#2418)
* adding cilium dualstack overlay pipeline steps

* changing step order

* remove dropgz step

* add CNS instead of azurevnet

* add v6 CNS state file test

* remove nightly pipeline

* removing nightly and adding v6 to cilium linux validate

* fix func name

* removing unneeded steps

* addressing comments

* remove 120 timeout

* cluster type to dualstack-byocni-nokubeproxy-up

* setting to INSTALL_OVERLAY

* using make to get azure-ipam nad cns

* fixing yaml in cil dual steps

* update step

* skipping bad step for cilium dualstack

* update variable name

* CNI type

* remove file path

* fixing CNI versions

* removing log outputs

* change step

* adding cd in directory before running validate

* hostport to false

* further update

* add cilium to dualstack test name
2024-02-05 20:31:05 +00:00
Mathew Merrick e735d6e435
ci: E2E Framework [Dev CLI] [6/6] (#2530)
add deploy cli
2024-02-05 17:17:48 +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 36d83ce1ce
ci: nsenter daemonset (#2553) 2024-01-27 02:43:08 +00:00
Camryn Lee 39f436eabb
ci: update pod-cidrs in ip-masq-agent (#2549)
add more pod cidrs to ip-mas-agent cm
2024-01-26 21:21:32 +00:00
Evan Baker 51d7c5cc68
feat: v2 swift ipampool (#2422)
feat: v2 ipampool with idempotent scaling math
2024-01-26 19:01:55 +00:00
John Payne faa2b73634
ci: Improve Validate package (#2485)
* ci: improve validate package

* ci: add v6 hns validate

* chore: address comments

Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>

* ci: capture hns json object

* chore: lint fix

* ci: kubeproxy restart in CreateValidator

* fix: validateRestartNetwork for hybrid clusters

* ci: cleanup RestartKubeProxyService changes

* chore: lint fix

* chore: address comments

---------

Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
2024-01-25 21:36:13 +00:00
Mathew Merrick b908af591b
ci: E2E Framework [Azure steps] [4/6] (#2528)
e2e azure commands
2024-01-25 19:49:00 +00:00
Mike Zappa ef2ae4be38
Enable Hubble in PR pipeline with additional stage (#2534)
enable hubble in pr with additional stage
2024-01-25 17:53:55 +00:00
Mathew Merrick 0c9cfb6126
ci: E2E Framework [Kubernetes steps] [3/6] (#2529)
* add kubernetes steps

* update port forwarder

* go mod

* revert port-forwarding changes to be taken in future
2024-01-25 16:33:46 +00:00
Mathew Merrick c1a5560a2f
ci: E2E Framework [Core types] [1/6] (#2526)
add types
2024-01-22 17:07:31 +00:00
Mathew Merrick 9ff1440f69
ci: E2E Framework [Deployment YAMLs] [2/6] (#2531)
yaml for e2e
2024-01-19 01:44:20 +00:00
Mike Zappa 846771a502
CI: Setup Cilium with Hubble Enabled nightly run (#2514)
ci: provide hubble+cilium nightly runs
2024-01-17 18:09:42 +00:00
John Payne f0a0a20bd2
ci: Improve TestValidateState calls from load package (#2484)
* ci: improve TestValidateState

* chore: address comments
2024-01-12 17:06:35 +00:00
John Payne ee0ff71fd4
ci: add OS scale timeout (#2490) 2024-01-12 17:02:33 +00:00
John Payne 430db140d5
ci: Improve package kubernetes and load (#2483)
* ci: add waitForReady to RestartCNS

* ci: improve CNS restart

* chore: Lint fix
2024-01-09 17:16:45 +00:00
Evan Baker ad10662314
chore: migrate from disallowed registries (#2455)
Signed-off-by: GitHub <noreply@github.com>
2024-01-03 18:07:28 +00:00
John Payne f874f54052
fix: add windows async delete mounts (#2458)
* fix: add windows async delete mounts

* ci: enable async delete on cnsconfig maps

* ci: add mount overwrite to utils
2023-12-23 07:57:18 +00:00
Hunter Gregory 7e90960ed0
test(scale): [NPM] fix flakes in kwok and capture kernel state on failure (#2249)
* test(kwok): try standard tier for cluster

* Revert "test(kwok): try standard tier for cluster"

This reverts commit f76e50a559.

* test: run kwok as pod

* fix: add execute permission to sh files

* fix: allow scheduling on linux for kwok pod

* fix: wait timeouts and add retry logic

* fix: make sure to reapply kwok nodes if wait fails

* test: print out cluster state if wait fails

* test: prevent kwok from scheduling on windows node

* test: first wait for kwok pods (20 minutes)

* style: rearrange wait check

* fix: scale up kwok controller for reliability

* fix: typo in scaling kwok pods

* fix: check kwok pods running in test-connectivity instead of test-scale

* fix: wait for pods before adding NetPol

* fix: 7 second timeout for windows agnhost connect

* feat: get cluster state on failure

* debug: fake a failure to verify log capture

* fix: bugs in getting cluster state

* fix: remove newline instead of "n"

* Revert "debug: fake a failure to verify log capture"

This reverts commit 24ec927425.

* feat(win-debug): get prom metrics

* fix: leave timeout=5s for win

* style: remove new, unused --connect-timeout parameter

* style: comment

* feat: top node/pod
2023-11-29 15:37:46 -08: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