Sign inSign up

rstudio/rstudio-server-load-balancer-manager

By rstudio

•Updated over 5 years ago

A sidecar container that maintains the load-balancer file for RStudio Server Pro

Image
0

2.0K

rstudio/rstudio-server-load-balancer-manager repository overview

⁠RStudio Server load-balancer Manager

A sidecar container that manages the load-balancer file for an RStudio Server Pro deployment.

The container contains a bash script (/entrypoint.sh) that (in an infinite loop):

  • queries the Kubernetes API to find the IP address of pods with a given app_label
  • build a load-balancer file from those IP addresses
  • if the new load-balancer file contains the current pod's IP address, then:
    • update the load-balancer file on disk
    • send a SIGHUP to the rserver process
  • sleeps for a configured duration

Tag summary

Content type

Image

Digest

Size

6.2 MB

Last updated

over 5 years ago

docker pull rstudio/rstudio-server-load-balancer-manager