hyperhq / docs.hypernetes.com

Hypernetes documentation.
https://docs.hypernetes.com
Apache License 2.0
19 stars 7 forks source link

About hyper‘s multi-tenant #6

Open keontang opened 7 years ago

keontang commented 7 years ago

How does hyper achieve multi-tenant? One tenant one hypernetes cluster?

feiskyer commented 7 years ago

Nope, all tenants are sharing same hypernetes cluster. hypernetes manages tenant via openstack keystone and creates a L2-isolated network for each tenant.

keontang commented 7 years ago

OK, now i see that one tenant just has several k8s namespace. And for service, shall we set lbaas's ip according to service's vip?

feiskyer commented 7 years ago

Hypernetes will set service's external IP according to lbaas's floating ip.

keontang commented 7 years ago

How about cluster ip?It will be set according to lbaas's vip?

feiskyer commented 7 years ago

cluster ip is load balanced via haproxy (or ipvs for latest version). it's not in the same subnet of lbaas's vip. Please visit https://docs.hypernetes.com/user-guide/user-guide.html for usage.

keontang commented 7 years ago

I wander to know if each tenant will have a haproxy for cluster ip.

feiskyer commented 7 years ago

there is a haproxy for each pod before hypernetes v1.3, but we have switched it to ipvs (inside each VM) in latest version.

keontang commented 7 years ago

I am more confused, hypernetes just used openstack keystone, neutron and cinder but not nova, where did vm come from? Does hypercontainer run on vm?