You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spotweb seems to start 2 pods: "spotweb" and "postgresql". The data to persist seems to be the database data of "/bitnami/postgresql". However, if we use TrueNas to add a hostPath mount it is attached to the "spotweb".
Meaning we can only use PVC to persist data.
To Reproduce
1: install "spotweb"
2: make a hostpath mapping /truenas_host/dataset/spotnet -> /bitnami/postgresql
3: start spotweb
4: shell-into the "spotweb" pod and notice the (empty) /bitnami/postgresql location
5: shell-into the "postgresql" pod and notice the /bitnami/postgresql location with the database files
6: look at the truenas host /truenas_host/dataset/spotnet and see the folder is still empty
Expected Behavior
Expected to be able to overrule the PVC and use hostPath for /bitnami/postgresql
HostPath for databases cannot be used.
Database is a statefulset workload, which can only use VolumeClaimTemplates.
Also you can't mount any storage from the GUI to dependencies such as databases.
App Name
spotweb
SCALE Version
22.02.3
App Version
1.5.1_7.0.26
Application Events
Application Logs
Application Configuration
N/A
Describe the bug
spotweb seems to start 2 pods: "spotweb" and "postgresql". The data to persist seems to be the database data of "/bitnami/postgresql". However, if we use TrueNas to add a hostPath mount it is attached to the "spotweb".
Meaning we can only use PVC to persist data.
To Reproduce
1: install "spotweb"
2: make a hostpath mapping /truenas_host/dataset/spotnet -> /bitnami/postgresql
3: start spotweb
4: shell-into the "spotweb" pod and notice the (empty) /bitnami/postgresql location
5: shell-into the "postgresql" pod and notice the /bitnami/postgresql location with the database files
6: look at the truenas host /truenas_host/dataset/spotnet and see the folder is still empty
Expected Behavior
Expected to be able to overrule the PVC and use hostPath for /bitnami/postgresql
Screenshots
N/A
Additional Context
Created forum post: https://www.truenas.com/community/threads/how-to-figuring-out-hostpath-mappings-for-apps.108716/
I know TrueCharts is not that keen about hostPath. At this moment i am also not sure if this is a bug:
I've read and agree with the following
The text was updated successfully, but these errors were encountered: