zammad-docker-compose/kubernetes/55_statefulset_scheduler.yaml

33 lines
755 B
YAML
Raw Normal View History

2017-10-24 13:57:42 +00:00
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: zammad-scheduler
namespace: zammad
labels:
component: scheduler
app: zammad
spec:
serviceName: zammad-scheduler
replicas: 1
template:
metadata:
labels:
component: scheduler
app: zammad
spec:
terminationGracePeriodSeconds: 10
volumes:
- name: zammad-home
persistentVolumeClaim:
2017-11-20 22:59:01 +00:00
claimName: zammad-home
2017-10-24 13:57:42 +00:00
containers:
- name: zammad-scheduler
2017-11-20 22:59:01 +00:00
image: monotek/zammad-docker-compose:zammad
2017-10-24 13:57:42 +00:00
args: [ "zammad-scheduler" ]
imagePullPolicy: Always
2017-11-20 22:59:01 +00:00
securityContext:
privileged: true
2017-10-24 13:57:42 +00:00
volumeMounts:
- mountPath: /home/zammad
2017-11-20 22:59:01 +00:00
name: zammad-home