Comments (6)
Hi,
Can you let us know how you are running kubernetes.
Are you using minikube or another method?
- Gurminder
from seldon-server.
Hi Gurminder,
I think my kubernet is not the minikube
I am running kubernets like these(one mater, and one minion, only using minion node to run docker containers):
master node:
(flannel network 172.17.0.0/16)
etcd, kube-apiserver, kube-controller-manager, kube-scheduler, and so on
minion node:
kube-proxy, kubelet, flannel(flannel network 172.17.28.0/24 (subnet), docker0: 172.17.28.1)
when running seldon-up.sh the services and pods created successfully,
there are three zookeeper pods, zookeeper-1, zookeeper-2, zookeeper-3
take zookeeper-1 for example, its cluster ip is 10.254.168.191 and endpoint address is 172.17.28.3
run cmd on master : kubectl exec zookeeper-1 -- bash -c "echo srvr | nc 172.17.28.3 2181"
I can get the message "This ZooKeeper instance is not currently serving requests"
on the minion node, I run the command, echo srvr | nc 10.254.168.191 2181 also get the reply
"This ZooKeeper instance is not currently serving requests"
this means that I can access the service via kube-proxy.
the problem is:
when I run command "kubectl exec zookeeper-2 -- bash -c "echo srvr | nc 10.254.168.191 2181"
there is no reply, this means that in zookeeper-2 cannot access the address 10.254.168.191
when I run command "kubectl exec zookeeper-2 -- bash -c "echo srvr | nc zookeeper-1 2181"
reply "cannot found hostname"
SO, my question is how can the zookeeper node communicate with each other?
Does there some iptables rule needed?
Another question, which seldon pods communicate with each other using kube-dns or using environment variable?
can you give me some guidethat you installed your kubernets?
thanks very much
from seldon-server.
Hi,
This looks like a dns issue.
The zookeeper servers are unable to find each other.
Latest version of kubernetes should have the dns service built in.
see http://kubernetes.io/docs/admin/dns/
Which version of kubernetes are you using?
from seldon-server.
Hi Gurminder,
thanks for you reply, I am using kubernets v1.2.0
Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.0", GitCommit:"ec7364b6e3b155e78086018aa644057edbe196e5", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.0", GitCommit:"ec7364b6e3b155e78086018aa644057edbe196e5", GitTreeState:"clean"}
Indeed, there are two problems, cannot know hostname might be dns problem, but when I using cluster ip address, still not work, there might be network routing problems.
By the way, the kube-dns is required by seldon, right?
Thanks very much again~
from seldon-server.
Hi,
kubernets v1.2.0 would not have the dns built in, you would to manually add that.
It would be best to use the latest version of kubernetes or at least v1.3.
from seldon-server.
@gsunner
Hi Gurminder,
Thank you very much for your help, I have fix the problem that zookeepers cannot communicate with each other by services ip address. Just add some rules in iptables can resolve it. It's the configuration problem of k8s. The only problem is kube-dns now, thanks
from seldon-server.
Related Issues (20)
- Import historic actions, and add to database. HOT 4
- JavaScript API has no 'value' parameter for 'action' ingestion.
- CORS: "Access-Control-Allow-Origin" HOT 1
- are we allowed to use multiple types for metadata? HOT 2
- Could not load [org.apache.zookeeper.server.ZooTrace] HOT 5
- Array of attributes for attributes HOT 1
- No dimensions for int and boolean attribute type HOT 5
- recommendation filtering by dimension with MF HOT 6
- user similarity
- end point for item based recommendation HOT 6
- kubernetes yamls should use Deployments not raw Pods HOT 3
- kubernetes yamls should utilize a default storage class HOT 2
- Custom prediction output HOT 1
- Error with seldon-cli, does kubectl 1.6.2 supported? HOT 9
- Python support HOT 7
- Seldon building on Kubernetes
- zookeeper cluster is not ready when deploying on kubernetes HOT 5
- ImagePullBackOff HOT 1
- configmap type volume gets mounted as EmptyDir
- start start-microservice raise MicroserviceError("failed to run seldon cli to create conf"+name) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seldon-server.