<p><strong>Summary</strong></p>
<p>How can I transform a single-threaded R Shiny App to operate on a Kubernetes cluster, ensuring that each user accessing the URL is assigned a unique Docker container instance? I currently have a Dockerfile for the app and aim to modify it for Kubernetes deployment, allowing concurrent user interactions without resource constraints. Please advise on implementing Kubernetes for my R Shiny App and utilizing the existing Dockerfile with Kubernetes.</p>
<p><strong>Context</strong></p>
<p>I have a single-threaded R Shiny App that currently runs on a local machine or server. However, I want to scale it up and deploy it on a Kubernetes cluster to handle multiple users concurrently. Currently, the app is containerized using a Dockerfile.</p>
<p>My goal is to convert the existing Dockerfile to a configuration that allows the R Shiny App to run on a Kubernetes cluster. Specifically, I want to ensure that each user who accesses the application's URL is provided with a new instance of the Docker container. This way, multiple users can interact with the app simultaneously without any conflicts or resource limitations.</p>
<p>I am seeking guidance on how to implement Kubernetes for my R Shiny App and how to utilize the Kubernetes solution from the existing Dockerfile. Any suggestions or insights on how to achieve this goal would be greatly appreciated.</p>

Payal Deshmukh
<p>I would check out <a href="https://www.shinyproxy.io" rel="nofollow noreferrer">ShinyProxy</a>.  I am currently using it for its containerization and SAML authentication. They have some <a href="https://www.shinyproxy.io/documentation/configuration/#kubernetes" rel="nofollow noreferrer">configuration for Kubernetes</a>, but I haven't checked that out yet.</p>
