Helm 2 in-cluster code: "context deadline exceeded"

1/18/2020

Using Helm and Tiller 2.16, I have been trying to Ping a tiller server:

client := helm.NewClient(helm.Host("tiller-deploy"))
if err := client.PingTiller(); err != nil {
    panic(err)
}
// panic: context deadline exceeded

I am able to use telnet on that tiller server on 44134. However that piece of code is not running properly. tiller is running with cluster role cluster-admin and I am able to list the releases from the CLI. Unfortunately, as I run the code in Kubernetes, it is panicking. Do you think this is a permission issue?

-- Arkon
kubernetes
kubernetes-helm

0 Answers