From 86cff4541b29c559200731ed55a332e6aa931b35 Mon Sep 17 00:00:00 2001 From: D1StrX Date: Fri, 24 Dec 2021 19:38:27 +0100 Subject: [PATCH] File reordering --- README.md | 30 ++++++++----------- .../{ => API with SSH}/freenas-iscsi.yaml | 0 examples/{ => API with SSH}/freenas-nfs.yaml | 0 examples/{ => API with SSH}/freenas-smb.yaml | 0 .../freenas-api-iscsi.yaml | 0 .../freenas-api-nfs.yaml | 0 .../freenas-api-smb.yaml | 0 7 files changed, 12 insertions(+), 18 deletions(-) rename examples/{ => API with SSH}/freenas-iscsi.yaml (100%) rename examples/{ => API with SSH}/freenas-nfs.yaml (100%) rename examples/{ => API with SSH}/freenas-smb.yaml (100%) rename examples/{ => API without SSH}/freenas-api-iscsi.yaml (100%) rename examples/{ => API without SSH}/freenas-api-nfs.yaml (100%) rename examples/{ => API without SSH}/freenas-api-smb.yaml (100%) diff --git a/README.md b/README.md index 6ac9a53..b0f3033 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Predominantly 3 prerequisites are needed: ## **Node preperation** Alright, you have chosen your driver. Let's start by configuring the prerequisites for your Node. -You can choose to use either NFS or iSCSI or both. +You can choose to use either **NFS** or **iSCSI** or **both**. ### **NFS configuration** ___ @@ -64,7 +64,7 @@ ___ ``` sudo yum install -y nfs-utils ``` -___ +  **Ubuntu / Debian** ``` sudo apt-get install -y nfs-common @@ -73,7 +73,7 @@ sudo apt-get install -y nfs-common ### **iSCSI configuration** ___ - **RHEL / CentOS** +**RHEL / CentOS**  Install the following system packages: ``` sudo yum install -y lsscsi iscsi-initiator-utils sg3_utils device-mapper-multipath @@ -92,21 +92,18 @@ sudo systemctl enable iscsi && sudo systemctl start iscsi ```
- **Ubuntu / Debian** +**Ubuntu / Debian**  Install the following system packages: ``` sudo apt-get install -y open-iscsi lsscsi sg3-utils multipath-tools scsitools ``` **Multipathing** -`Multipath` is supported for the `iSCSI`-based drivers. Simply setup multipath to your liking and set multiple -portals in the config as appropriate. - -*NOTE:* If you are running Kubernetes with Rancher/RKE please see the following: -[Support host iscsi simultaneously with kubelet iscsi (pvc)](https://github.com/rancher/rke/issues/1846>) - + `Multipath` is supported for the `iSCSI`-based drivers. Simply setup multipath to your liking and set multiple portals in the config as appropriate. + *NOTE:* If you are running Kubernetes with Rancher/RKE please see the following: + [Support host iscsi simultaneously with kubelet iscsi (pvc)](https://github.com/rancher/rke/issues/1846>)
-Add the mutlipath configuration: + Add the mutlipath configuration: ``` sudo tee /etc/multipath.conf <<-'EOF' defaults { @@ -141,14 +138,11 @@ Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Param ### **ZFS-local-ephemeral-inline** This `driver` provisions node-local ephemeral storage on a per-pod basis. Each -node should have an identically named zfs pool created and avaialble to the +node should have an identically named ZFS pool created and avaialble to the `driver`. -*NOTE:* this is *NOT* the same thing as using the docker zfs storage +*NOTE:* This is *NOT* the same thing as using the docker ZFS storage driver (although the same pool could be used). No other requirements are -necessary. - -- [Pod Inline Volume Support](https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html) - +necessary. More regarding to this can be found here: [Pod Inline Volume Support](https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html)
@@ -174,7 +168,7 @@ following known issues: **API with the usage of SSH** Ensure the following services are configurged and running: -  » **SSH** +  »   **SSH** * if you use a password for authentication make sure it is allowed * Ensure `ZSH`, `BASH`, or `SH` is set as the root shell, `CSH` gives false errors due to quoting diff --git a/examples/freenas-iscsi.yaml b/examples/API with SSH/freenas-iscsi.yaml similarity index 100% rename from examples/freenas-iscsi.yaml rename to examples/API with SSH/freenas-iscsi.yaml diff --git a/examples/freenas-nfs.yaml b/examples/API with SSH/freenas-nfs.yaml similarity index 100% rename from examples/freenas-nfs.yaml rename to examples/API with SSH/freenas-nfs.yaml diff --git a/examples/freenas-smb.yaml b/examples/API with SSH/freenas-smb.yaml similarity index 100% rename from examples/freenas-smb.yaml rename to examples/API with SSH/freenas-smb.yaml diff --git a/examples/freenas-api-iscsi.yaml b/examples/API without SSH/freenas-api-iscsi.yaml similarity index 100% rename from examples/freenas-api-iscsi.yaml rename to examples/API without SSH/freenas-api-iscsi.yaml diff --git a/examples/freenas-api-nfs.yaml b/examples/API without SSH/freenas-api-nfs.yaml similarity index 100% rename from examples/freenas-api-nfs.yaml rename to examples/API without SSH/freenas-api-nfs.yaml diff --git a/examples/freenas-api-smb.yaml b/examples/API without SSH/freenas-api-smb.yaml similarity index 100% rename from examples/freenas-api-smb.yaml rename to examples/API without SSH/freenas-api-smb.yaml