Skip to content

Commit

Permalink
Fill in missing Longhorn installation details (suse-edge#421)
Browse files Browse the repository at this point in the history
* Add open-iscsi RPM requirement

Signed-off-by: Atanas Dinov <[email protected]>

* Add missing longhorn-crd chart install

Signed-off-by: Atanas Dinov <[email protected]>

---------

Signed-off-by: Atanas Dinov <[email protected]>
  • Loading branch information
atanasdinov authored Sep 30, 2024
1 parent 812dae4 commit 56ac459
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions asciidoc/components/longhorn.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ helm repo add rancher-charts https://charts.rancher.io/
helm repo update
----
+
. Install Longhorn in the longhorn-system namespace:
. Install Longhorn in the `longhorn-system` namespace:
+
[,shell]
----
helm install longhorn rancher-charts/longhorn --namespace longhorn-system --create-namespace --version 104.2.0+up1.7.1
helm install longhorn-crd rancher-charts/longhorn-crd --namespace longhorn-system --create-namespace --version 104.2.0+up1.7.1
helm install longhorn rancher-charts/longhorn --namespace longhorn-system --version 104.2.0+up1.7.1
----
+
. Confirm that the deployment succeeded:
Expand Down
10 changes: 10 additions & 0 deletions asciidoc/guides/air-gapped-eib-deployments.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,10 @@ operatingSystem:
users:
- username: root
encryptedPassword: $6$jHugJNNd3HElGsUZ$eodjVe4te5ps44SVcWshdfWizrP.xAyd71CVEXazBJ/.v799/WRCBXxfYmunlBO2yp1hm/zb4r8EmnrrNCF.P/
packages:
sccRegistrationCode: <reg-code>
packageList:
- open-iscsi
kubernetes:
version: v1.30.3+rke2r1
helm:
Expand Down Expand Up @@ -698,6 +702,12 @@ embeddedArtifactRegistry:
- name: longhornio/support-bundle-kit:v0.0.42
----

[NOTE]
====
You will notice that the definition file lists the `open-iscsi` package. This is necessary since Longhorn
relies on a `iscsiadm` daemon running on the different nodes to provide persistent volumes to Kubernetes.
====

Let's build the image:

[,shell]
Expand Down

0 comments on commit 56ac459

Please sign in to comment.