Skip to content

Commit

Permalink
use autoscaling/v2 for HPA in node chart
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Aug 2, 2023
1 parent ad76398 commit 639bb17
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: node
description: A Helm chart to deploy Substrate/Polkadot nodes
type: application
version: 5.1.4
version: 5.1.5
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
Expand Down
2 changes: 1 addition & 1 deletion charts/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is intended behaviour. Make sure to run `git add -A` once again to stage ch

# Substrate/Polkadot node helm chart

![Version: 5.1.4](https://img.shields.io/badge/Version-5.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 5.1.5](https://img.shields.io/badge/Version-5.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

## Maintainers

Expand Down
4 changes: 4 additions & 0 deletions charts/node/ci/kind-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ node:
whenScaled: Delete
image:
tag: v0.9.43
autoscaling:
enabled: true
targetCPU: 80
targetMemory: 80
2 changes: 1 addition & 1 deletion charts/node/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $fullname := include "node.fullname" . }}
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ $fullname }}
Expand Down

0 comments on commit 639bb17

Please sign in to comment.