Skip to content

Commit

Permalink
Update to metering NFS mountpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
kevchu3 committed Apr 23, 2020
1 parent 74b7e4c commit 438c1e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions operator/metering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ This section provides steps to configure the metering operator to use NFS storag

Set up a metering and a hive mountpoint on the NFS host. Update the reference to *.yourcluster.domain.com to your own
```
mkdir -p /exports/metering
chmod -R 777 /exports/metering
chown -R nfsnobody:nfsnobody /exports/metering
echo "/exports/metering *.yourcluster.domain.com(rw,sync,no_wdelay,root_squash,insecure)" >> /etc/exports
mkdir -p /exports/metering/metering-data
chmod -R 777 /exports/metering/metering-data
chown -R nfsnobody:nfsnobody /exports/metering/metering-data
mkdir -p /exports/metering-hive
chmod -R 777 /exports/metering-hive
chown -R nfsnobody:nfsnobody /exports/metering-hive
echo "/exports/metering-hive *.yourcluster.domain.com(rw,sync,no_wdelay,root_squash,insecure)" >> /etc/exports
mkdir -p /exports/metering/hive-metastore
chmod -R 777 /exports/metering/hive-metastore
chown -R nfsnobody:nfsnobody /exports/metering/hive-metastore
echo "/exports/metering *.yourcluster.domain.com(rw,sync,no_wdelay,root_squash,insecure)" >> /etc/exports
exportfs -rv
```

Expand Down
2 changes: 1 addition & 1 deletion operator/metering/hive-metastore-db-data.pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ spec:
capacity:
storage: 5Gi
nfs:
path: /exports/metering-hive
path: /exports/metering/hive-metastore
server: 1.2.3.4
persistentVolumeReclaimPolicy: Retain
2 changes: 1 addition & 1 deletion operator/metering/metering-volume.pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ spec:
capacity:
storage: 5Gi
nfs:
path: /exports/metering
path: /exports/metering/metering-data
server: 1.2.3.4
persistentVolumeReclaimPolicy: Retain

0 comments on commit 438c1e6

Please sign in to comment.