Skip to content

Allow usage of HPAs#708

Open
purkhusid wants to merge 3 commits intotemporalio:mainfrom
purkhusid:allows-usage-of-hpa
Open

Allow usage of HPAs#708
purkhusid wants to merge 3 commits intotemporalio:mainfrom
purkhusid:allows-usage-of-hpa

Conversation

@purkhusid
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@purkhusid purkhusid requested a review from a team as a code owner February 9, 2026 14:28
@purkhusid
Copy link
Copy Markdown
Author

@robholland This should be ready

@robholland
Copy link
Copy Markdown
Contributor

There are still comments not attended to.

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