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

set memory limit/request for blob storage connectors #10861

Merged
merged 1 commit into from
Mar 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
dockerImageTag: 0.1.3
documentationUrl: https://docs.airbyte.io/integrations/destinations/azureblobstorage
icon: azureblobstorage.svg
resourceRequirements:
jobSpecific:
- jobType: sync
resourceRequirements:
memory_limit: "1Gi"
memory_request: "1Gi"
- name: Amazon SQS
destinationDefinitionId: 0eeee7fb-518f-4045-bacc-9619e31c43ea
dockerRepository: airbyte/destination-amazon-sqs
Expand All @@ -16,12 +22,24 @@
dockerImageTag: 0.6.11
documentationUrl: https://docs.airbyte.io/integrations/destinations/bigquery
icon: bigquery.svg
resourceRequirements:
jobSpecific:
- jobType: sync
resourceRequirements:
memory_limit: "1Gi"
memory_request: "1Gi"
- name: BigQuery (denormalized typed struct)
destinationDefinitionId: 079d5540-f236-4294-ba7c-ade8fd918496
dockerRepository: airbyte/destination-bigquery-denormalized
dockerImageTag: 0.2.10
documentationUrl: https://docs.airbyte.io/integrations/destinations/bigquery
icon: bigquery.svg
resourceRequirements:
jobSpecific:
- jobType: sync
resourceRequirements:
memory_limit: "1Gi"
memory_request: "1Gi"
- name: Cassandra
destinationDefinitionId: 707456df-6f4f-4ced-b5c6-03f73bcad1c5
dockerRepository: airbyte/destination-cassandra
Expand Down Expand Up @@ -63,6 +81,12 @@
dockerImageTag: 0.1.24
documentationUrl: https://docs.airbyte.io/integrations/destinations/gcs
icon: googlecloudstorage.svg
resourceRequirements:
jobSpecific:
- jobType: sync
resourceRequirements:
memory_limit: "1Gi"
memory_request: "1Gi"
- name: Google Firestore
destinationDefinitionId: 27dc7500-6d1b-40b1-8b07-e2f2aea3c9f4
dockerRepository: airbyte/destination-firestore
Expand Down Expand Up @@ -165,6 +189,12 @@
dockerImageTag: 0.3.27
documentationUrl: https://docs.airbyte.io/integrations/destinations/redshift
icon: redshift.svg
resourceRequirements:
jobSpecific:
- jobType: sync
resourceRequirements:
memory_limit: "1Gi"
memory_request: "1Gi"
- name: Rockset
destinationDefinitionId: 2c9d93a7-9a17-4789-9de9-f46f0097eb70
dockerRepository: airbyte/destination-rockset
Expand All @@ -176,6 +206,12 @@
dockerImageTag: 0.2.9
documentationUrl: https://docs.airbyte.io/integrations/destinations/s3
icon: s3.svg
resourceRequirements:
jobSpecific:
- jobType: sync
resourceRequirements:
memory_limit: "1Gi"
memory_request: "1Gi"
- name: SFTP-JSON
destinationDefinitionId: e9810f61-4bab-46d2-bb22-edfc902e0644
dockerRepository: airbyte/destination-sftp-json
Expand All @@ -189,21 +225,11 @@
documentationUrl: https://docs.airbyte.io/integrations/destinations/snowflake
icon: snowflake.svg
resourceRequirements:
# this is our first example of setting these requirements. they are guesses, not data driven.
# setting default cpu higher, because we have found that check and discover can be cpu constrained for dbs.
default:
cpu_limit: "1.0"
cpu_request: "1.0"
memory_limit: "300Mi"
memory_request: "300Mi"
Comment on lines -192 to -198
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this because these resource requirements are not currently applied to anything besides sync jobs, so having this here is a bit misleading. I created an issue to add support for this here: https://github.com/airbytehq/airbyte/issues/10862

jobSpecific:
# sync jobs are generally IO and memory bound and not cpu.
- jobType: sync
resourceRequirements:
cpu_limit: "0.5"
cpu_request: "0.5"
Comment on lines -203 to -204
Copy link
Contributor Author

@lmossman lmossman Mar 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the cpu_limit and cpu_request requirements because we are going to set the default CPU requirements for all jobs to 0.5, and if we decide to change that default in the future then having this requirement here will prevent that change from affecting snowflake connectors.

memory_limit: "600Mi"
memory_request: "600Mi"
memory_limit: "1Gi"
memory_request: "1Gi"
- name: MariaDB ColumnStore
destinationDefinitionId: 294a4790-429b-40ae-9516-49826b9702e1
dockerRepository: airbyte/destination-mariadb-columnstore
Expand Down