Skip to content

Commit

Permalink
fix: HPA could not scale weave (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpenaranda authored Jul 17, 2024
1 parent 55dd849 commit 3a81fd5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: operator-wandb
description: A Helm chart for deploying W&B to Kubernetes
type: application
version: 0.14.14
version: 0.14.15
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
3 changes: 3 additions & 0 deletions charts/operator-wandb/charts/weave/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ spec:
- name: cache
mountPath: /vol/weave/cache

resources:
{{- toYaml .Values.cacheClear.resources | nindent 12 }}

volumes:
- name: cache
emptyDir:
Expand Down
6 changes: 6 additions & 0 deletions charts/operator-wandb/charts/weave/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ cache:
intervalInHours: 24
size: 20Gi
medium: ""

cacheClear:
resources:
requests:
cpu: 100m
memory: 128Mi

0 comments on commit 3a81fd5

Please sign in to comment.