RETIRED, Kubernetes integration with OpenStack networking
Go to file
Ilya Chukhnakov f0e1c206a9 Controller event handling pipeline
This patch introduces ControllerPipeline which is an entry point
handler for the Kuryr-Kubernetes controller. ControllerPipeline
allows registering ResourceEventHandlers and ensures the proper
handler is called for each event that is passed to the
ControllerPipeline. Also it ensures the following behavior:

- multiple ResourceEventHandlers can be registered for the same
  resource type (OBJECT_KIND)

- failing handlers (i.e. ones that raise Exceptions) are retried
  until either the handler succeeds or a finite amount of time
  passes, in which case the most recent exception is logged

- in case there are multiple handlers registered for the same
  resource type, all such handlers are considered independent (i.e.
  if one handler fails, other handlers will still be called
  regardless; and the order in which such handlers are called is not
  determined)

- events for different Kubernetes objects can be handled concurrently

- events for the same Kubernetes object are handled sequentially in
  the order of arrival

Change-Id: Ib17e0c7a2790cdbc31be4f59d50972b43c272480
Partially-Implements: blueprint kuryr-k8s-integration
2016-11-03 13:08:29 +00:00
devstack Merge "DevStack fails if docker service already running" 2016-10-31 13:02:51 +00:00
doc/source cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
etc/oslo-config-generator move config and opt generation to new kuryr-lib 2016-09-26 13:11:47 +00:00
kuryr_kubernetes Controller event handling pipeline 2016-11-03 13:08:29 +00:00
scripts Controller service base 2016-10-04 21:56:50 +03:00
tools move config and opt generation to new kuryr-lib 2016-09-26 13:11:47 +00:00
usr/libexec/kubernetes/kubelet-plugins/net/exec devstack: First version of kuryr-kubernetes plugin 2016-09-24 00:29:53 +02:00
.gitignore Introduce kuryr-k8s service 2016-08-29 11:01:50 +02:00
.gitreview Added .gitreview 2016-05-12 09:14:08 +00:00
.testr.conf cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
babel.cfg cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
CONTRIBUTING.rst cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
HACKING.rst cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
LICENSE cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
MANIFEST.in cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
README.rst move config and opt generation to new kuryr-lib 2016-09-26 13:11:47 +00:00
requirements.txt Controller service base 2016-10-04 21:56:50 +03:00
setup.cfg Removing Python 3.5-specific parts 2016-10-04 22:22:27 +03:00
setup.py cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
test-requirements.txt K8s and Neutron clients support 2016-10-03 16:07:03 +00:00
tox.ini Fix sample config file generation 2016-10-11 08:53:16 +02:00

kuryr-kubernetes

Kubernetes integration with OpenStack networking

Please fill here a long description which must be at least 3 lines wrapped on 80 cols, so that distribution package maintainers can use it in their packages. Note that this is a hard requirement.

Configuring Kuryr

Generate sample config, etc/kuryr.conf.sample, running the following:

$ ./tools/generate_config_file_samples.sh

Rename and copy config file at required path:

$ cp etc/kuryr.conf.sample /etc/kuryr/kuryr.conf

Edit Neutron section in /etc/kuryr/kuryr.conf, replace ADMIN_PASSWORD:

[neutron]
auth_url = http://127.0.0.1:35357/v3/
username = admin
user_domain_name = Default
password = ADMIN_PASSWORD
project_name = service
project_domain_name = Default
auth_type = password

In the same file uncomment the bindir parameter with the path to the Kuryr vif binding executables. For example, if you installed it on Debian or Ubuntu:

[DEFAULT]
bindir = /usr/local/libexec/kuryr

Features

  • TODO