2017-11-20 22:59:01 +00:00
|
|
|
apiVersion: apps/v1beta1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
|
|
|
name: zammad-nfs
|
|
|
|
namespace: zammad
|
|
|
|
labels:
|
|
|
|
component: netfs
|
|
|
|
app: zammad
|
|
|
|
spec:
|
|
|
|
serviceName: zammad-nfs
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
component: netfs
|
|
|
|
app: nfs
|
|
|
|
spec:
|
|
|
|
terminationGracePeriodSeconds: 10
|
|
|
|
containers:
|
|
|
|
- name: zammad-nfs
|
2017-11-21 18:19:50 +00:00
|
|
|
image: zammad/zammad-docker-compose:zammad-nfs
|
2017-11-20 22:59:01 +00:00
|
|
|
args: [ "zammad-nfs" ]
|
|
|
|
imagePullPolicy: Always
|
|
|
|
ports:
|
|
|
|
- containerPort: 2049
|
|
|
|
name: nfsserver
|
|
|
|
- containerPort: 111
|
|
|
|
name: rpc
|
|
|
|
securityContext:
|
|
|
|
privileged: true
|