Skip to content

Conversation

@knudtty
Copy link
Collaborator

@knudtty knudtty commented Jul 28, 2025

Closes HDX-1992

Adds livenessProbe and readinessProbe to mongo, clickhouse, otel-collector, and hyperdx services.

Tested on cluster and chart rendering via

helm template test ./charts/hdx-oss-v2 --set otel.enabled=true --set clickhouse.enabled=true --set mongodb.enabled=true

@changeset-bot
Copy link

changeset-bot bot commented Jul 28, 2025

🦋 Changeset detected

Latest commit: e778a9d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
helm-charts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@knudtty knudtty force-pushed the aaron/health-probes branch from 2a07fe1 to 840a450 Compare July 28, 2025 16:47
@teeohhem
Copy link
Contributor

@knudtty can you please add some helm unit tests to this? Thanks

@teeohhem teeohhem self-requested a review July 28, 2025 17:44
command:
- mongosh
- --eval
- "db.adminCommand('ping')"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious where this came from? I hesitate to run elevated commands as part of a liveness or readiness probe.

Maybe we do just a simple tcpport listening check?

tcpSocket:
    port: {{ .Values.mongodb.port }}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell online that's the healthcheck that is recommended for mongo, but there really isn't much info to find on this. I get the apprehension on admin privileges though, I'll adopt the tcpSocket approach

dhable
dhable previously approved these changes Aug 4, 2025
@kodiakhq kodiakhq bot merged commit 76c6da5 into main Aug 8, 2025
3 checks passed
@kodiakhq kodiakhq bot deleted the aaron/health-probes branch August 8, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants