-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnfs-server-rc-template.yaml
44 lines (44 loc) · 1.02 KB
/
nfs-server-rc-template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: v1
kind: ReplicationController
metadata:
name: nfs-server
spec:
replicas: 1
selector:
role: nfs-server
template:
metadata:
labels:
role: nfs-server
spec:
containers:
- name: nfs-server
image: hpccsystems/nfs-server:latest
command:
- /usr/local/bin/run_nfs.sh
args:
- /hpcc-config
- /hpcc-data
ports:
- name: nfs
containerPort: 2049
- name: mountd
containerPort: 20048
- name: rpcbind
containerPort: 111
securityContext:
privileged: true
volumeMounts:
- mountPath: /hpcc-config
name: hpcc-config
- mountPath: /hpcc-data
name: hpcc-data
volumes:
- name: hpcc-config
awsElasticBlockStore:
volumeID: <VOLUME_CONF>
fsType: ext4
- name: hpcc-data
awsElasticBlockStore:
volumeID: <VOLUME_ROXIE>
fsType: ext4