zammad-docker-compose/kubernetes/42_deployment_memcached.yaml
André Bauer b3fb17c6ad - changed tmp file var to use full path
- switched back to postgresql 9.6 (10.x with next release)
- switched back to zammad image repos
- switched back to stable branch (dalli gem now included)
2017-12-07 15:20:21 +01:00

35 lines
800 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: zammad-memcached
namespace: zammad
spec:
replicas: 1
revisionHistoryLimit: 1
template:
metadata:
labels:
app: memcached
component: cache
spec:
terminationGracePeriodSeconds: 10
containers:
- name: zammad-memcached
image: zammad/zammad-docker-compose:zammad-memcached
args: [ "zammad-memcached" ]
ports:
- containerPort: 11211
name: memcached
imagePullPolicy: Always
readinessProbe:
tcpSocket:
port: 11211
initialDelaySeconds: 20
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 11211
initialDelaySeconds: 10
periodSeconds: 10