-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update PVC mount point #9
Conversation
b49ea45
to
120c6c7
Compare
@vladimir-babichev what do you think about updating this PR to add the This way, the change will not be breaking for any current users of the chart, and I can see a use-case where having both would be useful. |
@billimek In general I don't mind, but can you point me where |
Hi all, just a gentle bump. |
In my
|
Just deployed the chart and configured some cams. My data is empty and in medi I have:
|
According to docs and application code frigate uses @onedr0p @billimek would you mind sharing helm values and the helm chart version you use? |
In my fridge configmap I have the following options set
|
I do the same as @onedr0p |
120c6c7
to
ba365b6
Compare
ba365b6
to
2cde9c6
Compare
Thank you @onedr0p and @billimek. If I read it correctly, both of you applied custom configuration to override the default database location. The general rule of thumb that I follow in my practice, is helm chart should complement the application it is designed for and incorporate its default behaviour. Any custom modifications are always welcomed but should be managed with a help of the values file. If that is fine with you, I suggest we update charts default behaviour to set extraVolumes:
- name: data
persistentVolumeClain:
claimName: frigate-data
extraVolumeMounts:
- name: data
mountPath: /data |
Ran into this issue as well since init attempts to modify permissions of I would 2nd @vladimir-babichev's comments that the Helm Chart should closely follow/align with the Project defaults. Update the |
I am puzzled as to why the chart is mounting a volume as What is required to get this PR merged? |
Kludge to get persistence of clips/recordings to work without modifying the chart:
|
My config for persisting captures: extraVolumes:
- name: media
persistentVolumeClaim:
claimName: nfs-frigate
extraVolumeMounts:
- name: media
mountPath: /media where nfs-frigate is an existing NFS PVC |
I ran into this weirdness as well and used these two comments to address:
|
Ping on this PR. This hit me today and I was completely baffled why all my events and recordings are gone after each day (running openSUSE MicroOS restarts the host every day). |
hello, what is happening with this? been open for years now, all clips are lost on a pod restart, given that /media is where the clips are supposed to be, surely the chart should provide for this? I see a number of issues open so it would be nice to get a clear picture on where this is currently at? |
+1 on this, having the app and the helm chart disagree about where the app state lives is pretty bad. Bump the major version and merge this already |
@billimek what is the status on this PR? In the current state, deploying a fresh chart, and enabling persistence
Will yield a completely broken installation, as nothing not be persisted. As the comments in the example values.yaml says, My assumption would be, this means my recordings and data should be stored there. However, that would not be the case, and the documentation for this helm chart does not mention this. As a matter of fact, the example values.yaml does not mention anything other then enabling persistence. By default, even the database appears to be stored in /media. Using a completely stock-install, will mount the default persistence in /data, however, there is nothing actually stored here. Is, the expectation for new years to install this helm chart, reboot their system after a few months, and then get angry at frigate because all of their recordings and data are now missing? Or- can we make progress on this PR which was submitted soon to be three years ago. If nothing better, I can go submit a PR, to at least notify users to add this piece of duct-tape into their values. |
The above And you now cannot avoid mounting a volume You now need to get rid of your persistence:
media:
enabled: True
existingClaim: media I think this PR can be closed now. |
This PR addresses #6