Skip to content
Open
Changes from all commits
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
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,25 @@ jobs:
sudo apt-get update
sudo apt-get install linux-modules-extra-$(uname -r)

# Cluster creation is handled here by quick-k8s instead of inside the
# Makefile (hack/kind.sh). When `make deploy-with-prometheus` runs later,
# hack/kind.sh detects the existing cluster and exits early.
- name: Create KinD cluster
uses: palmsoftware/quick-k8s@v0.0.49
with:
clusterName: frr-k8s
ipFamily: ${{ matrix.ip-family }}
numWorkerNodes: 2 # matches original hack/kind.sh topology
workerNodeLabels: "node-role.kubernetes.io/worker=worker" # required by deploy node selectors
disableDefaultCni: false # use kindnet, no custom CNI needed
waitForPodsReady: true
installCalico: false # kindnet is sufficient

- name: Export kubeconfig for Makefile
run: |
mkdir -p bin
kind export kubeconfig --name frr-k8s --kubeconfig bin/kubeconfig

- name: Download frr8ks images
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -216,6 +235,23 @@ jobs:
sudo apt-get update
sudo apt-get install linux-modules-extra-$(uname -r) python3-pip arping ndisc6

# Cluster creation is handled here by quick-k8s instead of inside the
# Makefile (hack/kind.sh). When `make deploy-helm` runs later,
# hack/kind.sh detects the existing cluster and exits early.
- name: Create KinD cluster
uses: palmsoftware/quick-k8s@v0.0.49
with:
numWorkerNodes: 2 # matches original hack/kind.sh topology
workerNodeLabels: "node-role.kubernetes.io/worker=worker" # required by deploy node selectors
disableDefaultCni: false # use kindnet, no custom CNI needed
waitForPodsReady: true
installCalico: false # kindnet is sufficient

- name: Export kubeconfig for Makefile
run: |
mkdir -p bin
kind export kubeconfig --name kind --kubeconfig bin/kubeconfig

- name: Download frr-k8s images
uses: actions/download-artifact@v4
with:
Expand Down