Skip to content

Commit

Permalink
feat: upgrade nginx and set sensible defaults for nginx autoscaling (#37
Browse files Browse the repository at this point in the history
)

Signed-off-by: Georgi Ivanov <[email protected]>

Signed-off-by: Georgi Ivanov <[email protected]>
  • Loading branch information
givanov authored Dec 8, 2022
1 parent 9ca9ac5 commit 9de9b9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/07-nginxingress/01-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@
## Ref: https://github.com/kubernetes/ingress/blob/master/controllers/nginx/configuration.md
##
controller:
resources:
requests:
cpu: 100m
memory: 128Mi
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 6
targetCPUUtilizationPercentage: 50
targetMemoryUtilizationPercentage: 80
service:
omitClusterIP: true
annotations:
Expand Down
2 changes: 1 addition & 1 deletion packages/07-nginxingress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ nginxingress:
# The chart's name - can also be a URL
chart: ingress-nginx/ingress-nginx
# If using a registry, specify the version. If the chart is a URL, set the version to null
version: 4.2.1
version: 4.4.0

0 comments on commit 9de9b9f

Please sign in to comment.