Skip to content
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

Helm on Termux Android #4610

Closed
luisdavim opened this issue Sep 8, 2018 · 5 comments
Closed

Helm on Termux Android #4610

luisdavim opened this issue Sep 8, 2018 · 5 comments

Comments

@luisdavim
Copy link
Contributor

I'm trying to run helm on termux usin the arm64 build and it can't do any name resolution. I can use kubectl to reach the cluster.

$ helm init --client-only
Creating /data/data/com.termux/files/home/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp: lookup kubernetes-charts.storage.googleapis.com on [::1]:53: read udp [::1]:60396->[::1]:53: read: connection refused

Output of helm version:

$ helm version
Client: &version.Version{SemVer:"v2.11.0-rc.1", GitCommit:"3a551d01d8e021679fd3d05ef9b97136e99b79e7", GitTreeState:"clean"}
Error: Get https://api.flow.dub.rd2.thingworx.io/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp: lookup api.flow.dub.rd2.thingworx.io on [::1]:53: read udp [::1]:48238->[::1]:53: read: connection refused

Output of kubectl version:

$ kubectl version
Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.0.0-master+$Format:%h$", GitCommit:"$Format:%H$", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.11", Compiler:"gc", Platform:"android/arm64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:34:22Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Gardener shoot

@luisdavim luisdavim changed the title Helm on Android Helm on Termux Android Sep 8, 2018
@jascott1
Copy link
Contributor

Hi @luisdavim

Not sure why the issue would be ARM dependent. Can you run another simple ARM container, exec into it and test the name resolution?

@bacongobbler
Copy link
Member

I'm going to close this ticket due to inactivity, but please re-open if this still needs to be addressed. Thanks!

@yuliyantsvetkov
Copy link

/reopen

@yuliyantsvetkov
Copy link

I am experiencing absolutely the same behavior while the arm64 works fine, but there is no DNS resolution. What I see is that the binary tries to call the DNS server over IPv6 proto.

@yuliyantsvetkov
Copy link

Here is output from helm list --debug. I am running 3.3.0-rc2 release.

Kubernetes cluster unreachable
helm.sh/helm/v3/pkg/kube.(*Client).IsReachable
        /home/circleci/helm.sh/helm/pkg/kube/client.go:101
helm.sh/helm/v3/pkg/action.(*List).Run
        /home/circleci/helm.sh/helm/pkg/action/list.go:141
main.newListCmd.func1
        /home/circleci/helm.sh/helm/cmd/helm/list.go:79
github.com/spf13/cobra.(*Command).execute
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
        /home/circleci/helm.sh/helm/cmd/helm/helm.go:93
runtime.main
        /usr/local/go/src/runtime/proc.go:203
runtime.goexit
        /usr/local/go/src/runtime/asm_arm64.s:1148```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants