Skip to content

Conversation

@purkhusid
Copy link

What?

Remove the default replica values of 1 since that clashes with the usage of HPAs. Instead default to not setting replicas, which by default is 1.

## What?
Remove the default replica values of `1` since that clashes with the usage of HPAs. Instead default to not setting `replicas`, which by default is `1`.
@robholland
Copy link
Contributor

Makes sense. Please add a test.

tag: 1.27.2
pullPolicy: IfNotPresent
# Global default settings (can be overridden per service)
replicaCount: 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Please leave this here (especially the comment). Just comment out the setting.

labels:
{{- include "temporal.resourceLabels" (list $ "web" "deployment") | nindent 4 }}
spec:
{{- if .Values.web.replicaCount }}
Copy link
Contributor

Choose a reason for hiding this comment

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

with is cleaner here to avoid repeating the setting path.

@robholland robholland added the needs revision Team has requested some changes label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs revision Team has requested some changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants