Open guidoilbaldo opened 5 years ago
getPodNameFromDaemonSet: Unable to find a GlusterFS pod on host
You need to change the executor in the gk-deploy script, the default executor is kubernetes which will use the manage hostnames to look for the kubernetes nodes to determine where the glusterfs pods are running on.
Yep, that solved it! Thank you @drake7707 👍
Hello! Can I have your modified gk-deploy script? @guidoilbaldo
Yep, that solved it! Thank you @drake7707 👍
May I know what you fixed in the gk_deploy script?
If you provide the gk-deploy script a --ssh-keyfile it is supposed to switch from kubernetes executor to ssh executor. It may not be obvious but I don't think you need to modify the script.
Hi,
I'm trying to deploy heketi on our staging kube cluster (installed on CentOS VMs with rke) using gk-deploy script. We already have a GlusterFS cluster deployed on 4 separated nodes (with glusterd running and peer status fine) and each of those nodes have a dedicated disk for GlusterFS (/dev/sdb or /dev/vdb, depending on our virtualizator). Below you can find our topology.json file:
We used IPs both for manage and storage fields because nodes are external from kubernetes cluster. We haven't created block devices on gluster servers as heketi doc specified that they should be left untouched. Here's the output of glusterd status on one of the above nodes:
All kube nodes have access to gluster ones on ports 22, 24007 and 49152-49251 as suggested by gk-deploy script, as well as my local machine running gk-deploy script (we manage kube cluster locally with kubectl). Below there's the output of gk-deploy run:
And also heketi logs from kube:
I don't understand if gk-deploy is trying to look for gluster pods on those nodes and it fails or why it couldn't connect to glusterd daemon running on port 24007. Help would be much appreciated.