Skip to content

Commit

Permalink
Added resource limits and todo list
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-kreuzberger-dtx committed Apr 6, 2020
1 parent 20b3afb commit 644d449
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ This is an example project for [Keptn](https://keptn.sh) for [Tempberry](https:/
* A Kubernetes cluster (version 1.14 or 1.15)
* A working Keptn 0.6.1 installation


## Status

- [x] Create chart for postgres
- [x] Create chart for tempberry backend
- [ ] Create chart for tempberry frontend
- [ ] Create superuser on installation
- [ ] Automatically run migrations (and roll them back if anything fails)
- [ ] Create JMeter tests for tempberry backend
- [ ] Run automated tests for installation in Keptn

## Setup

1. Specify for project name in a variable
Expand Down
7 changes: 7 additions & 0 deletions postgres/templates/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ spec:

- name: POSTGRES_DB
value: "tempberry"
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 32Mi
volumeMounts:
- mountPath: /var/lib/postgresql/data
name: postgres-volume-mount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 256Mi
memory: 128Mi
requests:
cpu: 100m
memory: 64Mi
livenessProbe:
httpGet:
path: /api/
Expand Down

0 comments on commit 644d449

Please sign in to comment.