summaryrefslogtreecommitdiffstats
path: root/roles/kube_nfs_volumes/defaults/main.yml
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2015-05-20 11:40:35 +0200
committerJan Safranek <jsafrane@redhat.com>2015-05-20 11:40:35 +0200
commit98acbb6d24921ded065fca3b57943ef1ae7fb15f (patch)
tree17571cd1d1ef49cc81b9dcd8f1684ff65c30e37f /roles/kube_nfs_volumes/defaults/main.yml
parent8dedb32348549d8aa279201cfb89c50d5dc83ba5 (diff)
downloadopenshift-98acbb6d24921ded065fca3b57943ef1ae7fb15f.tar.gz
openshift-98acbb6d24921ded065fca3b57943ef1ae7fb15f.tar.bz2
openshift-98acbb6d24921ded065fca3b57943ef1ae7fb15f.tar.xz
openshift-98acbb6d24921ded065fca3b57943ef1ae7fb15f.zip
Add nfs-volumes role.
This role is useful to use (physical) disks as persistent volumes in Kubernetes. It partitions the disks, exports the partitions as NFS shares and registers the shares as physical volumes at remote Kubernetes installation.
Diffstat (limited to 'roles/kube_nfs_volumes/defaults/main.yml')
-rw-r--r--roles/kube_nfs_volumes/defaults/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/kube_nfs_volumes/defaults/main.yml b/roles/kube_nfs_volumes/defaults/main.yml
new file mode 100644
index 000000000..e296492f9
--- /dev/null
+++ b/roles/kube_nfs_volumes/defaults/main.yml
@@ -0,0 +1,10 @@
+---
+# Options of NFS exports.
+nfs_export_options: "*(rw,no_root_squash,insecure,no_subtree_check)"
+
+# Directory, where the created partitions should be mounted. They will be
+# mounted as <mount_dir>/sda1 etc.
+mount_dir: /exports
+
+# Force re-partitioning the disks
+force: false