Skip to content

Commit

Permalink
Increase lookup window for log search
Browse files Browse the repository at this point in the history
Signed-off-by: Sorin Dumitru <[email protected]>
  • Loading branch information
sorindumitru committed Jan 23, 2025
1 parent d36dc14 commit db48c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/envoy-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 db48c55

Please sign in to comment.