UNCLASSIFIED

Commit 5ff5c82e authored by Ryan Garcia's avatar Ryan Garcia
Browse files

Merge branch 'add-resource-limit-request' into 'main'

add resource template for twistlock

See merge request !27
parents b9bdd4e2 4b6afe1e
Pipeline #410067 failed with stages
in 2 minutes and 32 seconds
......@@ -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
......
apiVersion: v2
name: twistlock
version: 0.0.6-bb.1
version: 0.0.6-bb.2
appVersion: 21.04.412
dependencies:
- name: gluon
......
......@@ -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"
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment