Hello,
I have two questions about the kubernetes configuration for ShinyProxy:
1:
Is there a way to set pod/deployment fields other than namespace? I am using node labeling and node selectors but there is no way to set that for the pods that ShinyProxy creates. The pods can appear on any one of my AWS auto scaling groups. We would like to contain all ShinyProxy pods to particular nodes by setting nodeSelector.
Other fields that I was able to get around were requests and limits. I was able to use a limit range on the namespace to make sure the created sp-pods had some kind of default resource management.
2:
Is ShinyProxy designed to run in a replica set greater than 1? I was getting weird behavior when I tried 2. I had two nodes that each contained one ShinyProxy pod. When I launched an app, a sp-pod was created and everything was working fine. Once I refreshed the page, the other ShinyProxy pod picked up the request and created a new sp-pod. I lost the previously existing pod and what was running on it.
I was trying to make ShinyProxy highly available, in case a node goes down, but replica set doesn’t seem to be the way.
Thanks,
Michael