From 3db938ca8490a290953a70cfd75ab5a3f7610851 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Mon, 18 Nov 2024 14:21:17 +1100 Subject: [PATCH] fix: istio logging for upgrade tests (#3414) --- deployment/Justfile | 1 + deployment/values-release.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/deployment/Justfile b/deployment/Justfile index 1cb9c839ab..69f9f180fe 100755 --- a/deployment/Justfile +++ b/deployment/Justfile @@ -28,6 +28,7 @@ wait-for-kube: while [ -z "$(kubectl get pod ftl-postgresql-0)" ]; do sleep 1; done kubectl wait --for=condition=ready pod/ftl-postgresql-0 --timeout=5m kubectl wait --for=condition=available deployment/ftl-controller --timeout=5m + kubectl wait --for=condition=available deployment/registry --timeout=5m sleep 1 ftl status || sleep 5 && ftl status diff --git a/deployment/values-release.yaml b/deployment/values-release.yaml index 8a96cdf1c7..b04a2c1988 100644 --- a/deployment/values-release.yaml +++ b/deployment/values-release.yaml @@ -5,6 +5,10 @@ ingress: ingress.kubernetes.io/ssl-redirect: "false" kubernetes.io/ingress.class: traefik controller: + podAnnotations: + proxy.istio.io/config: | + holdApplicationUntilProxyStarts: true + sidecar.istio.io/logLevel: "debug" service: ports: - name: "http-8892" @@ -14,11 +18,21 @@ controller: - name: "http-8891" port: 8891 provisioner: + podAnnotations: + proxy.istio.io/config: | + holdApplicationUntilProxyStarts: true + sidecar.istio.io/logLevel: "debug" enabled: true service: ports: - name: "http-8893" port: 8893 +runner: + podAnnotations: + proxy.istio.io/config: | + holdApplicationUntilProxyStarts: true + sidecar.istio.io/logLevel: "debug" + istio: enabled: true