From 3aa486d342fc32d56750234d0888ad3f194394c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulko?= Date: Tue, 18 Jun 2019 12:18:01 +0200 Subject: [PATCH] Add release note and docs about golang kuryr-cni This is follow-up commit that adds documentation regarding golang implementation of kuryr-cni. Change-Id: I2a9488a59141016655e7a356722a1c012aa94aec Implements: blueprint golang-kuryr-cni --- doc/source/devref/kuryr_kubernetes_design.rst | 9 +++++++-- .../notes/golang-kuryr-cni-aab144831d4dc9dd.yaml | 14 ++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/golang-kuryr-cni-aab144831d4dc9dd.yaml diff --git a/doc/source/devref/kuryr_kubernetes_design.rst b/doc/source/devref/kuryr_kubernetes_design.rst index 95354ebaa..688164e91 100644 --- a/doc/source/devref/kuryr_kubernetes_design.rst +++ b/doc/source/devref/kuryr_kubernetes_design.rst @@ -198,8 +198,13 @@ CNI Driver ---------- CNI driver is just a thin client that passes CNI ADD and DEL requests to -kuryr-daemon instance via its HTTP API. It's simple Python executable that is -supposed to be called by kublet's CNI. +kuryr-daemon instance via its HTTP API. It's a simple executable that is +supposed to be called by kubelet's CNI. Since Train release the CNI driver +has an alternative golang implementation (see the kuryr_cni directory) to make +injecting it onto the Kubernetes node from the kuryr-cni pod easier. This +enables Kuryr to work on K8s deployments that does not have Python or curl on +Kubernetes nodes. Compatibility between Python and golang CNI drivers is +supposed to be maintained. .. _cni-daemon: diff --git a/releasenotes/notes/golang-kuryr-cni-aab144831d4dc9dd.yaml b/releasenotes/notes/golang-kuryr-cni-aab144831d4dc9dd.yaml new file mode 100644 index 000000000..bf92aed7b --- /dev/null +++ b/releasenotes/notes/golang-kuryr-cni-aab144831d4dc9dd.yaml @@ -0,0 +1,14 @@ +--- +features: + - | + kuryr-cni, that is the executable called by kubelet, is now rewritten to + golang. This enables Kuryr to work containerized in environments where + there is no Python or curl on the hosts running kubelet. This is the case + e.g. in K8s deployed by Magnum. +upgrade: + - | + kuryr-cni is now a golang binary. The upgrade should be automatic and + consists of deploying an updated kuryr-cni container. Please note that if + you used a custom listening port for kuryr-daemon, it is currently + hardcoded to 5036. We're planning to pass it through 10-kuryr.conf CNI + configuration file in the very near future.