diff --git a/CHANGELOG.md b/CHANGELOG.md index eef171e25ba9d51f9706cac971acfdb444e79655..8d10b2ac87814ccad92a9c5c8919c16e2d43b7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [0.0.6-bb.2] - 2021-08-06 + +### Added + +- Add Resource limit and request. + ## [0.0.6-bb.1] - 2021-07-21 ### Added diff --git a/chart/Chart.yaml b/chart/Chart.yaml index a6616c540b5f17b04e97770fc7e7e62f3d893b80..9f112b0ef968613747be0f13168efc5263432e43 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: twistlock -version: 0.0.6-bb.1 +version: 0.0.6-bb.2 appVersion: 21.04.412 dependencies: - name: gluon diff --git a/chart/templates/console/deployment.yaml b/chart/templates/console/deployment.yaml index 0df696b489d7a83d0acd3e200bc67a48fc0a43e7..40890d67a83ee22c6c2f7d388ab31a2d7926ba49 100644 --- a/chart/templates/console/deployment.yaml +++ b/chart/templates/console/deployment.yaml @@ -40,6 +40,8 @@ spec: containers: - name: twistlock-console image: {{ .Values.console.image.repository }}:{{ .Values.console.image.tag }} + resources: + {{ toYaml .Values.resources | nindent 10 }} ports: - name: mgmt-https containerPort: 8083 @@ -47,8 +49,7 @@ spec: containerPort: 8084 - name: mgmt-http containerPort: 8081 - resources: - {{ toYaml .Values.resources | nindent 10 }} + env: - name: HIGH_AVAILABILITY_ENABLED value: "false" @@ -87,3 +88,4 @@ spec: - name: syslog-socket hostPath: path: "/dev/log" + diff --git a/chart/values.yaml b/chart/values.yaml index 23bad32f7506fc40a741d4bfa66d2834df320c4e..2854551233b769d27d352ca740a11d5d55ed808b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -63,11 +63,11 @@ tolerations: # effect: "NoSchedule" resources: - limits: {} - # memory: 256Mi - # cpu: 100m - requests: {} - # memory: 256Mi - # cpu: 100m + limits: + memory: 1Gi + cpu: 250m + requests: + memory: 512Mi + cpu: 250m openshift: false