zammad-docker-compose/kubernetes/56_statefulset_nfs.yaml

31 lines
651 B
YAML
Raw Normal View History

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
image: monotek/zammad-docker-compose:zammad-nfs
args: [ "zammad-nfs" ]
imagePullPolicy: Always
ports:
- containerPort: 2049
name: nfsserver
- containerPort: 111
name: rpc
securityContext:
privileged: true