Skip to content

Commit

Permalink
fix: Incremented resources in Helm (#2)
Browse files Browse the repository at this point in the history
* fix: incremented cpu limit
* fix: updated Helm files for UAT and PROD

---------

Co-authored-by: pagopa-github-bot <github-bot@pagopa.it>
  • Loading branch information
andrea-deri and pagopa-github-bot authored Jul 15, 2024
1 parent 95b59aa commit 9b3bedd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ microservice-chart:
cpu: "0.25"
limits:
memory: "512Mi"
cpu: "0.25"
cpu: "0.5"
autoscaling:
enable: true
minReplica: 1
Expand Down
12 changes: 6 additions & 6 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ microservice-chart:
servicePort: 8080
serviceAccount:
create: false
annotations: {}
annotations: { }
name: ""
podAnnotations: {}
podAnnotations: { }
podSecurityContext:
seccompProfile:
type: RuntimeDefault
securityContext:
allowPrivilegeEscalation: false
resources:
requests:
memory: "512Mi"
cpu: "0.50"
memory: "256Mi"
cpu: "0.25"
limits:
memory: "756Mi"
cpu: "0.50"
Expand Down Expand Up @@ -87,8 +87,8 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
tmpVolumeMount:
create: true
nodeSelector: {}
tolerations: []
nodeSelector: { }
tolerations: [ ]
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
14 changes: 7 additions & 7 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,25 @@ microservice-chart:
servicePort: 8080
serviceAccount:
create: false
annotations: {}
annotations: { }
name: ""
podAnnotations: {}
podAnnotations: { }
podSecurityContext:
seccompProfile:
type: RuntimeDefault
securityContext:
allowPrivilegeEscalation: false
resources:
requests:
memory: "512Mi"
memory: "256Mi"
cpu: "0.25"
limits:
memory: "512Mi"
cpu: "0.25"
cpu: "0.5"
autoscaling:
enable: true
minReplica: 1
maxReplica: 1
maxReplica: 2
pollingInterval: 10 # seconds
cooldownPeriod: 50 # seconds
triggers:
Expand Down Expand Up @@ -87,8 +87,8 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
tmpVolumeMount:
create: true
nodeSelector: {}
tolerations: []
nodeSelector: { }
tolerations: [ ]
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit 9b3bedd

Please sign in to comment.