Skip to content

Commit 9cfddcb

Browse files
authored
doc: longhorn default storage class (#747)
* doc: longhorn default storage class * fix refence and remove dups
1 parent 61366f7 commit 9cfddcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/storage-longhorn.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,13 @@ kubectl label --overwrite namespace longhorn-system \
132132

133133
With your values file in place, you can now deploy Longhorn using the `helm upgrade --install` command. This command will install Longhorn if it is not
134134
installed yet, or upgrade it if an older version is already present. The `--create-namespace` flag ensures the namespace is created if it does not exist.
135+
The --set persistence.defaultClass=false ensures that the lognhorn storage class is not set as the default.
135136

136137
``` shell
137138
helm upgrade --install longhorn longhorn/longhorn \
138139
--namespace longhorn-system \
139140
--create-namespace \
141+
--set persistence.defaultClass=false \
140142
-f /etc/genestack/helm-configs/longhorn.yaml
141143
```
142144

0 commit comments

Comments
 (0)