monocular icon indicating copy to clipboard operation
monocular copied to clipboard

What exactly is tiller-deploy?

Open erdeanmich opened this issue 7 years ago • 5 comments

Hi everybody! I installed monocular on openshift and after the installation the logs said something like: "Monocular expects tiller-deploy to be found in namespace tiller".

I installed tiller using this guide https://blog.openshift.com/getting-started-helm-openshift/ and it generated only a service named "tiller".

Monocular itself runs quite fine, but I cannot install any Helm Chart. The logs of the monocular api pod are showing the following error:
grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp: lookup tiller-deploy.tiller: no such host"; Reconnecting to {tiller-deploy.tiller:44134 }

Now I am confused: What exactly is tiller-deploy? Where does it come from / how is it generated?

With kind regards, erdeanmich

erdeanmich avatar Jul 27 '18 11:07 erdeanmich

For me the Service is called tiller-deploy, what version of Helm are you using?

prydonius avatar Jul 27 '18 21:07 prydonius

Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

erdeanmich avatar Aug 01 '18 07:08 erdeanmich

@erdeanmich When you run kubectl get service -n kube-system do you see a tiller-deploy service?

kylehodgetts avatar Aug 01 '18 15:08 kylehodgetts

@kylehodgetts actually I don't see it

erdeanmich avatar Aug 02 '18 07:08 erdeanmich

Hey, the reason is, that the instructions you use use an openshift template to deploy tiller but that template does not deploy a service for it.

you can do that manually with the following openshift service definition. Just create that resource in the same project/namespace where you installed tiller.

{
    "apiVersion" : "v1",
    "kind" : "Service",
    "metadata" : {
      "annotations" : {
      },
      "labels" : {
        "expose" : "true",
        "app" : "tiller"
      },
      "name" : "tiller-deploy"
    },
    "spec" : {
      "ports" : [ {
        "name" : "http",
        "port" : 44134,
        "protocol" : "TCP",
        "targetPort" : 44134
      } ],
      "selector" : {
        "app" : "helm",
        "name" : "tiller"
      }
    },
    "serviceAccountName": "tiller"
  }

MarWestermann avatar Aug 02 '18 10:08 MarWestermann