-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autoscaling capability to opensearch-dashboards helm chart (#232)
* Added conifigurable ASG stratergy for opensource dahboard helm chart Signed-off-by: pgodithi <[email protected]> * Added configurable ASG strategy for opensearch dahboard helm chart Signed-off-by: pgodithi <[email protected]> * Resolving the conflict with 1.3 release Signed-off-by: pgodithi <[email protected]> * Resolving the conflict with 1.3 release Signed-off-by: pgodithi <[email protected]> * Fixed PR comments Signed-off-by: pgodithi <[email protected]> * Fixed PR comments Signed-off-by: pgodithi <[email protected]> * Fixed PR comments Signed-off-by: pgodithi <[email protected]> * Reverting autoscaling to v1 api Signed-off-by: pgodithi <[email protected]> * changes in chart.yaml and changelog files Signed-off-by: pgodithi <[email protected]> * adding default autoscaling value to false in values.yaml Signed-off-by: pgodithi <[email protected]> * Fix conflict issues Signed-off-by: pgodithi <[email protected]> * Fix conflict issues remove extra spaces Signed-off-by: pgodithi <[email protected]> * fixed wrong git URL Signed-off-by: pgodithi <[email protected]>
- Loading branch information
1 parent
44185b0
commit 5499b02
Showing
5 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{- if .Values.autoscaling.enabled -}} | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: {{ template "opensearch-dashboards.fullname" . }}-hpa | ||
labels: {{- include "opensearch-dashboards.labels" . | nindent 4 }} | ||
spec: | ||
maxReplicas: {{ .Values.autoscaling.maxReplicas }} | ||
minReplicas: {{ .Values.autoscaling.minReplicas }} | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: {{ template "opensearch-dashboards.fullname" . }} | ||
targetCPUUtilizationPercentage: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters