Merge pull request #277 from democratic-csi/next

fix bad reference, update docs
This commit is contained in:
Travis Glenn Hansen 2023-02-25 08:17:24 -07:00 committed by GitHub
commit 6fbafa6e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 226 additions and 515 deletions

View File

@ -1,3 +1,10 @@
# v1.8.1
Released 2023-02-25
- minor fixes
- updated `nvmeof` docs
# v1.8.0
Released 2023-02-23

View File

@ -24,6 +24,7 @@ have access to resizing, snapshots, clones, etc functionality.
- `freenas-api-smb` experimental use with SCALE only (manages zfs datasets to share over smb)
- `zfs-generic-nfs` (works with any ZoL installation...ie: Ubuntu)
- `zfs-generic-iscsi` (works with any ZoL installation...ie: Ubuntu)
- `zfs-generic-smb` (works with any ZoL installation...ie: Ubuntu)
- `zfs-generic-nvmeof` (works with any ZoL installation...ie: Ubuntu)
- `zfs-local-ephemeral-inline` (provisions node-local zfs datasets)
- `zfs-local-dataset` (provision node-local volume as dataset)
@ -202,12 +203,19 @@ nvme-fc
nvme-rdma
EOF
# nvme has native multipath or can use DM multipath.
# load the modules immediately
modprobe nvme
modprobe nvme-tcp
modprobe nvme-fc
modprobe nvme-rdma
# nvme has native multipath or can use DM multipath
# democratic-csi will gracefully handle either configuration
# RedHat recommends DM multipath (nvme_core.multipath=N)
cat /sys/module/nvme_core/parameters/multipath
# kernel arg to enable/disable native multipath
nvme_core.multipath=Y
nvme_core.multipath=N
```
### zfs-local-ephemeral-inline
@ -442,6 +450,20 @@ passwd smbroot (optional)
smbpasswd -L -a smbroot
####### nvmeof
# ensure nvmeof target modules are loaded at startup
cat <<EOF > /etc/modules-load.d/nvmet.conf
nvmet
nvmet-tcp
nvmet-fc
nvmet-rdma
EOF
# load the modules immediately
modprobe nvmet
modprobe nvmet-tcp
modprobe nvmet-fc
modprobe nvmet-rdma
# install nvmetcli and systemd services
git clone git://git.infradead.org/users/hch/nvmetcli.git
cd nvmetcli
@ -475,14 +497,6 @@ systemctl daemon-reload
systemctl enable --now nvmet.service
systemctl status nvmet.service
# ensure nvmeof target modules are loaded at startup
cat <<EOF > /etc/modules-load.d/nvmet.conf
nvmet
nvmet-tcp
nvmet-fc
nvmet-rdma
EOF
# create the port(s) configuration manually
echo "
cd /

696
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "democratic-csi",
"version": "1.8.0",
"version": "1.8.1",
"description": "kubernetes csi driver framework",
"main": "bin/democratic-csi",
"scripts": {

View File

@ -846,7 +846,7 @@ save_config filename=${this.options.nvmeof.shareStrategySpdkCli.configPath}
if (
_.get(this.options, "iscsi.shareStrategyTargetCli.sudoEnabled", false)
) {
targetCliArgs.unshift("sudo");
cliArgs.unshift("sudo");
}
let cliCommand = [];