ce696bad8b
- added memcached container (currently develop branch needed) - put all zammad services in one kubernetes pod to be able to use empty dir volume for tmp - switched to kubernetes deployments - switched to ReadWriteOnce kubernetes volume claims - added init container to elasticsearch & zammad kubernetes deployments - added IMAGE_REPO var for docker compose to .env file - run nginx from zammad container (preparation for stateless updates) - removed docker-compose-build.yml - use private docker repos in compose & kubernetes - change compose volume names
30 lines
692 B
YAML
30 lines
692 B
YAML
apiVersion: apps/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zammad-postgresql
|
|
namespace: zammad
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: database
|
|
app: postgresql
|
|
spec:
|
|
terminationGracePeriodSeconds: 10
|
|
volumes:
|
|
- name: zammad-postgresql
|
|
persistentVolumeClaim:
|
|
claimName: zammad-postgresql
|
|
|
|
containers:
|
|
- name: zammad-postgresql
|
|
image: monotek/zammad-docker-compose:zammad-postgresql
|
|
ports:
|
|
- name: postgresql
|
|
containerPort: 5432
|
|
imagePullPolicy: Always
|
|
volumeMounts:
|
|
- name: zammad-postgresql
|
|
mountPath: /var/lib/postgresql
|