diff --git a/deployments/kubernetes/chart/reloader/Chart.yaml b/deployments/kubernetes/chart/reloader/Chart.yaml index 6f411f2e0..276ec5f0e 100644 --- a/deployments/kubernetes/chart/reloader/Chart.yaml +++ b/deployments/kubernetes/chart/reloader/Chart.yaml @@ -3,8 +3,8 @@ apiVersion: v1 name: reloader description: Reloader chart that runs on kubernetes -version: 1.0.119 -appVersion: v1.0.119 +version: 1.0.120 +appVersion: v1.0.120 keywords: - Reloader - kubernetes diff --git a/deployments/kubernetes/chart/reloader/values.yaml b/deployments/kubernetes/chart/reloader/values.yaml index 629dafb1b..49b863f5e 100644 --- a/deployments/kubernetes/chart/reloader/values.yaml +++ b/deployments/kubernetes/chart/reloader/values.yaml @@ -92,10 +92,10 @@ reloader: labels: provider: stakater group: com.stakater.platform - version: v1.0.119 + version: v1.0.120 image: name: ghcr.io/stakater/reloader - tag: v1.0.119 + tag: v1.0.120 pullPolicy: IfNotPresent # Support for extra environment variables. env: diff --git a/deployments/kubernetes/manifests/deployment.yaml b/deployments/kubernetes/manifests/deployment.yaml index 422da504c..2f17e7216 100644 --- a/deployments/kubernetes/manifests/deployment.yaml +++ b/deployments/kubernetes/manifests/deployment.yaml @@ -17,9 +17,18 @@ spec: app: reloader-reloader spec: containers: - - image: "ghcr.io/stakater/reloader:v1.0.119" + - image: "ghcr.io/stakater/reloader:v1.0.120" imagePullPolicy: IfNotPresent name: reloader-reloader + env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + resource: limits.memory + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + resource: limits.cpu ports: - name: http containerPort: 9090 diff --git a/deployments/kubernetes/reloader.yaml b/deployments/kubernetes/reloader.yaml index c2dc20a19..81e734d3e 100644 --- a/deployments/kubernetes/reloader.yaml +++ b/deployments/kubernetes/reloader.yaml @@ -8,7 +8,7 @@ metadata: meta.helm.sh/release-name: "reloader" labels: app: reloader-reloader - chart: "reloader-1.0.119" + chart: "reloader-1.0.120" release: "reloader" heritage: "Helm" app.kubernetes.io/managed-by: "Helm" @@ -25,7 +25,7 @@ metadata: meta.helm.sh/release-name: "reloader" labels: app: reloader-reloader - chart: "reloader-1.0.119" + chart: "reloader-1.0.120" release: "reloader" heritage: "Helm" app.kubernetes.io/managed-by: "Helm" @@ -92,7 +92,7 @@ metadata: meta.helm.sh/release-name: "reloader" labels: app: reloader-reloader - chart: "reloader-1.0.119" + chart: "reloader-1.0.120" release: "reloader" heritage: "Helm" app.kubernetes.io/managed-by: "Helm" @@ -115,13 +115,13 @@ metadata: meta.helm.sh/release-name: "reloader" labels: app: reloader-reloader - chart: "reloader-1.0.119" + chart: "reloader-1.0.120" release: "reloader" heritage: "Helm" app.kubernetes.io/managed-by: "Helm" group: com.stakater.platform provider: stakater - version: v1.0.119 + version: v1.0.120 name: reloader-reloader namespace: default spec: @@ -135,19 +135,27 @@ spec: metadata: labels: app: reloader-reloader - chart: "reloader-1.0.119" + chart: "reloader-1.0.120" release: "reloader" heritage: "Helm" app.kubernetes.io/managed-by: "Helm" group: com.stakater.platform provider: stakater - version: v1.0.119 + version: v1.0.120 spec: containers: - - image: "ghcr.io/stakater/reloader:v1.0.119" + - image: "ghcr.io/stakater/reloader:v1.0.120" imagePullPolicy: IfNotPresent name: reloader-reloader - + env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + resource: limits.memory + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + resource: limits.cpu ports: - name: http containerPort: 9090 @@ -174,8 +182,8 @@ spec: {} resources: limits: - cpu: 150m - memory: 512Mi + cpu: "1" + memory: 128Mi requests: cpu: 10m memory: 128Mi