mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-05-28 19:59:27 +00:00
fix: set listen IP and port via shell expansion, remove dead STORAGE_LISTEN_ADDRS
Signed-off-by: Chrysostomos Nanakos <chris@include.gr>
This commit is contained in:
parent
7bc0438ae9
commit
2f4e941c25
@ -64,7 +64,7 @@ spec:
|
|||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
- name: STORAGE_NAT
|
- name: STORAGE_NAT
|
||||||
value: "extip:$(POD_IP)"
|
value: "none"
|
||||||
- name: STORAGE_BLOCK_TTL
|
- name: STORAGE_BLOCK_TTL
|
||||||
value: {{ .Values.experiment.blockTTL | quote }}
|
value: {{ .Values.experiment.blockTTL | quote }}
|
||||||
- name: STORAGE_BLOCK_MI
|
- name: STORAGE_BLOCK_MI
|
||||||
@ -99,7 +99,9 @@ spec:
|
|||||||
echo "This is the boostrap node."
|
echo "This is the boostrap node."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export STORAGE_LISTEN_ADDRS="/ip4/${POD_IP}/tcp/6892"
|
export STORAGE_LISTEN_IP="${POD_IP}"
|
||||||
|
export STORAGE_LISTEN_PORT="6892"
|
||||||
|
export STORAGE_NAT=none
|
||||||
rm -rf ${STORAGE_DATA_DIR}/*
|
rm -rf ${STORAGE_DATA_DIR}/*
|
||||||
|
|
||||||
echo " -- Starting Codex node -- "
|
echo " -- Starting Codex node -- "
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user