Open andy108369 opened 1 year ago
@anilmurty would this be a good experiment for us to create a bounty for the community. Currently, this is needed for Pre-Search.
Andy has more info on it, and link attached to the convo in our discord channel with them.
potentially but first we need to clean up the local dev env set up (readme on the github repo) for node and provider repos, so that others can get set up (we did this for console before engaging OSS dev community)
This would solve one of the important use-cases - a self-updating image through
livenessProbe
.With the
livenessProbe
pointed to query the releases link comparing against the current version would allow it to fail once there is a new image available, causing the pod restart allowing it to self-update. This requiresimagePullPolicy: Always
set for this specific deployment.Add client-managed healthchecks (
livenessProbe
,readinessProbe
and their parameters) and settingimagePullPolicy
toAlways
.Refs https://discord.com/channels/747885925232672829/1090670585555730563/1091261402729156608 https://github.com/akash-network/provider/pull/54 https://github.com/akash-network/support/issues/50 https://github.com/arno01/self-update
PoC
Dockerfile
pod.yaml