Open mikemybytes opened 4 years ago
Hi, the same issue here, I'll try to fight with JWT token,
I follow the doc here: https://github.com/gluster/gluster-kubernetes
even if I set use "_auth = false" in heketi.json, i've got the "Invalid JWT token"
edit: i found a 'workaround' edit the heketi deployment
and add the declaration below in container spec
command: ["/usr/bin/heketi"] args: ["--config=/etc/heketi/heketi.json", "--disable-auth"]
Hey @mjkowalski did that workaround fix your issue?
facing the same issue with glusterFS on minikube
@tbox1911 I meet the same issue, but how to edit the heketi deployment in minikube? Thanks.
hi,
kubectl -n storage-gluster scale deployment heketi --replicas=0 kubectl -n storage-gluster edit deployment heketi
(...) spec: containers:
kubectl -n storage-gluster scale deployment heketi --replicas=1
you may have to reload topology from heketi pod heketi-cli topology load --json=/etc/heketi/topology/minikube.json
@priyawadhwa proposed workaround allows to bound PVC successfully. However, I'd say it does not solve the issue.
IMO, the main question is: is that expected behavior? If so, Minikube Gluster addon README has to be updated accordingly (I think I could even create a PR for that π). If it's not, then there is still something wrong with the default configuration of the heketi deployment, so the issue stands still.
BTW the description from @tbox1911 works like a charm (and yes, topology reload seems to be required)
I'm afraid the minikube maintainer team doesn't have anyone knowledgeable in gluster at the moment. Is anyone willing to help us to improve the gluster add-on so that this is no longer an issue?
I don't think there is much to it other than the YAML that's provisioned at the moment: https://github.com/kubernetes/minikube/tree/master/deploy/addons/storage-provisioner-gluster
Help wanted!
Hi, I'll be glad to help. I have been working with Gfs and minikube for a while I think I can fix this issue with this addon see you :)
/assign
Steps to reproduce the issue: Following the instructions described on storage-provisioner-gluster docs:
minikube start --driver=virtualbox --kubernetes-version=v1.18.3
(fails on k8sv1.15.5
as well)minikube addons enable storage-provisioner-gluster
pvc.yaml
file with the following content (copied from here)minikube kubectl -- apply -f pvc.yaml
minikube kubectl -- get pvc -A
- observewebsite
PVC stuck in thePending
stateminikube kubectl -- describe pvc website
Full output of failed command:
Full output of
minikube start
command used:Full output of
minikube logs
command:minikube logs