Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit bf3fe5f

Browse files
committed
add nfs volume podfile example
Signed-off-by: Peng Tao <[email protected]>
1 parent cff5984 commit bf3fe5f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

examples/nfs-volume.pod

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"resource": {
3+
"vcpu": 1,
4+
"memory": 1024
5+
},
6+
"containers": [{
7+
"image": "ubuntu",
8+
"volumes": [{
9+
"volume": "sharevolume",
10+
"path": "/export",
11+
"readOnly": false
12+
}]
13+
}],
14+
"volumes": [{
15+
"name": "sharevolume",
16+
"source": "192.168.80.72:/export",
17+
"format": "nas",
18+
"fstype": "nfs"
19+
}]
20+
}

0 commit comments

Comments
 (0)