Skip to content

Commit

Permalink
Merge pull request #348 from TIBCOSoftware/fix-issue-347
Browse files Browse the repository at this point in the history
update hpa version in helm templates folder
  • Loading branch information
rameshpolishetti committed Mar 14, 2024
2 parents 3a97e30 + b399f9e commit 5d425c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cloud/kubernetes/helm/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- if $agent.hpa }}
{{- if or $agent.hpa.cpuMetric.enable $agent.hpa.memoryMetric.enable }}
{{- $ssName := (printf "%s-%s" $.Release.Name $agent.name) }}
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ $ssName }}
Expand Down
8 changes: 4 additions & 4 deletions cloud/kubernetes/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ agents:
port: 8090 # container port to be exposed
type: NodePort # service type. Supported values: NodePort, LoadBalancer or ClusterIP
resources: # Update how much of memory, cpu resource a agent container needs.
memoryRequest: 1.2Gi # In case of RMS, You may need to update this to 4Gi
memoryLimit: 1.5Gi
memoryRequest: 1.2G # In case of RMS, You may need to update this to 4Gi
memoryLimit: 1.5G
cpuRequest: 1
cpuLimit: 2
hpa: # agents[].hpa: (Horizontal Pod Autoscaler).
Expand Down Expand Up @@ -154,8 +154,8 @@ agents:
discoverableReplicas: 0
expose:
resources:
memoryRequest: 1.2Gi
memoryLimit: 1.5Gi
memoryRequest: 1.2G
memoryLimit: 1.5G
cpuRequest: 1
cpuLimit: 2
hpa:
Expand Down

0 comments on commit 5d425c3

Please sign in to comment.