2017-11-26 20:25:57 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: zammad-memcached
|
|
|
|
namespace: zammad
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
2017-12-02 11:58:46 +00:00
|
|
|
revisionHistoryLimit: 1
|
2017-11-26 20:25:57 +00:00
|
|
|
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
|
2017-12-02 11:58:46 +00:00
|
|
|
readinessProbe:
|
|
|
|
tcpSocket:
|
|
|
|
port: 11211
|
|
|
|
initialDelaySeconds: 20
|
|
|
|
periodSeconds: 10
|
|
|
|
livenessProbe:
|
|
|
|
tcpSocket:
|
|
|
|
port: 11211
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
periodSeconds: 10
|