zammad-docker-compose/kubernetes/42_deployment_memcached.yaml
André Bauer ce474aabef - switched to single zammad pod to get rid of nfs container in kubernetes
- added nginx configmap
- switched to statefulset for es
- removed nginx & nfs container builds
- switched to postgresql 10.1 (manual update needed)
2017-12-02 12:58:46 +01:00

35 lines
801 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: monotek/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