Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Add Cilium BGP LB e2e test #290

Merged
merged 20 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug
komer3 committed Jan 10, 2025
commit 0359ebdc24665264fa21a799b8859648a7569bcb
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -153,8 +153,8 @@ jobs:
- name: Setup CAPL Management Kind Cluster and CAPL Child Cluster For Testing
run: devbox run mgmt-and-capl-cluster

- name: Run E2E Tests
run: devbox run e2e-test
# - name: Run E2E Tests
# run: devbox run e2e-test

- name: Run Cilium BGP e2e test
run: devbox run e2e-test-bgp
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -197,6 +197,11 @@ e2e-test:

.PHONY: e2e-test-bgp
e2e-test-bgp:
# Debugging: Print the nodes in the cluster
KUBECONFIG=$(KUBECONFIG_PATH) kubectl get nodes -o wide
KUBECONFIG=$(KUBECONFIG_PATH) kubectl get nodes --no-headers |\
grep -v control-plane | awk '{print $$1}'

# Add bgp peering label to non control plane nodes
KUBECONFIG=$(KUBECONFIG_PATH) kubectl label nodes $$(kubectl get nodes --no-headers |\
grep -v control-plane | awk '{print $$1}') cilium-bgp-peering=true --overwrite