Consider adding functionality that can be used in Kubernetes liveness probes & docker HEALTHCHECKs to determine whether the pdc-agent is running successfully.
Both of these technologies allow liveness to be determined via a command. One approach we could take is to use the existence of a file as a signal that the container is healthy. See an example in the kubernetes doc.
We should put this behind a feature flag to avoid creating unneccessary files on user systems in the case where the agent is not being run on Docker / k8s.
Consider adding functionality that can be used in Kubernetes liveness probes & docker HEALTHCHECKs to determine whether the pdc-agent is running successfully.
Both of these technologies allow liveness to be determined via a command. One approach we could take is to use the existence of a file as a signal that the container is healthy. See an example in the kubernetes doc.
We should put this behind a feature flag to avoid creating unneccessary files on user systems in the case where the agent is not being run on Docker / k8s.