37 Commits

Author SHA1 Message Date
Zuul
3ee96c62e0 Merge "fix a typo" 2018-08-03 07:54:52 +00:00
Peng Liu
aaeb4f4687 Implement multi-vif driver
This patch implements the multi-vif of VIF-Handler And Vif
Drivers Design.

This patch creates a new driver type MultiVIFDriver. It will
be the base class of real drivers like sriov,
additional_subnet and npwg_multiple_interfaces. Each of the
derived driver should implement the parsing of the additional
interfaces definition in K8S pods, and call VIF driver to
either create or acquire the Neutron port and its VIF object.

A list of enabled drivers can be returned by its class method.
So that the VIFHandler can invoke each driver one by one to
get the whole list of interfaces for one pod.

Partially Implements: blueprint multi-vif-pods
Change-Id: I8b5175a4637b18a0b574e27674a217865afb22b7
Signed-off-by: Peng Liu <pliu@redhat.com>
2018-07-31 19:31:48 +08:00
Zuul
a01e91c96e Merge "OCP-Router: Update Devref documentation" 2018-07-02 15:20:39 +00:00
Irena Berezovsky
4912a899a3 Kuryr Kubernetes Port and PortPool CRD design reference document
Change-Id: I67d6b8d77e6b703aa3598de28ae964fee1035c0b
Co-Authored-By: Luis Tomas Bolivar <ltomasbo@redhat.com>
2018-06-21 17:40:07 +02:00
Yossi Boaron
f32160bbce OCP-Router: Update Devref documentation
This patch updates Ingress design Devref with the latest changes
in Kuryr's Ingress controller configuration options.

Change-Id: Iaaeaee393f0837276994a24c258c4080a0e2ef04
Closes-Bug: 1777821
2018-06-20 13:22:08 +03:00
Michał Dulko
e416b2492a kuryr-controller A/P HA
This commit implements initial version of high availability support in
kuryr-controller - Active/Passive mode. In this mode only one instance
of controller is processing the resources while other ones are in
standby mode. If current leader dies, one of standbys is taking the
leader role and starts processing resources.

Please note that as leader election is based on Kubernetes mechanisms,
this is only supported when kuryr-controller is run as Pod on Kubernetes
cluster.

Implements: bp high-availability

Change-Id: I2c6c9315612d64158fb9f8284e0abb065aca7208
2018-06-14 10:25:34 +02:00
Michał Dulko
bcff4efaec Raise OpenShift version to 3.9.0
OpenShift 3.7 has a bug [1] that prevents from updating metadata of pods
created without any Controller (e.g. through `kubectl apply -f
pod-def.yaml` with ServiceAccount credentials. This prevents
containerized Kuryr to apply annotations onto such pods.

As this is only fixed in 3.9 now, we'll raise default OpenShift version
in DevStack.

As our version compatibility docs say nothing about OpenShift, we can
just state that we support 3.9+ starting with next release.

Closes-Bug: 1765132
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1383707

Change-Id: Ia19c5a556085c13b70ae5f6bcd8538adce261fae
2018-04-24 12:46:51 +02:00
Yossi Boaron
579fd5e093 Kuryr controller - pluggable handlers documentation
Starting with the Rocky release, Kuryr-Kubernetes will include a
pluggable interface for the Kuryr controller handlers.
This patch updates the documentation to include this capability.

Partially Implements: kuryr-pluggable-handlers

Change-Id: I908b5f52d2e2dfe3432ec95e34b04c1d28c21917
2018-04-18 10:09:05 +03:00
wangqi
0925938dbf fix a typo
Change-Id: Ibe386c9d3bca69e2c4dcd4b079c19ff2b02ab3f2
2018-04-18 04:20:42 +00:00
Luis Tomas Bolivar
e370676077 Add documentation about supported kubernetes versions
This patch adds a documentation placeholder to keep track of the
supported/tested version of kubernetes at the different
kuryr-kubernetes releases.

Change-Id: I53c6ae31cdd380876328ad357afc4c8938c7e5a0
Closes-Bug: 1752285
2018-04-09 09:34:52 +02:00
Michał Dulko
898abb4a75 Deprecate running kuryr-k8s without kuryr-daemon
This commit implements what was discussed on the PTG, i.e. deprecation
of running Kuryr-Kubernetes without kuryr-daemon services. This commit
includes changes in configuration defaults, sample local.conf files,
documentation, gates and a release note explaining the change.

Change-Id: I152c81797cb83237af4917a4487cb1f1918270aa
2018-03-14 15:44:16 +01:00
Zuul
c1e2bbc512 Merge "Add readiness and liveness checks to CNI." 2018-03-02 12:50:36 +00:00
Yuanbin.Chen
5b5d53319c Update doc title format
Change-Id: Idd06ad6fc05bddc6dc84ee0924645beac66db72e
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-03-01 14:27:13 +08:00
Daniel Mellado
59f63fb880
Minor fixes on docs
This commit fixes some minor typos and tweaks on the devref
documentation.

Change-Id: Ib62c05e512440bba95cdcc23481dfd2d3ab98619
2018-02-23 12:31:07 +01:00
Maysa Macedo
1e4b7f1109 Add readiness and liveness checks to CNI.
This patch adds readiness and liveness to CNI. It checks presence
of NET_ADMIN capabilities, IPDB in working order, connection to
Kubernetes API, quantity of CNI add failures, health of CNI
components and existence of memory leaks.

Implements: blueprint cni-daemon-readiness-liveness
Change-Id: I9a4b871d196dbadfed687df93bb3cad97c957bfb
2018-02-20 14:58:53 +00:00
chengebj5238
b8a56ad94d Replace Chinese punctuation with English punctuation
Change-Id: I2a1f0dbd22ee58e056fcdcc65ae98c11a4409c69
2018-02-05 16:50:06 +08:00
Zuul
0204c55106 Merge "Kuryr-Kubernetes openshift route integration devref" 2018-02-01 17:02:08 +00:00
Zuul
cc3e128ff6 Merge "Add liveness checks to Kuryr Controller" 2018-02-01 15:41:12 +00:00
Maysa Macedo
c00897c02e Add liveness checks to Kuryr Controller
This patch adds liveness checks for watcher and handlers, without passing the
manager's reference to modules that probably should not be aware of it.

Related-Bug: #1705429
Change-Id: I0192756c556b13f98302a57acedce269c278e260
2018-01-31 14:25:48 +00:00
Yossi Boaron
abcb3ece34 Kuryr-Kubernetes openshift route integration devref
Partially Implements: openshift-router-support

Change-Id: I8839f3ba89d9b183b8bc41c6e0273f541d616232
2018-01-31 10:30:09 +02:00
Zuul
dfea8122cc Merge "Kuryr-Kubernetes ingress integration devref" 2018-01-31 08:10:00 +00:00
Yossi Boaron
f2ad37db33 Kuryr-Kubernetes ingress integration devref
Partially Implements: kuryr-k8s-ingress-integration

Change-Id: I4f541e367451ef459514dfa3e12398da61b4a49e
2018-01-23 09:34:49 +02:00
Michał Dulko
273ac4ed00 CNI Daemon documentation
This commit extends developer docs to add information about CNI Daemon
and APIs between CNI Driver and CNI Daemon.

Implements: blueprint cni-split-exec-daemon
Co-Authored-By: Janonymous <janonymous.codevulture@gmail.com>
Change-Id: I0188c133d656e32b75bf7d9b6c012da33ffa2571
2018-01-18 15:59:55 +01:00
Maysa Macedo
ed2536dbcc Add readiness checks for Kuryr Controller
This patch checks the health of k8s, Keystone and Neutron,
by using a server that combines all the verifications. Also, checks
if ports are loaded into the pools when required.

Partially Implements: blueprint controller-readiness-liveness-probes
Change-Id: I09121a61d23fb64b326dae3947d5d24b1329cde3
2018-01-08 12:13:11 +00:00
Zuul
edd2f1e758 Merge "Add VIF-Handler And Drivers Design approach" 2017-11-20 11:07:28 +00:00
Danil Golov
d12442e4a4 Add VIF-Handler And Drivers Design approach
The purpose of this document is to present the approach of
implementation of cooperation design for VIF-handler and drivers
used by it in Kuryr-Kubernetes Controller.

Change-Id: I78609c2ede1b2f01b76053fc4f93c49235060a4c
Signed-off-by: Danil Golov <d.golov@partner.samsung.com>
2017-11-17 17:18:04 +03:00
Janonymous
3a8f4196c0 [Trivial] Doc fix K8S/K8s -> Kubernetes
Change-Id: I9883eca5a73423971493d05e70536ed5571ec553
2017-09-21 11:46:16 +05:30
liangcui
f1f19d6124 modify some misspellings in doc
Change-Id: Ib03dac2b098180dc01910a7039eccaaeeea7060d
2017-08-23 16:43:28 +08:00
Luis Tomas Bolivar
69e75d95f1 Update ports manager spec with reboot information
This patch includes new information at the ports manager
spec to include information regarding how the created
ports at each pool are deleted or rediscovered upon
Kuryr controller restarts.

Change-Id: I9be32c0b313d512d18384ad58fd4ca78792a2748
2017-06-19 15:39:03 +02:00
Antoni Segura Puimedon
87039c64ea
controller: Upd. remaining refs to generic vif
In 97ded78681060b6ca36c9d12ee81a8ba13c69ff9 we renamed
GenericPodVIFDriver to the more accurate NeutronPodVIFDriver.
Unfortunately we missed a few places. This patch solves that.

Change-Id: I441e7236f9e2bb1f64ad5ae5bcc43218adf5abb3
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2017-06-07 16:40:18 +02:00
Luis Tomas Bolivar
b193a96894 Kuryr Kubernetes Port Manager design reference document
Change-Id: Id65c9c1a379eac219ae2559a7b1f1ad267278b74
2017-05-16 08:39:48 +02:00
Dongcan Ye
916833d8bb docs: Add LogExceptions Event Handler description
Change-Id: I1efa27645c024699fd8076da0b6b8da4e213c0c3
2017-02-27 16:39:49 +08:00
Darla Ahlert
410001f8c8 Moving docs from Kuryr to Kuryr-Kubernetes
This is one part of the process of organizing the Kuryr docs
across Kuryr, Kuryr-Libnetwork, and Kuryr-Kubernetes. This
commit in particular moves some Kuryr-Kubernetes documentation
from Kuryr devref to the Kuryr-Kubernetes devref.

Change-Id: I030e5afd92049119068fbac6af515ca3ff962385
Depends-On: If0e23ffe10f798d2f9f5b37e1b996bd069715721
2017-02-20 20:57:38 +00:00
Jenkins
b79d9db390 Merge "docs: Fix image rendering" 2017-01-16 14:18:16 +00:00
Antoni Segura Puimedon
d7989a43db
docs: Fix image rendering
The Pod creation flow was color-less and the images were rendered too
wide relative to the text. This fixes it while still allowing for the
images to be clicked to be seen in full size.

Change-Id: I83b35a4456f05fb18de67847942284f8d02312ca
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2017-01-13 15:10:06 +01:00
Irena Berezovsky
0dc6160bd4 Kubernetes Service support design reference document
Change-Id: Iea59c7c16e4de92153c3ed0158f2c11b54a505e2
2017-01-11 08:46:39 +02:00
Irena Berezovsky
420ef13559 kuryr kubernetes design reference document
Co-Authored-By: Antoni Segura Puimedon <antonisp@celebdor.com>
Co-Authored-By: Ilya Chukhnakov <ichukhnakov@mirantis.com>
Change-Id: Iad305164b6083d0abc063fd9864c1c92c8e0dd7b
2016-12-13 15:12:38 +02:00