gluster / gluster-kubernetes

GlusterFS Native Storage Service for Kubernetes
Apache License 2.0
875 stars 389 forks source link

Update gk-deploy #598

Open eliezerchavez opened 5 years ago

eliezerchavez commented 5 years ago

kubectl -n storage get pod --no-headers --show-all --selector="heketi" | awk '{print $1}'
Error: unknown flag: --show-all

This issue doesn't allow the setup completes successfully.


This change is Reviewable

centos-ci commented 5 years ago

Can one of the admins verify this patch?

oruchreis commented 5 years ago

I created pods in a custom namespace other than default. So I've changed the line with "--all-namespaces". And I'm getting ip:port from endpoints because show-all is not supported anymore:

kubectl get endpoints --no-headers -o wide --all-namespaces | grep 'heketi ' | awk '{print $2}'