Closed cdenneen closed 6 months ago
Hi
The first syntax you posted is the correct one, e.g.:
proxy:
kubernetes:
node-selector: "kubernetes.io/os=linux,kubernetes.io/arch=amd64"
I will add this example to the documentation.
Please note that this selector is added to the pods created by ShinyProxy, such as a Shiny app you specified in the ShinyProxy config. This configuration is not used by the operator and therefore is not added to the ShinyProxy pod itself. If you need to add a nodeSelector to the shinyproxy pod itself, you can use kubernetesPodTemplateSpecPatches
, see: https://github.com/openanalytics/shinyproxy-operator/tree/master/docs/deployment#modify-the-shinyproxy-pod
Hi, since I believe this question has been answered and the documentation has been updated, I'll close this issue. Please open a new issue or re-open this issue if you are still experiencing an issue.
Based on the documentation it appear the following is the proper syntax:
However I have seen the following in some people's examples:
honestly the later would be preferred but right now the proxy comes up without the nodeSelctor actually set:
But you can see from inspecting the
shinyproxy
resource it is there:I'm using shinyproxy-operator: 2.0.0