How to use Helm with IPv6 disabled?

2/11/2020

Because of some network problems we had to disable the IPv6 on our bare metal cluster but after that helm install stopped working and I receive this error:

helm install stable/nginx-ingress --namespace=147

Error: release platypus failed: Get https://[::1]:6443/api/v1/namespaces/147/resourcequotas: dial tcp [::1]:6443: connect: cannot assign requested address

I enabled the IPv6 again for a short time to be sure that this is related to the IPv6 and while it was enabled I was able to run helm install.

I tried different hosts for helm but they just hang:

helm ls --host 127.0.0.1
helm ls --host localhost
helm ls --host [IP-of-master]
helm ls --host [all-above]:6443

How I can make helm work while IPv6 is disabled?

-- AVarf
kubernetes
kubernetes-helm

0 Answers