...
Add the LH Helm repository and Fetch and fetch the latest charts from the repository
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
kubectl create namespace longhorn-system helm install longhorn longhorn/longhorn --namespace longhorn-system |
The initial settings for Longhorn can be customized using Helm options or by editing the deployment configuration file. To obtain a copy of the values.yaml file
| Code Block | ||||
|---|---|---|---|---|
| ||||
$ helm show values longhorn/longhorn > values.yaml # Modify the default settings in the YAML file and then add flag "--values values.yaml" in the install command $ helm install longhorn longhorn/longhorn --namespace longhorn-system --values values.yaml |
To confirm that the deployment succeeded, run
| Code Block | ||||
|---|---|---|---|---|
| ||||
$ kubectl -n longhorn-system get pod NAME READY STATUS RESTARTS AGE compatible-csi-attacher-d9fb48bcf-2rzmb 1/1 Running 0 8m58s csi-attacher-78bf9b9898-grn2c 1/1 Running 0 32s csi-attacher-78bf9b9898-lfzvq 1/1 Running 0 8m59s csi-attacher-78bf9b9898-r64sv 1/1 Running 0 33s csi-provisioner-8599d5bf97-c8r79 1/1 Running 0 33s csi-provisioner-8599d5bf97-fc5pz 1/1 Running 0 33s csi-provisioner-8599d5bf97-p9psl 1/1 Running 0 8m59s csi-resizer-586665f745-b7p6h 1/1 Running 0 8m59s csi-resizer-586665f745-kgdxs 1/1 Running 0 33s csi-resizer-586665f745-vsvvq 1/1 Running 0 33s engine-image-ei-e10d6bf5-pv2s6 1/1 Running 0 9m30s instance-manager-e-379373af 1/1 Running 0 8m41s instance-manager-r-101f13ba 1/1 Running 0 8m40s longhorn-csi-plugin-7v2dc 4/4 Running 0 8m59s longhorn-driver-deployer-775897bdf6-k4sfd 1/1 Running 0 10m longhorn-manager-79xgj 1/1 Running 0 9m50s longhorn-ui-9fbb5445-httqf 0/1 Running 0 33s |
...