ce474aabef
- added nginx configmap - switched to statefulset for es - removed nginx & nfs container builds - switched to postgresql 10.1 (manual update needed)
35 lines
801 B
YAML
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
|