-
Notifications
You must be signed in to change notification settings - Fork 193
support nfs volumes #510
support nfs volumes #510
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "resource": { | ||
| "vcpu": 1, | ||
| "memory": 1024 | ||
| }, | ||
| "containers": [{ | ||
| "image": "ubuntu", | ||
| "volumes": [{ | ||
| "volume": "sharevolume", | ||
| "path": "/export", | ||
| "readOnly": false | ||
| }] | ||
| }], | ||
| "volumes": [{ | ||
| "name": "sharevolume", | ||
| "source": "192.168.80.72:/export", | ||
| "format": "nas", | ||
| "fstype": "nfs" | ||
| }] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "resource": { | ||
| "vcpu": 1, | ||
| "memory": 256 | ||
| }, | ||
| "containers": [{ | ||
| "image": "busybox", | ||
| "command": ["/bin/sh", "-c", "touch /export/foo"], | ||
| "volumes": [{ | ||
| "volume": "sharevolume", | ||
| "path": "/export", | ||
| "readOnly": false | ||
| }] | ||
| }], | ||
| "volumes": [{ | ||
| "name": "sharevolume", | ||
| "source": "NFSSERVER:/export", | ||
| "format": "nas", | ||
| "fstype": "nfs" | ||
| }] | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this pod file is useless?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was provided as an example of how to add an nfs volume to a pod.