Kubernetes integration with OpenStack networking
Go to file
Maysa Macedo 5cf4b41772 Fix CRD podSelector update
When the podSelector of a NP is updated, the podSelector
on the respective CRD must also be updated with the same
value. However, this do not happen in case the field of a label
is updated, for example: Label {'app: demo'} is updated to
{'context:demo'} the result given is {'app: demo', 'context:demo'}
when should be {'context:demo'}. And after that, if the updated label
{'context:demo'} is removed from the NP, it will not be removed from the CRD.
These cases happen because the podSelector field is a dict and not
a list.

This commit fixes the issue by changing the merge strategy to
JSON Patch, instead of JSON Merge Patch.

Change-Id: Ic629c1ba4ac13c2bfaffdf7f904b69abf9521ed3
Closes-Bug: 1810394
2019-02-18 20:43:18 +00:00
.zuul.d Remove dragonflow job from experimental jobs 2019-02-07 18:23:09 +01:00
contrib Change Pod annotations format to o.vo 2018-08-01 15:30:42 +02:00
devstack Remove way of running without kuryr-daemon 2019-02-04 12:53:00 +01:00
doc Update HA doc with corections and minor fixes 2019-02-08 06:24:37 +00:00
etc Proceed CNI output in format of version 0.3.1 2018-07-04 13:04:35 +00:00
kubernetes_crds Implement NP SG create/delete actions 2018-09-06 10:10:15 -04:00
kuryr_kubernetes Fix CRD podSelector update 2019-02-18 20:43:18 +00:00
playbooks Clean up legacy playbooks 2018-04-26 09:38:28 +02:00
releasenotes Merge "Use same pool_driver for different pod_vif_drivers" 2019-02-06 01:04:48 +00:00
tools Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01: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 ignore Editor tags 2018-09-25 12:16:08 +02:00
.gitreview Added .gitreview 2016-05-12 09:14:08 +00:00
.pre-commit-config.yaml Add support for pre-commit-hooks 2018-09-27 13:05:43 +02:00
.stestr.conf Switch to using stestr 2018-07-16 15:43:10 +00:00
.testr.conf cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
CONTRIBUTING.rst Fix some misspellings within Kuryr-Kubernetes 2019-01-03 07:31:47 -05:00
HACKING.rst Update doc title format 2018-03-01 14:27:13 +08:00
LICENSE cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
README.rst Update links in README 2018-08-19 03:47:48 +08:00
babel.cfg cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
cni.Dockerfile Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01:00
cni_ds_init Remove way of running without kuryr-daemon 2019-02-04 12:53:00 +01:00
cni_py3.Dockerfile Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01:00
controller.Dockerfile Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01:00
controller_py3.Dockerfile Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01:00
lower-constraints.txt Merge "Try pyroute2 0.5.1" 2018-07-17 11:37:16 +00:00
requirements.txt Add kuryr-status utility for upgrade-checkers 2018-10-03 15:09:53 +02:00
setup.cfg Ensure pod relabeling is supported by the Network Policy 2018-12-05 09:59:51 +01:00
setup.py Updated from global requirements 2017-03-15 12:44:19 +00:00
test-requirements.txt Switch to using stestr 2018-07-16 15:43:10 +00:00
tox.ini Merge "fix tox -e debug target" 2018-10-15 08:54:24 +00: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