poc1024b

Young-Kyoo Kim·2025년 10월 24일
containers:
- name: iperf3-client
  image: ubuntu:22.04
  command: ["/bin/bash", "-c"]
  args:
  - |
    apt update && apt install -y iperf3
    NODE_LIST=(10.10.10.11 10.10.10.12 10.10.10.13)
    NODE=${NODE_LIST[$((RANDOM % ${#NODE_LIST[@]}))]}
    echo "Starting test to $NODE:32001"
    iperf3 -c $NODE -p 32001 -t 300 -P 4

0개의 댓글