Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Create better Kubernetes liveness, readiness and startup Probes #77

@smoya

Description

@smoya

Source: #71 (comment)

Probes should be based on the opened ports the app uses. That means, the application to be considered up, running and healthy should, at least:

  • Respond to the configured HTTP port. This is a global health check that can also be used for telling K8s the app is not running properly (for example, if we catch some internal errors, etc and we need to stop the execution).
  • Respond to the configured Websocket port.
  • All Kafka opened ports should be able to respond to a Kafka Metadata Request. This can be made by using kcat or in the worst case, just a simple nc connection test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions