diff --git a/README.md b/README.md index bac86aa..b56799f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/postgres/templates/postgres-deployment.yaml b/postgres/templates/postgres-deployment.yaml index f50fbd8..2acc771 100644 --- a/postgres/templates/postgres-deployment.yaml +++ b/postgres/templates/postgres-deployment.yaml @@ -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 diff --git a/tempberry-backend/templates/tempberry-backend-deployment.yaml b/tempberry-backend/templates/tempberry-backend-deployment.yaml index 3c44e1a..0ffc133 100644 --- a/tempberry-backend/templates/tempberry-backend-deployment.yaml +++ b/tempberry-backend/templates/tempberry-backend-deployment.yaml @@ -65,9 +65,10 @@ spec: resources: limits: cpu: 500m - memory: 256Mi + memory: 128Mi requests: cpu: 100m + memory: 64Mi livenessProbe: httpGet: path: /api/