-
Notifications
You must be signed in to change notification settings - Fork 53
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
Can not install Helm bitnami/mysql to storage class - seaweedfs-storage #89
Comments
please try to simplify everything to reproduce the problem. Just use |
it's not so easy to install MySQL the way Bitnami does. sorry if i have lack of knowledge. Comparing mount for all 3 storage classes,
gives
and for looks like mount options for is there a way to tell |
this should work, allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
meta.helm.sh/release-name: seaweedfs-csi-driver
meta.helm.sh/release-namespace: kube-system
storageclass.kubernetes.io/is-default-class: "true"
creationTimestamp: "2022-09-21T10:11:18Z"
labels:
app.kubernetes.io/managed-by: Helm
name: seaweedfs-storage
resourceVersion: "6447995"
uid: e568ae26-1be0-4817-a5e5-3cec32027387
mountOptions:
- rw,relatime
- user_id=1001,group_id=1001
provisioner: seaweedfs-csi-driver
reclaimPolicy: Delete
volumeBindingMode: Immediate
🚧 this piece of code is supposed to add options: mountOptions:
- rw,relatime
- user_id=1001,group_id=1001 should options be supplied in some different way ? |
Hello, Looks like the problem is in number of volumes, /usr/local/bin/weed server -ip=172.29.0.6 -ip.bind=0.0.0.0 -dir=/var/lib/weed \
-master.peers=172.29.0.6:9333,172.29.0.7:9333,172.29.0.8:9333 \
-dataCenter=dc1 -rack=rack1 -volume.max=3 -volume.port=8086 -filer=true \
-metricsPort=8088
Now things work. # Current command
/usr/local/bin/weed server -ip=172.29.0.6 -ip.bind=0.0.0.0 -dir=/var/lib/weed \
-master.peers=172.29.0.6:9333,172.29.0.7:9333,172.29.0.8:9333 \
-dataCenter=dc1 -rack=rack1 -volume.max=3000 -volume.port=8086 -filer=true \
-metricsPort=8088 I would like to kindly ask to indicate how can I guess a number of files which could be stored with if not, then why |
Hello !
I have 3 storage classes in Rancher RKE k8s cluster:
local-path
longhorn
seaweedfs-storage (default)
seaweedfs-storage
works and is tested.I've created containers, following the examples and attached storage.
The problem:
helm install -n tests-hdd mysql bitnami/mysql
installs well on
local-path
andlonghorn
,but freezes when installing on
seaweedfs-storage
with logs saying:
or in written form:
Please,
Give me an advice,
what would be the right workaround in such situations ?
The text was updated successfully, but these errors were encountered: