This repository was archived by the owner on Jun 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ if [ ! -z " ${SE_REGISTRATION_SECRET} " ];
3+ then
4+ HEADERS=" X-REGISTRATION-SECRET: ${SE_REGISTRATION_SECRET} "
5+ else
6+ HEADERS=" X-REGISTRATION-SECRET;"
7+ fi
8+
29if curl -sfk ${SE_SERVER_PROTOCOL} ://127.0.0.1:${SE_NODE_PORT} /status; then
3- curl -k -X POST ${SE_SERVER_PROTOCOL} ://127.0.0.1:${SE_NODE_PORT} /se/grid/node/drain --header ' X-REGISTRATION-SECRET; '
10+ curl -k -X POST ${SE_SERVER_PROTOCOL} ://127.0.0.1:${SE_NODE_PORT} /se/grid/node/drain --header " ${HEADERS} "
411 while curl -sfk ${SE_SERVER_PROTOCOL} ://127.0.0.1:${SE_NODE_PORT} /status; do sleep 1; done
512else
613 echo " Node is already drained. Shutting down gracefully!"
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ Secret TLS fullname
177177Is registration secret enabled
178178*/} }
179179{ {- define " seleniumGrid.tls.registrationSecret.enabled" -} }
180- { {- and .Values.tls.enabled .Values.tls.registrationSecret.enabled | ternary " true" " " -} }
180+ { {- .Values.tls.registrationSecret.enabled | ternary " true" " " -} }
181181{ {- end -} }
182182
183183{ {/*
Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ autoscaling:
517517 scaledJobOptions :
518518 scalingStrategy :
519519 # Change this to "accurate" when the calculation problem is fixed
520- strategy : default
520+ strategy : accurate
521521 # Number of Completed jobs should be kept
522522 successfulJobsHistoryLimit : 0
523523 # Number of Failed jobs should be kept (for troubleshooting purposes)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ isolateComponents: false
33autoscaling :
44 enableWithExistingKEDA : true
55 scalingType : job
6- strategy : default
6+ strategy : accurate
77 scaledOptions :
88 minReplicaCount : 0
99 maxReplicaCount : 5
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ autoscaling:
4444 successfulJobsHistoryLimit : 0
4545 failedJobsHistoryLimit : 5
4646 scalingStrategy :
47- strategy : default
47+ strategy : accurate
4848
4949hub :
5050 subPath : *gridAppRoot
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ autoscaling:
5656 successfulJobsHistoryLimit : 0
5757 failedJobsHistoryLimit : 5
5858 scalingStrategy :
59- strategy : default
59+ strategy : accurate
6060
6161hub :
6262 subPath : *gridAppRoot
You can’t perform that action at this time.
0 commit comments