From 67d56606f368e6f9e5a3243c7b3609c303b39537 Mon Sep 17 00:00:00 2001 From: Kosuke Morimoto Date: Mon, 19 Jun 2023 15:01:45 +0900 Subject: [PATCH] checking endpoint is ready --- Makefile.d/k8s.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.d/k8s.mk b/Makefile.d/k8s.mk index 8dcd88c848..3f5f85ed58 100644 --- a/Makefile.d/k8s.mk +++ b/Makefile.d/k8s.mk @@ -227,7 +227,7 @@ k8s/metrics/jaeger/deploy: helm repo add jaegertracing https://jaegertracing.github.io/helm-charts helm install jaeger jaegertracing/jaeger-operator --version $(JAEGER_OPERATOR_VERSION) kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=jaeger-operator --timeout=60s - sleep 5 + until kubectl run busybox --restart=Never --image=busybox --rm -it -- wget -q -S --spider "https://jaeger-operator-webhook-service.default.svc:443/mutate-jaegertracing-io-v1-jaeger"; do sleep 1; done kubectl apply -f k8s/metrics/jaeger/jaeger.yaml .PHONY: k8s/metrics/jaeger/delete