Code Monkey home page Code Monkey logo

Comments (5)

var-log-skynet avatar var-log-skynet commented on September 13, 2024 1

Thank you for your feedback! I managed to get around this by setting the glusterfs storage (named slow) as default, and then issuing the original command without setting the storageclass. This is however just a workaround, someone having multiple storageclasses might experience the same.

Btw. the statefulsets had always been created during the previous attempts (when setting the storagecalss name), but they had always stayed in a pending state, and then had been deleted (because of the --atomic switch)

from helm.

rubenhak avatar rubenhak commented on September 13, 2024

Could you query the Statefulset kubevious-mysql like this:

kubectl get statefulset kubevious-mysql -n kubevious -o yaml

is there any chance you did the deployment once without setting the class and the persistent volume got created with the default storage class?

from helm.

var-log-skynet avatar var-log-skynet commented on September 13, 2024

This is a new new deployment, so there is no statefulset to query. Also there is no existing pv. I have a glusterfs cluster with dynamic provisioning, so the pvc with a named storageclass should be sufficient to create the pv (?). Doesn't the meassage no persistent volumes available for this claim and no storage class is set indicate, that the -set mysql.storageClass=slow parameter is not being passed?

from helm.

kubevious avatar kubevious commented on September 13, 2024

This is a new new deployment, so there is no statefulset to query. Also there is no existing pv. I have a glusterfs cluster with dynamic provisioning, so the pvc with a named storageclass should be sufficient to create the pv (?). Doesn't the meassage no persistent volumes available for this claim and no storage class is set indicate, that the -set mysql.storageClass=slow parameter is not being passed?

There should be StatefulSet created, because the data-kubevious-mysql-0 PVC is created because of the volumeClaimTemplates setting. See here:
https://github.com/kubevious/helm/blob/master/kubernetes/templates/mysql/statefulset.yaml#L80-L91

For debugging you issue we first need to make sure that the mysql.storageClass=slow setting was indeed applied to the StatefulSet.

from helm.

rubenhak avatar rubenhak commented on September 13, 2024

@leftbrake, sometimes such issues are easier to debug in a Slack channel. Feel free to join if we don't find a solution quickly here.

from helm.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.