Skip to content
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

Test Case 10 : DatabaseBackup yaml has incorrect cron frequency #85

Open
deleeuwblue opened this issue Jun 7, 2022 · 4 comments
Open

Comments

@deleeuwblue
Copy link
Member

Issue:
The sample DatabaseBackup CR specifies a cron job schedule of "*/3 * * * *" which is every 3 minutes. This is too frequent and ends up filling the COS instance with many buckets which makes it hard to navigate or delete. The frequency should be once per day.

The golden version of this file should be updated:
https://github.com/IBM/operator-sample-go/blob/main/operator-database/config/samples/database.sample_v1alpha1_databasebackup.yaml

This requires changing the associated template.

Link to the documentation:

@thomassuedbroecker
Copy link
Collaborator

What is the new value for the schedule "*/3 * * * *" for the database instance back yaml https://github.com/IBM/operator-sample-go/blob/main/scripts/database-operator-templates/database.sample_v1alpha1_databasebackup-TEMPLATE.yaml ?@deleeuwblue

@deleeuwblue
Copy link
Member Author

schedule: "0 0 * * *" will preform the backup every day at midnight. That should be fine for demo purposes.
@thomassuedbroecker

@thomassuedbroecker
Copy link
Collaborator

thomassuedbroecker commented Jun 8, 2022

@deleeuwblue I updated the template in that commit: 6e22b3d , if it works we can close that issue.

@thomassuedbroecker
Copy link
Collaborator

@vishal-ramani can you please verify the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants