File tree 2 files changed +25
-6
lines changed
2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "target" : {
3
+ "path" : " deployment/robusta-runner" ,
4
+ "namespace" : " default"
5
+ },
6
+ "feature" : {
7
+ "env" : {
8
+ "include" : " nothing"
9
+ },
10
+ "fs" : {
11
+ "mode" : " local"
12
+ },
13
+ "network" : {
14
+ "incoming" : {
15
+ "mode" : " steal" ,
16
+ "port_mapping" : [[ 6000 , 5000 ]]
17
+ }
18
+ }
19
+ }
20
+ }
Original file line number Diff line number Diff line change 6
6
7
7
# Settings you might want to change
8
8
export PYTHON_BINARY=python3.9
9
- export PORT=5000
9
+ export PORT=6000 # if you change this, update port_mapping in mirrord.json too
10
+ export LOG_LEVEL=INFO
11
+ export TRACE_INCOMING_REQUESTS=false
10
12
11
13
# Internal constants
12
14
export RED=' \033[0;31m'
@@ -42,7 +44,7 @@ ln -fsw $(pwd)/playbooks/pyproject.toml ./deployment/playbooks/defaults
42
44
43
45
echo " Checking if runner can listen on port ${PORT} "
44
46
if lsof -Pi :${PORT} -sTCP:LISTEN -t > /dev/null ; then
45
- echo -e " ${RED} Error: Port ${PORT} is already in use. Exiting.${NC} "
47
+ echo -e " ${RED} Error: Port ${PORT} is already in use. Free up the port, or edit this script and change \$ PORT. Exiting.${NC} "
46
48
exit 1
47
49
fi
48
50
@@ -65,8 +67,5 @@ export INTERNAL_PLAYBOOKS_ROOT=./src/robusta/core/playbooks/internal
65
67
export PLAYBOOKS_ROOT=./deployment/playbooks
66
68
export REPO_LOCAL_BASE_DIR=./deployment/git_playbooks
67
69
export INSTALLATION_NAMESPACE=default
68
- export TRACE_INCOMING_REQUESTS=true
69
- export LOG_LEVEL=DEBUG
70
-
71
- poetry run python3 -m robusta.runner.main
72
70
71
+ mirrord exec -f mirrord.json -- poetry run python3 -m robusta.runner.main
You can’t perform that action at this time.
0 commit comments