Skip to content

Commit

Permalink
reduce minikube cluster memory for the dual-cluster configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Shinya Hayashi <[email protected]>
  • Loading branch information
peng225 committed Jun 17, 2024
1 parent a871d42 commit 242a93b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-rook-ceph-on-two-k8s-clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
make -C test/e2e setup
ln -s $(pwd)/test/e2e/bin/kubectl-1.28.3 test/e2e/bin/kubectl
- run: |-
make -C test/e2e launch-minikube PROFILE=profile1
make -C test/e2e launch-minikube PROFILE=profile2
make -C test/e2e launch-minikube PROFILE=profile1 MEMORY=4g
make -C test/e2e launch-minikube PROFILE=profile2 MEMORY=4g
- run: |-
make -C test/e2e image-build PROFILE=profile1
make -C test/e2e image-build PROFILE=profile2
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CNI_PLUGIN_INSTALL_DIR := /opt/cni/bin
POLLING_INTERVAL := 1
TIMEOUT_SECS := 180
PROFILE ?= minikube
MEMORY ?= 6g

export MINIKUBE_HOME

Expand Down Expand Up @@ -85,7 +86,7 @@ launch-minikube:
$(MINIKUBE) start \
--kubernetes-version="v$(KUBERNETES_VERSION)" \
--driver=kvm2 \
--memory 6g \
--memory $(MEMORY) \
--cpus=2 \
--cni=calico \
--network test-nw \
Expand Down

0 comments on commit 242a93b

Please sign in to comment.