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

Cron sync schedules more frequent than once per hour are not allowed when using Helm chart for OSS/Community edition on EKS #51036

Open
dkravetz opened this issue Jan 10, 2025 · 3 comments

Comments

@dkravetz
Copy link

Topic

Cron sync schedules more frequent than once per hour are not allowed

Relevant information

Hello!

We are currently hosting the OSS/Community version of Airbyte using Helm on an EKS cluster. The initially deployed version of the helm chart was 1.1.0, which was over time upgraded to 1.2.0 and lastly to 1.3.0. I could not find any relevant information about cron schedules on the changelogs for these versions.

At this point in time we decided to use the Terraform provider to have Airbyte configured as code instead of manually doing so on the web UI, and we run into the following error:

unknown status code returned: Status 400
{"status":400,"type":"error:cron-validation/under-one-hour-not-allowed","title":"Cron sync schedules more frequent than once per hour are not allowed","detail":"Syncs","documentationUrl":null,"data":{"cronExpression":"0 0/15 * * * ?","validationErrorMessage":"Cron
executions must be more than 1 hour apart"}}

Image

The exact same error message appears when modifying an existing cron schedule that runs every 15 minutes from the web UI, forcing us to fall back to a 1 hour schedule:

Image

However, schedules of 15 minutes were working with no issue whatsoever, and these are the only useful links I was able to find about this topic:

In particular, the pull request linked above states the following here:

On the OSS side, I'm comfortable with letting users set any valid cron schedule they want.

and the second link clearly mentions Airbyte Cloud (which is not what we are currently running):

Syncs can run at most every 60 minutes in Airbyte Cloud. Reach out to Sales if you require replication more frequently than once per hour.

It is my understanding from the information linked above that the open source/community edition should not have this restriction. The informative chart listing the differences between editions under the pricing section of Airbyte's website also seems to indicate a clear distinction between self-hosted and cloud-hosted (the latter having the 1 hour sync period restriction enabled):

Image

Any information and help on this topic would be much appreciated! Please let me know if there's any further information that I can provide in order to help debug this problem. Thank you!

@dkravetz
Copy link
Author

This is our values.yaml with all the overrides to the upstream chart:

postgresql:
  enabled: false # We are using our own postgres

global:
  storage:
    type: "S3"
    secretName: airbyte-config-secrets
    bucket: 
      log: our-s3-bucket
      state: our-s3-bucket
      workloadOutput: our-s3-bucket
    s3:
      region: "eu-central-1"
      authenticationType: "credentials"
      accessKeyIdSecretKey: s3-access-key-id
      secretAccessKeySecretKey: s3-secret-access-key
  database:
    type: external
    host: "our-postgres"
    port: "5432"
    database: postgres
    secretName: airbyte-config-secrets
    userSecretKey: database-user
    passwordSecretKey: database-password

@dkravetz
Copy link
Author

Further supported by the max sync frequency listed below the chart

Image

@marcosmarxm
Copy link
Member

Hello @dkravetz sorry about that. This is an issue will be fixed in 1.4.0
@airbytehq/platform-compose fyi.

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

3 participants