Skip to content

Commit

Permalink
Increase log lookback window size
Browse files Browse the repository at this point in the history
Signed-off-by: Sorin Dumitru <sorin@returnze.ro>
  • Loading branch information
sorindumitru committed Jan 24, 2025
1 parent db816ec commit 5820324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/envoy-jwt-opa/scripts/set-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ wait_for_envoy() {
LOGLINE="all dependencies initialized. starting workers"
LOGLINE2="membership update for TLS cluster backend added 1 removed 1"
for ((i=0;i<30;i++)); do
if ! kubectl logs --tail=100 --selector=app=backend -c envoy | grep -qe "${LOGLINE}" ; then
if ! kubectl logs --tail=1000 --selector=app=backend -c envoy | grep -qe "${LOGLINE}" ; then
sleep 5
echo "Waiting until backend envoy instance is ready..."
continue
Expand Down

0 comments on commit 5820324

Please sign in to comment.