Skip to content

Commit

Permalink
Add maxClientMemory to values.yaml
Browse files Browse the repository at this point in the history
A customer asked for this setting due to high memory usage
whilst streaming video.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed May 11, 2023
1 parent cb511e5 commit fb1a2a0
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 69 deletions.
2 changes: 1 addition & 1 deletion chart/inlets-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0"
description: inlets-operator for Kubernetes
name: inlets-operator
version: 0.17.4
version: 0.17.5
keywords:
- networking
- loadbalancer
Expand Down
3 changes: 3 additions & 0 deletions chart/inlets-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ spec:
{{- if .Values.plan }}
- "-plan={{.Values.plan}}"
{{- end }}
{{- if .Values.maxClientMemory }}
- "-max-client-memory={{.Values.maxClientMemory}}"
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
Expand Down
7 changes: 5 additions & 2 deletions chart/inlets-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ image: "ghcr.io/inlets/inlets-operator:0.17.2"
pullPolicy: "IfNotPresent"

# These should match
inletsClientImage: "ghcr.io/inlets/inlets-pro:0.9.14"
inletsRelease: "0.9.14"
inletsClientImage: "ghcr.io/inlets/inlets-pro:0.9.19"
inletsRelease: "0.9.19"

nameOverride: ""
fullnameOverride: ""
Expand All @@ -56,6 +56,9 @@ resources:
cpu: 100m
memory: 128Mi

# Set a maximum memory limit for the inlets client Deployments
maxClientMemory: 128Mi

nodeSelector: {}
tolerations: []
affinity: {}
Loading

0 comments on commit fb1a2a0

Please sign in to comment.