Skip to content

Add health check extension for liveness & readiness probes #1779

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

Draft
wants to merge 5 commits into
base: feature-health-observability-addon
Choose a base branch
from

Conversation

HussainRaza28
Copy link

@HussainRaza28 HussainRaza28 commented Jul 17, 2025

Description of the issue

Kubernetes deployments of the CloudWatch Agent currently lack proper health monitoring capabilities. Without health check endpoints, Kubernetes cannot accurately determine if the agent is functioning correctly, leading to potential silent failures and reduced visibility in EKS console. This PR adds a health check extension to enable Kubernetes liveness and readiness probes, improving operational transparency.

Description of changes

  • Added healthcheck.go translator to support the OpenTelemetry health check extension
  • Configured default health check endpoint at 0.0.0.0:13133 with root path
  • Registered the health check extension in the OpenTelemetry pipeline
  • Ensured compatibility with Kubernetes probe configurations

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

  • Verified the health check extension works correctly in an EKS cluster
  • Deployed CloudWatch Agent with the extension and confirmed Kubernetes could access the health endpoints
  • Validated that liveness and readiness probes were properly configured and functioning

@HussainRaza28 HussainRaza28 force-pushed the health_check_extension branch 3 times, most recently from f6c81f5 to 3870f19 Compare July 23, 2025 19:55
@HussainRaza28 HussainRaza28 changed the base branch from main to feature-health-observability-addon July 23, 2025 20:45
@HussainRaza28 HussainRaza28 force-pushed the health_check_extension branch from 291ac88 to e0b110d Compare July 24, 2025 01:44
@HussainRaza28 HussainRaza28 force-pushed the health_check_extension branch from e0b110d to 36c8164 Compare July 24, 2025 02:08
@HussainRaza28 HussainRaza28 force-pushed the health_check_extension branch from 92acaab to f418b61 Compare July 24, 2025 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant