Comments (9)
Some long time ago this was how the crons were implemented, but it had quite some problems which I don't remember anymore. Please search in the issues and PRs of this repo to dig up the history of this. If the problems can be avoided now it definitely makes sense to use the k8s cron instead.
from helm.
I don't think that would be necessary as there is no real breaking change, as long as you use the same container image and mount all the same volumes etc. You're effectively switching https://github.com/nextcloud/docker/blob/13f51c4f70676edb464ce5ea03631403b54623df/29/fpm/Dockerfile#L18 against the k8s Cronjob resource.
@jessebot what do you think?
from helm.
I've found quite a few issues related to cronjobs, but I haven't found any that would suggest an issue with running them as CronJob resources. The cronjob resource used curl to invoke webcron, I can imagine how this could cause various issues like network timeouts. My intent would be to use the same nextcloud/docker image and run the same command the current cron container uses as well.
History of the cronjob.yaml: https://github.com/nextcloud/helm/commits/main/charts/nextcloud/templates/cronjob.yaml
from helm.
I guess that makes sense, just execute the cron.php script which can not timeout instead of using curl which can timeout. I wonder why nobody thought about this 😅
from helm.
If I were to submit a PR to implement this: Should I keep the current cron mechanism around (e.g. introduce an option to select sidecar vs cronjob)?
from helm.
Yeah, I like the idea of this being a k8s cronjob 👍 I don't see a big a deal with removing the cron container either.
from helm.
Related Issues (20)
- Unable to configure the helm chart appropriately for preexisting empty postgres db HOT 5
- accessMode: ReadWriteMany prevents the application from starting HOT 4
- Unable to configure Redis Sentinel or Redis Cluster with official Helm, standalone Redis works fine HOT 3
- HPA not working "unknown/60%" HOT 1
- nginx containerPort confusion HOT 4
- Feature: Add persistence settings for redis HOT 2
- Discussion: state of helm-docs for generating sectioned documentation HOT 1
- Where is v4.6.5? HOT 2
- volumeMount and NFS mount clash when trying to use NFS for primary data storage HOT 8
- Accessed through an untrusted domain name HOT 1
- installed new nextcloud, errors with Content Security Policy HOT 1
- Your web server is not properly set up to resolve "/.well-known/caldav" or "/.well-known/carddav" HOT 6
- Running this chart configured with nginx causes incorrect redirects and CSP errors HOT 3
- HPA kills new pods instantly after creation HOT 5
- Android | DAVx5 autoconfig does not work | PROPFIND |405 Not Allowed
- Redis config customizations superseded by builtin environment variables HOT 5
- Can't start Nextcloud because the version of the data (0.0.0.0) is higher than the docker image version () and downgrading is not supported. Are you sure you have pulled the newest image version? HOT 1
- Helm chart 4.6.8 does not work when using an external database for NextCloud. "key" is not defined. HOT 1
- Cannot disable packaged PostgreSQL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm.