Skip to content

Commit

Permalink
fix(app-template): add probes to all apps
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Mar 11, 2024
1 parent 09aa123 commit 6aa3bb0
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ spec:
type: configMap
name: musicbot-config
advancedMounts:
main:
main:
musicbot:
app:
- path: /musicbot/config/options.ini
subPath: options.ini
- path: /musicbot/config/permissions.ini
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ spec:
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true

resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ spec:
cpu: 10m
limits:
memory: 128Mi
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true

service:
app:
Expand All @@ -69,8 +76,8 @@ spec:
type: configMap
name: cloudflare-tunnel
advancedMounts:
main:
main:
cloudflared:
app:
- path: /etc/cloudflared/config.yaml
subPath: config.yaml
readOnly: true
Expand All @@ -79,8 +86,8 @@ spec:
type: secret
name: cloudflare-tunnel
advancedMounts:
main:
main:
cloudflared:
app:
- path: /etc/cloudflared/cred.json
subPath: cred.json
readOnly: true
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ spec:
memory: 64M
limits:
memory: 64M
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true

service:
app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ spec:
memory: 10Mi
limits:
memory: 50Mi
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true

service:
app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ spec:
enabled: true
existingClaim: scanservjs-scans
advancedMounts:
main:
main:
scanservjs:
app:
- path: /app/data/output
dbus:
enabled: true
type: hostPath
hostPath: /var/run/dbus
advancedMounts:
main:
main:
scanservjs:
app:
- path: /var/run/dbus
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ spec:
persistence:
config:
accessMode: ReadWriteOnce
enabled: true
type: persistentVolumeClaim
size: 10Gi
storageClass: nfs-csi
Expand Down

0 comments on commit 6aa3bb0

Please sign in to comment.