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

Getting multiple reports krr when set for a specific time #1280

Open
ShibraAmin opened this issue Feb 8, 2024 · 1 comment
Open

Getting multiple reports krr when set for a specific time #1280

ShibraAmin opened this issue Feb 8, 2024 · 1 comment

Comments

@ShibraAmin
Copy link

Describe the bug
getting 2 reports when I have set a cron_expression: "00 4 * * 2" for krr

2024-01-30 03:59:02.001 INFO     running scheduled job 970bfc78c2d90a4264f8d4afd7512666
2024-01-30 04:01:50.215 INFO     running scheduled job 970bfc78c2d90a4264f8d4afd7512666 

To Reproduce
Install robusta in a kubernetes cluster with following customPlaybooks section in your generated_values.yaml

customPlaybooks:
  - triggers:
      - on_schedule:
          cron_schedule_repeat:
            cron_expression: "00 4 * * 2"
    actions:
      - krr_scan:
          krr_args: "--history_duration 168" ## KRR args here
    sinks:
      - "sink_a"

Expected behavior
To get a report at 00 4 * * 2 with a single job scheduled in runner.

Additional context
Kubernetes -> EKS 1.22
Robusta chart version -> 0.10.27

Copy link

github-actions bot commented Feb 8, 2024

Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here.

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

No branches or pull requests

1 participant