Kubernetes integration with OpenStack networking
Go to file
Michał Dulko 27e0f2c857 Get rid of code patching in containers
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
2017-10-10 15:31:04 +02:00
contrib Removing detected Keystone Port in vagrant kury_rc 2017-06-19 05:03:40 +00:00
devstack Merge "Add support for service type=LoadBalancer" 2017-10-05 09:02:22 +00:00
doc Add support for service type=LoadBalancer 2017-10-02 14:12:14 +03:00
etc Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
hooks Add support to install Kuryr as a network addon 2017-09-14 13:33:53 +02:00
kuryr_kubernetes Get rid of code patching in containers 2017-10-10 15:31:04 +02:00
scripts Controller service base 2016-10-04 21:56:50 +03:00
tools Clean up ENV vars mistmatches in Dockerfiles 2017-09-20 10:35:36 +02:00
.coveragerc tox: fix coverage 2016-11-18 10:14:56 +03:00
.dockerignore Add support to install Kuryr as a network addon 2017-09-14 13:33:53 +02:00
.gitignore Add support to install Kuryr as a network addon 2017-09-14 13:33:53 +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
CONTRIBUTING.rst Use https links for documentation 2017-06-12 23:05:25 +08:00
HACKING.rst Update URLs in documents according to document migration 2017-07-21 14:47:10 +08:00
LICENSE cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
README.rst Update URLs in documents according to document migration 2017-07-21 14:47:10 +08:00
babel.cfg cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
cni.Dockerfile Clean up ENV vars mistmatches in Dockerfiles 2017-09-20 10:35:36 +02:00
cni.spec Add support to install Kuryr as a network addon 2017-09-14 13:33:53 +02:00
cni_builder CNI container: parametrize and clean up 2017-09-14 13:33:53 +02:00
cni_builder.Dockerfile Get rid of code patching in containers 2017-10-10 15:31:04 +02:00
cni_ds_init CNI container: parametrize and clean up 2017-09-14 13:33:53 +02:00
controller.Dockerfile Add support to install Kuryr as a network addon 2017-09-14 13:33:53 +02:00
requirements.txt Updated from global requirements 2017-09-27 13:41:21 +00:00
setup.cfg Add support for service type=LoadBalancer 2017-10-02 14:12:14 +03:00
setup.py Updated from global requirements 2017-03-15 12:44:19 +00:00
test-requirements.txt Updated from global requirements 2017-09-27 13:41:21 +00:00
tox.ini Enable some off-by-default checks 2017-06-22 17:04:44 +08:00

README.rst

Team and repository tags

image

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.

Contribution guidelines

For the process of new feature addition, refer to the Kuryr Policy