Skip to content
Snippets Groups Projects
Commit 6a15955d authored by Calliope's avatar Calliope Committed by Derek Su
Browse files

Repair code example in storageClass description.

I copied this example and had a really rough go as a kubernetes beginner; I needed a custom storageClass for the RabbitMQ operator.

So my pods were broken for a long while, until I changed my storageClass to match the other `local-path` storageClass already enabled in my cluster. This `rancher.io/local-path` seems to be the key to an easy deployment of custom storageClasses.
parent cf3be50b
No related branches found
No related tags found
No related merge requests found
...@@ -277,7 +277,7 @@ apiVersion: storage.k8s.io/v1 ...@@ -277,7 +277,7 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
metadata: metadata:
name: ssd-local-path name: ssd-local-path
provisioner: cluster.local/local-path-provisioner provisioner: rancher.io/local-path
parameters: parameters:
nodePath: /data/ssd nodePath: /data/ssd
volumeBindingMode: WaitForFirstConsumer volumeBindingMode: WaitForFirstConsumer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment