Closed randy-girard closed 6 years ago
Most likely you did not install etcd before installing the chart. (I can see now that it lacks instructions in the readme)
basically you need to install etcd, and set the location in the chart values
Yea, I just noticed that in the logs
etcd cluster is unavailable or misconfigured
I'll try that and see how it goes. Thanks!
I think I got it all up and running now but still not sure how to connect from locally.
# psql -h estranged-panther-stolon-keeper.minikube
psql: could not connect to server: Host is down
Is the server running on host "estranged-panther-stolon-keeper.minikube" (192.168.99.100) and accepting
TCP/IP connections on port 5432?
I got it figured out. Had to create a NodePort.
How should I install etcd? Just as simple as brew install etcd
?
I get the same result:
$psql --host $(minikube ip) --port 30543 postgres -U postgres -W
psql: could not connect to server: Connection refused
Is the server running on host "192.168.99.114" and accepting
TCP/IP connections on port 30543?
While I created the NodePort with the following yml file:
apiVersion: v1
kind: Service
metadata:
name: stolon-proxy-service
spec:
type: NodePort
ports:
- port: 5432
nodePort: 30543
selector:
component: release-name-stolon-proxy
I just installed with:
this and see the following:
It appears they are not ready?
Also I cannot connect to the keeper. How do I set up my connection string?
From the kubernetes dashboard I see this for the proxy pods:
I'm using dsnmasq on Mac:
Any help would be great. Thanks!