checked in pvc names don't match anticipated pvc names in minikube

Environment

windows minikube version: v1.6.2 helm version: v3.6.3 vm-driver=virtualbox

Description

On my Windows machine, I'm running minikube using virtual box as the driver.

I've successfully mounted all my windows directory to minikube mount directory per 's instructions (albeit with changes to it to account for Windows directory structure.  I also had to specify the IP to get it to work)

minikube mount --ip 192.168.56.1 "C:\hpccdata:/mnt/hpccdata" --gid=10001 --uid=10000

 

Anyways, when installing the locafile, I noticed something with the pvc names

Using this command, I get the following structure:

 

Notice all the pvcs have the following structure:

component-localfile-hpcc-localfile.

 

Meanwhile, the system expects it to just be component-hpcc-locafile.  

 

Conclusion

None

Activity

Show:

Jacob Cobbett-Smith October 26, 2021 at 3:08 PM

NB: the example file (helm/examples/local/values-localfile.yaml) is just that an example.
It assumes (there is a comment in the local/README) that the chart was installed with helm install localfile,
but you can install with any name, if you capture the output and use that instead of the example.

Christopher Lo October 26, 2021 at 2:51 PM

That's exactly what I had to do.  Thank you for that!

Jacob Cobbett-Smith October 26, 2021 at 2:50 PM

>values-localfile.yaml sets the dalistorage pvc to dali-hpcc-localfile-pvc.

ok they are wrong, I will correct them.

However the recommended way to install is to capture the output from the hpcc-localfile (or other similar charts), and use that directly.
That way you can have you own hpcc-localfile values file, that for example adds your own planes/specs. and use the hpcc-localfile , without relying on the static (out of sync) values-localfile.yaml

Christopher Lo October 26, 2021 at 2:47 PM

So to clarify, values-localfile.yaml sets the dalistorage pvc to dali-hpcc-localfile-pvc.  However, when I go to install the cluster, dali won't actually start.  If I run kubectl describe pod [dalipod] mydali, it'll tell me that it's expecting the dalistorage pvc to be this instead: dali-localfile-hpcc-localfile-pvc  (I'm not exactly sure why this is the case and  was rather surprised by this as well)

 

Instead of installing mycluster with values-localfile.yaml, I had to override it with my own yaml that looks like this:

 

storage:
planes:

  • name: dali
    pvc: dali-localfile-hpcc-localfile-pvc
    prefix: "/var/lib/HPCCSystems/dalistorage"
    category: dali

  • name: dll
    pvc: dll-localfile-hpcc-localfile-pvc
    prefix: "/var/lib/HPCCSystems/queries"
    category: dll

  • name: sasha
    pvc: sasha-localfile-hpcc-localfile-pvc
    prefix: "/var/lib/HPCCSystems/sasha"
    category: sasha

  • name: data
    pvc: data-localfile-hpcc-localfile-pvc
    prefix: "/var/lib/HPCCSystems/hpcc-data"
    category: data

  • name: mydropzone
    pvc: mydropzone-localfile-hpcc-localfile-pvc
    prefix: "/var/lib/HPCCSystems/dropzone"
    category: lz

sasha:
wu-archiver:
plane: sasha
dfuwu-archiver:
plane: sasha

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Affects versions

Created October 14, 2021 at 2:04 PM
Updated October 29, 2021 at 2:24 PM
Resolved October 29, 2021 at 2:24 PM