Helm tuning (#1553)

This commit is contained in:
Yuhong Sun 2024-06-01 17:29:58 -07:00 committed by GitHub
parent 2363698c20
commit 026652d827
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 16 deletions

View File

@ -24,6 +24,7 @@ transformer_logging.set_verbosity_error()
os.environ["TOKENIZERS_PARALLELISM"] = "false"
os.environ["HF_HUB_DISABLE_TELEMETRY"] = "1"
os.environ["TRANSFORMERS_NO_ADVISORY_WARNINGS"] = "1"
logger = setup_logger()

View File

@ -194,17 +194,17 @@ api:
type: ClusterIP
port: 8080
resources:
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
requests:
cpu: 500m
memory: 128Mi
limits:
cpu: 900m
memory: 512Mi
# requests:
# cpu: 1000m # Requests 1 CPU core
# memory: 1Gi # Requests 1 GiB of memory
# limits:
# cpu: 2000m # Limits to 2 CPU cores
# memory: 2Gi # Limits to 2 GiB of memory
autoscaling:
enabled: false
@ -254,17 +254,17 @@ background:
# runAsNonRoot: true
# runAsUser: 1000
enableMiniChunk: "true"
resources:
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
requests:
cpu: 500m
memory: 500Mi
limits:
cpu: 900m
memory: 800Mi
# requests:
# cpu: 1000m # Requests 1 CPU core
# memory: 1Gi # Requests 1 GiB of memory
# limits:
# cpu: 2000m # Limits to 2 CPU cores
# memory: 2Gi # Limits to 2 GiB of memory
autoscaling:
enabled: false

View File

@ -54,4 +54,4 @@ spec:
resources:
requests:
# Adjust the storage request size as needed.
storage: 1Gi
storage: 5Gi

View File

@ -60,4 +60,4 @@ spec:
resources:
requests:
# Adjust the storage request size as needed.
storage: 1Gi
storage: 5Gi