11 lines
442 B
Bash
Executable File
11 lines
442 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Sets up environment for the Kubernetes chaos testing.
|
|
# The environment consists of:
|
|
# - a KubeRay cluster, port-forwarded to localhost:8265.
|
|
# - a chaos-mesh operator ready to inject faults.
|
|
|
|
set -xe
|
|
|
|
ray job submit --address http://localhost:8265 --runtime-env python/ray/tests/chaos/runtime_env.yaml --working-dir python/ray/tests/chaos -- python potato_passer.py --num-actors=3 --pass-times=1000 --sleep-secs=0.01
|