27e0f2c857
When generating CNI container our scripts were applying two patches to the Kuryr codebase. One was making sure k8s_client will correctly split WATCH responses with b"\n" and second was patching cni.main to enable daemonized mode for os_vif's privsep instead of sudo/rootwrap mode. This was critically unmaintainable, as any changes to patched files might make the patches unapplyable and break the container building scripts. This commit resolves the problem by completely removing step of applying patches: * k8s_client patch is applied directly into the codbase as it's a no-op in Python 2.7 and in Python 3.5 should be a correct way of doing things. * cni.main patch gets removed completely, as CNI container is run with sudo privileges, so privsep in rootwrap/sudo mode will work fine (and maybe even better as it gets rid of "broken pipe" errors in kubelet logs). Change-Id: I4171e3807dece12e41e04abefa1d16eb675f7d06 |
||
---|---|---|
contrib | ||
devstack | ||
doc | ||
etc | ||
hooks | ||
kuryr_kubernetes | ||
scripts | ||
tools | ||
.coveragerc | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
cni.Dockerfile | ||
cni.spec | ||
cni_builder | ||
cni_builder.Dockerfile | ||
cni_ds_init | ||
controller.Dockerfile | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Project description
Kubernetes integration with OpenStack networking
The OpenStack Kuryr project enables native Neutron-based networking in Kubernetes. With Kuryr-Kubernetes it's now possible to choose to run both OpenStack VMs and Kubernetes Pods on the same Neutron network if your workloads require it or to use different segments and, for example, route between them.
- Free software: Apache license
- Documentation: https://docs.openstack.org/kuryr-kubernetes/latest
- Source: https://git.openstack.org/cgit/openstack/kuryr-kubernetes
- Bugs: https://bugs.launchpad.net/kuryr-kubernetes
- Overview and demo: http://superuser.openstack.org/articles/networking-kubernetes-kuryr
Contribution guidelines
For the process of new feature addition, refer to the Kuryr Policy