From b6dd55b21c19601459e87dcd6cd17f39fbebc6cd Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Sat, 29 Sep 2018 20:16:35 -0500 Subject: [PATCH] Use loop4 instead of loop0 --- k8s/portworx.yaml | 6 +++--- slides/k8s/portworx.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/k8s/portworx.yaml b/k8s/portworx.yaml index 222a9a00..e968b5fe 100644 --- a/k8s/portworx.yaml +++ b/k8s/portworx.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://install.portworx.com/?kbver=1.11.2&b=true&s=/dev/loop0&c=px-workshop&stork=true&lh=true +# SOURCE: https://install.portworx.com/?kbver=1.11.2&b=true&s=/dev/loop4&c=px-workshop&stork=true&lh=true apiVersion: v1 kind: ConfigMap metadata: @@ -372,7 +372,7 @@ metadata: name: portworx namespace: kube-system annotations: - portworx.com/install-source: "https://install.portworx.com/?kbver=1.11.2&b=true&s=/dev/loop0&c=px-workshop&stork=true&lh=true" + portworx.com/install-source: "https://install.portworx.com/?kbver=1.11.2&b=true&s=/dev/loop4&c=px-workshop&stork=true&lh=true" spec: minReadySeconds: 0 updateStrategy: @@ -402,7 +402,7 @@ spec: image: portworx/oci-monitor:1.4.2.2 imagePullPolicy: Always args: - ["-c", "px-workshop", "-s", "/dev/loop0", "-b", + ["-c", "px-workshop", "-s", "/dev/loop4", "-b", "-x", "kubernetes"] env: - name: "PX_TEMPLATE_VERSION" diff --git a/slides/k8s/portworx.md b/slides/k8s/portworx.md index f959416f..dfdb7b86 100644 --- a/slides/k8s/portworx.md +++ b/slides/k8s/portworx.md @@ -128,7 +128,7 @@ - Associate the file to a loop device on each node: ```bash - for N in $(seq 1 5); do ssh node$N sudo losetup /dev/loop0 /portworx.blk; done + for N in $(seq 1 5); do ssh node$N sudo losetup /dev/loop4 /portworx.blk; done ``` ] @@ -168,7 +168,7 @@ way is to use https://install.portworx.com/. FYI, this is how we obtained the YAML file used earlier: ``` KBVER=$(kubectl version -o json | jq -r .serverVersion.gitVersion) -BLKDEV=/dev/loop0 +BLKDEV=/dev/loop4 curl https://install.portworx.com/1.4/?kbver=$KBVER&b=true&s=$BLKDEV&c=px-workshop&stork=true&lh=true ``` If you want to use an external key/value store, add one of the following: