Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Workaround kubernetes / zookeeper gaps #1

Closed
iocanel opened this issue Jan 12, 2015 · 2 comments
Closed

Workaround kubernetes / zookeeper gaps #1

iocanel opened this issue Jan 12, 2015 · 2 comments

Comments

@iocanel
Copy link
Member

iocanel commented Jan 12, 2015

ZooKeeper assumes that for each zookeeper server the election and the peer port use the same host ip.
On the other hand later versions of kubernetes use dedicated internal ip per service.

So the current image is not usable under later kubernetes versions.

It would be awesome if we could have a workaround this limitation until kubernetes/kubernetes#1802 is resolved.

The easiest workaround would be to use port mapping of local ports to the actual server ports.

@mulloymorrow
Copy link
Contributor

+1

@iocanel
Copy link
Member Author

iocanel commented Mar 26, 2015

fwiw, the issue has been solved by using socat so that peer service host and election service host, can be unified under localhost, which pretty much solves the problem.

@iocanel iocanel closed this as completed Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants