kabanero-io / kabanero-command-line-services

This repo will be archived soon.
Apache License 2.0
3 stars 7 forks source link

Recycle pod when CLI Service cannot connect to git hub #70

Closed davco01a closed 4 years ago

davco01a commented 5 years ago

implement liveliness probe to poke endpoint on service that returns health of connection to GIT

davco01a commented 5 years ago

@brutif and I are exploring a Git liveliness probe to recover from a Github outage

https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/

davco01a commented 5 years ago

Implementing a healthcheck endpoint that will reflect the status of the microservice's connection to github for login and read.

Then we'll introduce a liveliness probe in the dockerfile that will probe this new microservice endpoint and recycle it if the connection to git is compromised

davco01a commented 5 years ago

I've implemented a liveliness endpoint, still working on probe in dockerfile

davco01a commented 5 years ago

https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-liveness-http-request

davco01a commented 4 years ago

completed with liveness probe yaml and liveliness endpoint