78102c9984
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 |
||
---|---|---|
.. | ||
cmd | ||
cni | ||
controller | ||
handlers | ||
objects | ||
tests | ||
__init__.py | ||
clients.py | ||
config.py | ||
constants.py | ||
exceptions.py | ||
k8s_client.py | ||
linux_net_utils.py | ||
opts.py | ||
os_vif_plug_noop.py | ||
os_vif_util.py | ||
utils.py | ||
version.py | ||
watcher.py |