make statefulset parallel, increase wait time for testrunner

This commit is contained in:
gmega 2024-12-06 18:27:47 -03:00
parent ec466c50c6
commit 444d1ba164
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18
3 changed files with 7 additions and 6 deletions

View File

@ -5,8 +5,9 @@ metadata:
namespace: codex-benchmarks
spec:
replicas: 5
replicas: 100
serviceName: deluge-service
podManagementPolicy: Parallel
selector:
matchLabels:
app: deluge-nodes

View File

@ -21,7 +21,7 @@ while read -r resource; do
done < deploy-order.txt
echo " * Awaiting for test runner to start"
kubectl wait --for=condition=Ready --selector=app=testrunner pod -n codex-benchmarks --timeout=30s
kubectl wait --for=condition=Ready --selector=app=testrunner pod -n codex-benchmarks --timeout=300s
echo " * Attaching to test runner logs"
TESTRUNNER_POD=$(kubectl get pods -n codex-benchmarks -l app=testrunner -o jsonpath="{.items[0].metadata.name}")

View File

@ -18,13 +18,13 @@ spec:
args: [ "run", "deluge_experiment" ]
env:
- name: NETWORK_SIZE
value: "5"
value: "100"
- name: SEEDERS
value: "1"
value: "4"
- name: REPETITIONS
value: "1"
value: "10"
- name: FILE_SIZE
value: "52428800"
value: "104857600"
- name: TRACKER_ANNOUNCE_URL
value: "http://tracker-service.codex-benchmarks.svc.cluster.local:8000/announce"
- name: SHARED_VOLUME_PATH