Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Integration with external Neutron-Server #173

Open
f0o opened this issue Jul 31, 2017 · 4 comments
Open

Integration with external Neutron-Server #173

f0o opened this issue Jul 31, 2017 · 4 comments

Comments

@f0o
Copy link

f0o commented Jul 31, 2017

Hi,

I've gone through the vast of the code and I cant really find the specific integration from KubeStack and Neutron. So the Neutron-Plugin that is being loaded to Neutron-Server to talk to KubeStack.

We have a working OpenStack deployment for IaaS and we're looking into integrating H8S into this.

Any pointers on how to configure H8S/KubeStack with an external Neutron-Server?

Cheers!

@feiskyer
Copy link

feiskyer commented Aug 1, 2017

Hi, @f0o, please refer https://docs.hypernetes.com/admin/deploy.html for deployments.

Specifically, you need to configure kubestack (/etc/kubestack.conf) and set --network-provider for kubelet/controller-manager.

@f0o
Copy link
Author

f0o commented Aug 1, 2017 via email

@feiskyer
Copy link

feiskyer commented Aug 1, 2017

@f0o Kubestack is not a neutron plugin, it doesn't register itself to neutron. And it doesn't watch neutron changes either.

Instead, you need to create a network with kubectl:

# cat network.yaml
apiVersion: v1
kind: Network
metadata:
  name: net1
spec:
  tenantID: 065f210a2ca9442aad898ab129426350
  subnets:
    subnet1:
      cidr: 192.168.0.0/24
      gateway: 192.168.0.1

# kubectl create -f ./network.yaml
network "net1" created
# kubectl get network
NAME      SUBNETS          PROVIDERNETWORKID    LABELS    STATUS
net1      192.168.0.0/24                        <none>    Active

This will triger kubestack to call neutron creating a new network. See more at user guide.

@f0o
Copy link
Author

f0o commented Aug 1, 2017 via email

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

2 participants