Comments (4)
One idea here:
Add a skipped
field to the K8upstatus
in the CRD.
If the operator detect already a running prune set the skipped true. Check for that case in the execution worker.
from k8up.
In the case of Lagoon we have the case that multiple namespaces share the same s3 bucket:
drupal-example-main
drupal-example-develop
drupal-example-staging
they all use the bucket baas-drupal-example
There is no specific drupal-example
namespace. Therefore each of the namespaces create a backup schedule that includes a prune schedule, therefore having 3 prunes per week. We made sure with random generator that these prunes are not at the same time.
But still pruning 3 times the same bucket is not really useful.
Would this new system also be able to detect this? Like it realizes that there are 3 prunes for the same bucket and it would only run one? Maybe that's also connected to #116 where we would just for all 3 prunes say @weekly
and then the operator runs only one prune at a good time per week?
from k8up.
As discussed yesterday in the internal call I'm closing this issue and merge it with #116.
Because we realised that these two features are very closely related and make sense to be implemented together.
from k8up.
This has now moved into #214
from k8up.
Related Issues (20)
- Backups that don't trigger any jobs never complete and aren't cleaned up
- Spec activeDeadlineSeconds not defined in job template HOT 2
- Fix typo in `RestServerSpec`
- Refactoring e2e test with kubernetes-sigs/e2e-framework
- Installation of CRD fails HOT 3
- Helm chart support dual stuck clusters
- Add easy way to create an backup instance of a schedule HOT 2
- Helm Chart 4.5.1 hasn't been released to repositories HOT 4
- Allow to set the priorityClassName of Backup pods HOT 2
- make run doesn't work
- getting started - Introduction Tutorial - ciphertext verification failed HOT 4
- Slack Channel (Permissions)? HOT 2
- Gaps in K8up metrics HOT 2
- CRD Installation failed 4.7.0 HOT 3
- Backup of RWO volumes used by Pods fails HOT 7
- [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. HOT 5
- CRDS 2.2 in tutorial
- kind: Schedules does not have same spec as kind: Backup, no Volume to map CaCert HOT 1
- SIGSEGV in k8up pod when defining archive with empty s3 object
- backup error : [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. │ 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 k8up.