Skip to content

Conversation

@superseb
Copy link
Contributor

No description provided.

services:
foo:
image: alpine
stdin_open: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@LLParse
Copy link
Contributor

LLParse commented Jul 21, 2017

LGTM

* **NFS Version**: The NFS version to use, current used version is 4.
* **Mount Option**: Comma delimited list of default mount options, for example: 'proto=udp'. Do not specify `nfsvers` option, it will be ignored.
* **Mount Options**: Comma delimited list of default mount options, for example: 'proto=udp'. Do not specify `nfsvers` option, it will be ignored.
* **On Remove**: On removal of Rancher NFS volume, should the underlying data be retained or purged. Default is `purge`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add in what are the 2 options we support? purge and retain? Also, can you note that it's only as of Rancher v1.6.6+ (that's where the NFS version will be made available).

* **Export** - (`export`): When the volume is configured with the host and export, no subfolder is created; the root export directory is mounted.
* **Export Base** - (`exportBase`): By default, the volume can be configured with the host and export base, which creates a uniquely named subfolder on the NFS server.
* **Mount Options** - (`mntOptions`): Comma delimited list of default mount options.
* **On Remove** - (`onRemove`): On removal of Rancher NFS volume, should the underlying data be retained or purged.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as what the options and what version it's introduced into.

@superseb
Copy link
Contributor Author

Ok, please check @deniseschannon

@superseb
Copy link
Contributor Author

@LLParse Please double check, added some more examples on host, exportBase and export, thanks.

@LLParse
Copy link
Contributor

LLParse commented Jul 24, 2017

The new examples look good.

IMO we should not even provide an example for export because it is legacy and doesn't solve any specific use case.

@superseb
Copy link
Contributor Author

Ok, removed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants