Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add k8s readiness probe support #108

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ while ! curl -sg 'http://localhost:9090/api/v1/query?query=otelcol_process_uptim
sleep 1
done

echo "The OpenTelemetry collector and the Grafana LGTM stack are up and running."
touch /tmp/ready
echo "The OpenTelemetry collector and the Grafana LGTM stack are up and running. (created /tmp/ready)"

echo "Open ports:"
echo " - 4317: OpenTelemetry GRPC endpoint"
Expand Down
2 changes: 1 addition & 1 deletion examples/python/docker-compose.oats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: '3.4'

services:
go:
python:
build:
context: .
dockerfile: Dockerfile
Expand Down
7 changes: 6 additions & 1 deletion k8s/lgtm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@ spec:
ports:
- containerPort: 3000
- containerPort: 4317
- containerPort: 4318
- containerPort: 4318
readinessProbe:
exec:
command:
- cat
- /tmp/ready
1 change: 0 additions & 1 deletion oats
Submodule oats deleted from f73c5c