docker / compose-on-kubernetes

Deploy applications described in Compose onto Kubernetes clusters
Apache License 2.0
1.42k stars 159 forks source link

Installation problem #158

Closed stefaner1 closed 3 years ago

stefaner1 commented 4 years ago

When trying to install it on Ubuntu with microk8s I try to use this command, but it doesn't work: ./installer-[darwin|linux|windows.exe] -namespace=compose -etcd-servers=http://compose-etcd-client:2379

This doesn't work too: ./installer-linux -namespace=compose -etcd-servers=http://compose-etcd-client:2379

Do I miss sth?

ebeltran1981 commented 4 years ago

@stefaner1 I am having the same issue. Looking at the compose/compose-api pods, they are logging an error: W0318 20:36:44.333026 1 clientconn.go:1120] grpc: addrConn.createTransport failed to connect to {http://compose-etcd-client:2379 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup compose-etcd-client on 10.152.183.10:53: no such host". Reconnecting...

I've tried replacing the compose-etcd-client with localhost or 127.0.0.1 and doesnt work either.

did you figure it out?

stefaner1 commented 4 years ago

They fixed It here: #151

Run installer-[darwin|linux|windows.exe] --namespace=compose --etcd-servers=http://compose-etcd-client:2379

But it looks like it all buggy. I couldn't make it to the end of installation.

ebeltran1981 commented 4 years ago

@stefaner1 I got it figure it out.

here, in the instructions to install etcd, the Option 1 says is only for evaluation; apparently that is the service the http://compose-etcd-client:2379 is trying to hit. After I did that, it started working.

image

This is my setup:

hope this helps.

Now I will try to deploy a compose using docker 😅

chris-crone commented 3 years ago

Hi! Thanks for your feedback. Unfortunately we're no longer maintaining this repository so I will close this issue.