Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

suggestion to add monitoring healthcheck #21

Open
yarivlifchuk opened this issue Aug 12, 2018 · 0 comments
Open

suggestion to add monitoring healthcheck #21

yarivlifchuk opened this issue Aug 12, 2018 · 0 comments

Comments

@yarivlifchuk
Copy link

Hello,
Kubelet use the Healthcheck response for a restart action(liveness) or removing it’s IP(readiness) but it does not give a monitoring action for container Healthcheck that does not require an action on the pod.
For exmaple: monitoring availability of non critical application process that stopped working within the POD or warning of application process that is still functioning.
The capability of monitoring actions using health probing will help to get correct status of the applications behavior in the cluster and detect problems without affect on the Pod Lifecycle.

Suggestion:

Define a monitoring probe with a monitoring command that will send the status and return values to specified destination or expose it to cAdvisor using end point.

example: monitoring.yaml

spec:
containers:
name: appmonitoring
image: imagex
args:
monitoringProbe:
exec:
command:
- /bin/sh
- app1health.sh
initialDelaySeconds: 5
periodSeconds: 5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant