rocker-org / rocker-versioned2

Run current & prior versions of R using docker. rocker/r-ver, rocker/rstudio, rocker/shiny, rocker/tidyverse, and so on.
https://rocker-project.org
GNU General Public License v2.0
390 stars 163 forks source link

Docker image "heartbeat" api? #745

Open perllaghu opened 5 months ago

perllaghu commented 5 months ago

Container image name

rocker/geospatial:4.3.2

Container image digest

No response

What operating system related to this question?

Linux

System information

Deployment into Kubernetes cluster.

Question

I'm creating an image based off geospatial to run in a kubernetes cluster.

I have an image that spawns into the cluster, and remains stable, however I'm not connecting to it: our startup & monitoring processes are built around poking the new pod to check it's current status.

For "jupyter" based images, we have the api/health call available to us [there are varied and complex reasons why using rocker/binder is not desireable - not least of which is this is the gateway to enabling other images using various ports and hearbeat/helthcheck apis]

Is there some rstudio/rocker api one can call to programmatically get the status of the IDE?

eitsupi commented 5 months ago

I wonder this maybe a feature request for RStudio IDE.

perllaghu commented 5 months ago

I've since found this: https://docs.posit.co/ide/server-pro/rstudio-server-configuration.html#server-health-check-enabled

I think it's the RStudio call.... but appears to be only available for the "paid-for" version.