Skip to content

Commit 04cd926

Browse files
test
Signed-off-by: chahat sagar <[email protected]>
1 parent 3784daa commit 04cd926

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

examples/oci/deploy-all.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,10 @@ if [[ "$MODE" == "local" ]]; then
6666
--set hotrod.image.tag="latest" \
6767
--set hotrod.image.pullPolicy="Never" \
6868
--set hotrod.args[0]="all" \
69-
--set hotrod.extraEnv[0].name="JAEGER_AGENT_HOST" \
70-
--set hotrod.extraEnv[0].value="jaeger" \
71-
--set hotrod.extraEnv[1].name="JAEGER_AGENT_PORT" \
72-
--set hotrod.extraEnv[1].value="\"6831\"" \
73-
--set hotrod.extraEnv[2].name="OTEL_EXPORTER_OTLP_ENDPOINT" \
74-
--set hotrod.extraEnv[2].value="" \
75-
--set hotrod.extraEnv[3].name="OTEL_EXPORTER_OTLP_TRACES_ENDPOINT" \
76-
--set hotrod.extraEnv[3].value=""
69+
--set hotrod.extraEnv[0].name="OTEL_EXPORTER_OTLP_ENDPOINT" \
70+
--set hotrod.extraEnv[0].value="http://jaeger:4318" \
71+
--set hotrod.extraEnv[1].name="OTEL_EXPORTER_OTLP_TRACES_ENDPOINT" \
72+
--set hotrod.extraEnv[1].value="http://jaeger:4318/v1/traces"
7773
else
7874
echo "🟣 Deploying Jaeger..."
7975
helm $HELM_JAEGER_CMD jaeger ./helm-charts/charts/jaeger \

scripts/build/build-hotrod-image.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ if [[ "${runtime}" == "k8s" ]]; then
154154

155155
bash ./examples/oci/deploy-all.sh local
156156
kubectl wait --for=condition=available --timeout=180s deployment/jaeger-hotrod
157+
kubectl get deployments
158+
kubectl describe deployments/jaeger
157159
kubectl wait --for=condition=available --timeout=180s deployment/jaeger
158160

159161
kubectl port-forward svc/jaeger-hotrod 8080:80 &

0 commit comments

Comments
 (0)