Kubernetes integration with OpenStack networking
Go to file
Maysa Macedo ba89bd027f Fix LBaaS sg rules update on deployment scale
When a service is created with a Network Policy applied and
deployments are scaled up or down, the LBaaS SG rules should be
updated accordindly. Right now, the LBaaS/Service do not react on
deployment scales.
This commit fixes the issue by ensuring that the LBaaS SG is updated
on pod events.

Also, when Pods, Network Policies and SVCs are created together it might
happen that the LBaaS SG remains with default SG rules, even though
the policy is being enforced. This commit ensures the right SG rules
are applied on a LBaaS regardless the order of k8s resources creation.
This happens by setting the LBaaS Spec annotation whenever a request
to update the SG rules has been made and retrieving the Spec again
whenever a LBaaS member is created.

Change-Id: I1c54d17a5fcff5387ffae2b132f5036ee9bf07ca
Closes-Bug: 1816015
2019-03-04 15:57:47 +00:00
.zuul.d Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +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 Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +01: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 LBaaS sg rules update on deployment scale 2019-03-04 15:57:47 +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 Upgrade Flask version due to security concerns 2019-02-14 10:09:40 +01:00
requirements.txt Upgrade Flask version due to security concerns 2019-02-14 10:09:40 +01:00
setup.cfg Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +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