Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment of Magda using kubernetes fails #2

Open
svwhcx opened this issue Apr 26, 2024 · 2 comments
Open

Deployment of Magda using kubernetes fails #2

svwhcx opened this issue Apr 26, 2024 · 2 comments

Comments

@svwhcx
Copy link

svwhcx commented Apr 26, 2024

I am using helm in the tutorial document to deploy magda, but the following problem keeps appearing:
ready.go:284: [debug] PersistentVolumeClaim is not bound: magda/magda-minio
The kubernetes version used is the latest: 1.29.3. Is this related to the version? I checked pv and pvc and they are normal, I can't determine what the error is.

@svwhcx
Copy link
Author

svwhcx commented Apr 26, 2024

More detailed error message:
no persistent volumes available for this claim and no storage class is set
I directly used the helm repository of the container image to build it. I don’t know how to change this error.

@t83714
Copy link
Contributor

t83714 commented Jul 15, 2024

@svwhcx by default, the PersistentVolumeClaim will request a volume with default storage class:

https://kubernetes.io/docs/concepts/storage/persistent-volumes/#dynamic

Not sure your cluster config. You can list all storage class to see if any one is set to default?
If not, you might want to set one storage class to default?

Alternatively, you can specify the storage class via config magda.magda-core.storage-api.minio.persistence.storageClass

https://github.com/magda-io/minio-charts/blob/14277b8128ed37eb39fdc6f156de3cd5d6a2cf3c/minio/values.yaml#L111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants