Skip to content

Commit

Permalink
shiny tmps
Browse files Browse the repository at this point in the history
  • Loading branch information
ubergesundheit committed May 21, 2024
1 parent cad352a commit 15fb89d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
4 changes: 3 additions & 1 deletion apps/crashes/shiny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ spec:
spec:
automountServiceAccountToken: false
serviceAccountName: shiny-crashes
securityContext:
fsGroup: 998
containers:
- name: shiny
image: quay.io/codeformuenster/crashes-shiny:v6.7.2
Expand Down Expand Up @@ -102,7 +104,7 @@ spec:
mountPath: /var/lib/shiny-server
subPath: lib
- name: shiny-tmp
mountPath: /tmp/shiny
mountPath: /tmp
subPath: tmp
volumes:
- name: renviron-file
Expand Down
20 changes: 13 additions & 7 deletions apps/traffics/shiny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,14 @@ spec:
spec:
automountServiceAccountToken: false
serviceAccountName: shiny-traffics
securityContext:
fsGroup: 998
containers:
- name: shiny
image: codeformuenster/traffic-dynamics-shiny:v0.6.4
env:
- name: TMPDIR
value: /tmp/shiny
ports:
- containerPort: 3838
securityContext:
Expand All @@ -100,16 +105,17 @@ spec:
memory: "200Mi"
cpu: "640m"
volumeMounts:
- name: varlogshinyserver
- name: shiny-tmp
mountPath: /var/log/shiny-server
- name: varlibshinyserver
subPath: log
- name: shiny-tmp
mountPath: /var/lib/shiny-server
subPath: lib
- name: shiny-tmp
mountPath: /tmp
subPath: tmp
volumes:
- name: varlogshinyserver
emptyDir:
medium: Memory
sizeLimit: 100Mi
- name: varlibshinyserver
- name: shiny-tmp
emptyDir:
medium: Memory
sizeLimit: 100Mi

0 comments on commit 15fb89d

Please # to comment.