Skip to content

Commit

Permalink
fix(dvcx-worker): Fix the dvcx-worker replica setting if udf is dis…
Browse files Browse the repository at this point in the history
…abled (#172)

Co-authored-by: Marcin Jasion <mjasion@users.noreply.github.com>
  • Loading branch information
mjasion and mjasion committed Aug 24, 2023
1 parent 5e6afd9 commit 45ddf01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: studio
description: A Helm chart for Kubernetes
type: application
version: 0.5.1
version: 0.5.2
appVersion: "v2.29.0"
maintainers:
- name: iterative
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.5.1](https://img.shields.io/badge/Version-0.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.29.0](https://img.shields.io/badge/AppVersion-v2.29.0-informational?style=flat-square)
![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.29.0](https://img.shields.io/badge/AppVersion-v2.29.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion charts/studio/templates/deployment-studio-dvcx-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "studio-dvcx-worker.labels" . | nindent 4 }}
spec:
{{- if not .Values.studioDvcxWorker.autoscaling.enabled }}
{{- if ((.Values.dvcx).udfEnabled) }}
{{- if ((.Values.global.dvcx).udfEnabled) }}
replicas: {{ .Values.studioDvcxWorker.replicaCount }}
{{- else }}
replicas: 0
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/templates/hpa-studio-dvcx-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: studio-dvcx-worker
{{- if ((.Values.dvcx).udfEnabled) }}
{{- if ((.Values.global.dvcx).udfEnabled) }}
minReplicas: {{ .Values.studioDvcxWorker.autoscaling.minReplicas }}
maxReplicas: {{ .Values.studioDvcxWorker.autoscaling.maxReplicas }}
{{- else }}
Expand Down

0 comments on commit 45ddf01

Please sign in to comment.