kuryr-kubernetes/kuryr_kubernetes
Michał Dulko 78102c9984 Use virtualenv to build kuryr-cni Docker image
This commit changes the way we produce kuryr-cni Docker image. Previously we've
distributed the kuryr-driver as pyinstaller binary that contained Python 3
interpreter and all the dependencies. This binary was called from CNI. That
approach had some disadvantages, the major being complicated build procedure
and having to see false-positive BrokenPipeError tracebacks in kubelet
logs.

This commit implements distributing kuryr-driver as a virtualenv with
kuryr-kubernetes and all the dependecies installed. That virtualenv is then
copied onto the host system and CNI can easily activate it and run kuryr-cni
binary. This should solve issues caused by pyinstaller.

Closes-Bug: 1747058

Change-Id: I65b01ba27cbe39b66f0a972d12f3abc166934e62
2018-02-02 19:55:44 +01:00
..
cmd CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
cni Use virtualenv to build kuryr-cni Docker image 2018-02-02 19:55:44 +01:00
controller Add readiness checks for Kuryr Controller 2018-01-08 12:13:11 +00: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 Merge "Make daemon wait for VIF to become active" 2018-01-11 22:56:37 +00: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 Support kuryr-daemon when running containerized 2017-12-13 11:45:22 +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 Add oslo_cache to default_subnet driver 2017-11-27 11:41:00 +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 Support kuryr-daemon when running containerized 2017-12-13 11:45:22 +01: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