This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Description
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