11 lines
203 B
Bash
Executable File
11 lines
203 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export INDEX
|
|
export NODENAME
|
|
SCALE=${1:-0}
|
|
|
|
for INDEX in {0,1}{0,1,2,3,4,5,6,7,8,9} ; do
|
|
echo "Shell: $INDEX"
|
|
oc scale --replicas=$SCALE deployment/test-shell-$INDEX -n test-richph
|
|
done
|