Skip to content

Switch k8s pods to use real healthcheck liveness probe instead of restarting pods daily #6759

@lotas

Description

@lotas

Current implementation makes pods restart daily by telling kubernetes it should be killed.
This results in connections being dropped and increased 502 rate.

Note: 502 are not directly related to this problem and is rather a separate issue that needs to be solved around pod termination.

TODO:

  • Replace livenessProbe unconditional termination with periodic healtcheck endpoint call /ping to let k8s know if pod is still responsive.
  • Set memory limits to kill pods automatically in case of memory leaks (size tbd)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions