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

182 Коммитов

Автор SHA1 Сообщение Дата
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
Vipul Singh b30fee0e0f
fix: cilium config for hubble in cilium nightly pipeline (#2398)
fix: cilium config for hubble

Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
2023-11-20 19:37:04 +00:00
Camryn Lee 93309990e3
ci: validate async delete (#2379)
* test async delete in pipeline

* test in swift stage only

* check cns patch is removed

* fix syntax in patch check
2023-11-14 00:22:14 +00:00
Quang Nguyen 9c3cdfbaa4
fix: Using retryOnConflict to fix v4overlay scale tests failing. (#2314)
* fix: ctry using retryOnConflict for v4overlay scale test

* fix: typo
2023-10-27 00:50:49 +00:00
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
Paul Johnston 10e86a2a49
chore: wait for deployment to completely delete before proceeding (#2312) 2023-10-19 20:35:36 +00:00
John Payne f46a4306a3
ci: Parameterize CNS image repository (#2280)
ci: Parameterize CNS image repo
2023-10-09 11:40:53 -07:00
Paul Johnston 7a5cb5eda8
chore: install ip-masq-agent as part of overlay cns scenarios (#2273) 2023-10-05 00:58:14 +00:00
John Payne 64f01b2740
ci: Add log template to PR and Load Test Pipeline (#2264)
* Initial commit

* add: log paths and label to priv. daemonset

* add: log template

* add: log template to load-test yamls

* remove: kubeconfig calls

* add: capture failed pods on job failure

* add: Linux state files

* add: Windows state files

* style: change terminal output

* add: log template to PR pipeline

* fix: rebase

* style: add comments to log-template

* chore: Addressing Comments

* add: sub-directories

* ci: Only call log-template on fail for PR
2023-10-03 16:51:12 -07:00
Paul Johnston ad3329ac7b
chore: must* functions should panic (#2268) 2023-10-03 11:16:37 -07:00
Paul Yu 35a6f89215
ci: dualstack overlay windows test cases (#2262)
* dualstack overlay windows test cases
2023-10-02 18:22:42 -04:00
John Payne e874736dba
ci: Add HNS restart to Windows CNIv1 in Load Test Pipeline (#2261)
* add: HNS restart template

* add: re-run all tests after HNS restart

* style: add provided test coverage to template
2023-09-29 21:28:43 +00:00