kuryr-kubernetes/kuryr_kubernetes
Michał Dulko 2f65d993f3 CNI split - introducing CNI daemon
This commit implements basic CNI daemon service. The aim of this new
entity is to increase scalability of CNI operations by moving watching
for VIF to a separate process.

This commit:
* Introduces kuryr-daemon service
* Implements communication between CNI driver and CNI daemon using HTTP
* Consolidates watching for VIF on CNI side to a single Watcher that
  looks for all the pods on the node it is running on.
* Solves bug 1731485 when running with CNI daemon.
* Enables new service in DevStack plugin
* Provides unit tests for new code.

Follow up patches will include:
- Documentation.
- Support for running in containerized mode.

To test the patch add `enable_service kuryr-daemon` to your DevStack's
local.conf file.

Partial-Bug: 1731485
Co-Authored-By: Janonymous <janonymous.codevulture@gmail.com>
Implements: blueprint cni-split-exec-daemon
Change-Id: I1bd6406dacab0735a94474e146645c63d933be16
2017-11-21 08:50:04 +01:00
..
cmd CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
cni CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
controller Ignore the headless services 2017-11-16 18:03:42 +08:00
handlers Remove log translations 2017-03-28 15:13:49 +08:00
objects Add support for service type=LoadBalancer 2017-10-02 14:12:14 +03:00
tests CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
__init__.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
clients.py Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
config.py CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
constants.py Add list and show pool commands to Pool Manager 2017-10-10 10:36:10 +00:00
exceptions.py Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
k8s_client.py Merge "metadata.resourceVersion: Invalid value" 2017-10-09 12:17:01 +00:00
linux_net_utils.py Remove log translations 2017-03-28 15:13:49 +08:00
opts.py CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
os_vif_plug_noop.py Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
os_vif_util.py Replace six.itervalues() with dict.values() in kuryr-kubernetes 2017-08-04 17:13:17 +08:00
utils.py Add asyncio eventloop. 2016-09-01 14:47:47 +02:00
version.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
watcher.py Stopping Thread from oslo_service 2017-06-15 09:11:41 +00:00