Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HPA targeted at Rollout #315

Merged
merged 5 commits into from
Jun 13, 2024
Merged

Add HPA targeted at Rollout #315

merged 5 commits into from
Jun 13, 2024

Conversation

hanayo04
Copy link
Contributor

@hanayo04 hanayo04 commented Jun 13, 2024

  • Change to allow setting 0 in the replicas of Deployment
  • Revert the HPA Chart to the state before applying fix scaleTargetRef #300
  • Add HPA targeted at Rollout

Checklist

  • Chart Version bumped

@hanayo04 hanayo04 marked this pull request as ready for review June 13, 2024 06:22
@@ -13,7 +13,7 @@ metadata:
{{- end }}
name: "{{ include "akka.fullname" . }}"
spec:
{{- if and (not .Values.autoscaling.enabled) .Values.replicaCount }}
{{- if and (not .Values.autoscaling.enabled) (ne .Values.replicaCount nil) }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change .Values.replicaCount to ne .Values.replicaCount nil because we want to allow a setting of 0, even though it currently becomes true when .Values.replicaCount is not nil or 0.

@hanayo04 hanayo04 changed the title add rollout add HPA targeted at Rollout Jun 13, 2024
@hanayo04 hanayo04 changed the title add HPA targeted at Rollout Add HPA targeted at Rollout Jun 13, 2024
name: "{{ template "akka.fullname" . }}"
{{- end }}

{{- if .Values.autoscalingRollout.enabled -}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we define autoscaling and autoscalingRollout together? If they are defined together, then --- is necessary to separate yaml, and if they are not defined together, then it would be better to add them to the condition as https://github.com/chatwork/charts/blob/master/fluentd/templates/statefulset.yaml#L2.

@hanayo04 hanayo04 merged commit 4498d68 into master Jun 13, 2024
2 checks passed
@hanayo04 hanayo04 deleted the SREP-1678 branch June 13, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants