mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-04 05:53:12 +00:00
make formatting uniform, add imagePullPolicy:always to deluge, add end message to experiment runner script
This commit is contained in:
parent
3d202d281e
commit
8d24855806
@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: deluge-pvc
|
||||
namespace: codex-benchmarks
|
||||
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
|
||||
@ -5,7 +5,7 @@ metadata:
|
||||
namespace: codex-benchmarks
|
||||
|
||||
spec:
|
||||
replicas: 100
|
||||
replicas: 10
|
||||
serviceName: deluge-service
|
||||
podManagementPolicy: Parallel
|
||||
selector:
|
||||
@ -21,6 +21,7 @@ spec:
|
||||
containers:
|
||||
- name: deluge
|
||||
image: codexstorage/deluge
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 6890
|
||||
env:
|
||||
@ -34,7 +35,6 @@ spec:
|
||||
value: "6891,6892"
|
||||
- name: DELUGE_LOG_LEVEL
|
||||
value: "info"
|
||||
|
||||
command: [ "/bin/bash", "--login", "-c" ]
|
||||
args:
|
||||
- |
|
||||
@ -50,7 +50,6 @@ spec:
|
||||
mkdir -p ${DELUGE_CONFIG_DIR}
|
||||
|
||||
${DELUGE_APP}/docker/bin/start.sh
|
||||
|
||||
volumeMounts:
|
||||
- name: deluge-volume
|
||||
mountPath: /var/lib/deluge
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Simple script for running benchmark experiments on a Kubernetes cluster.
|
||||
set -e
|
||||
|
||||
function on_interrupt () {
|
||||
@ -31,3 +33,5 @@ if [ -z "${TESTRUNNER_POD}" ]; then
|
||||
fi
|
||||
|
||||
kubectl logs -f "${TESTRUNNER_POD}" -n codex-benchmarks
|
||||
|
||||
echo " * Test runner has finished."
|
||||
@ -5,15 +5,18 @@ metadata:
|
||||
namespace: codex-benchmarks
|
||||
labels:
|
||||
app: bittorrent-tracker
|
||||
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: bittorrent-tracker
|
||||
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: bittorrent-tracker
|
||||
|
||||
spec:
|
||||
containers:
|
||||
- name: tracker
|
||||
|
||||
@ -5,6 +5,7 @@ metadata:
|
||||
namespace: codex-benchmarks
|
||||
labels:
|
||||
app: tracker
|
||||
|
||||
spec:
|
||||
type: ClusterIP # Change to NodePort or LoadBalancer if needed
|
||||
ports:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user