Skip to content

Commit

Permalink
Beef up prod for samesies on demo
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilrieger committed Feb 22, 2024
1 parent fa93495 commit dd607d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hyrax/templates/import-deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
{{- include "hyrax.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.worker.importReplicaCount }}
replicas: {{ .Values.importWorker.replicaCount }}
selector:
matchLabels:
{{- include "hyrax.workerSelectorLabels" . | nindent 6 }}
Expand Down
4 changes: 2 additions & 2 deletions ops/demo-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ extraEnvVars: &envVars

worker:
replicaCount: 1
importReplicaCount: 1
podSecurityContext:
runAsUser: 1001
runAsGroup: 101
Expand All @@ -151,7 +150,8 @@ worker:
extraEnvVars: *envVars

importWorker:
enabled: true
enabled: false
replicaCount: 1
# extraEnvVars will not handle overriden values
# only additional to the original workerEnvVars list
extraEnvVars:
Expand Down
2 changes: 1 addition & 1 deletion ops/prod-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ extraEnvVars: &envVars

worker:
replicaCount: 1
importReplicaCount: 3
podSecurityContext:
runAsUser: 1001
runAsGroup: 101
Expand All @@ -157,6 +156,7 @@ worker:

importWorker:
enabled: true
replicaCount: 3
# extraEnvVars will not handle overriden values
# only additional to the original workerEnvVars list
extraEnvVars:
Expand Down

0 comments on commit dd607d6

Please sign in to comment.