Skip to content

Commit

Permalink
release 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed May 13, 2022
1 parent 0695d31 commit a2ba0c1
Show file tree
Hide file tree
Showing 17 changed files with 41 additions and 37 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# CHANGELOG

## 1.9.3 -- 2022/05/09
## 1.9.3 -- 2022/05/13
### Enhancement
- optimize IPAM initialization
- reduce ovs-ovn restart downtime
- optimize node port-group check
- optimize ovs request in cni
### Bugfix
- delete ipam record and static route when gc lsp
- fix: ovs trace flow always ends with controller action
- fix defunct ovn-nbctl daemon

## 1.9.2 -- 2022/04/25

Expand Down
2 changes: 1 addition & 1 deletion dist/images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM kubeovn/kube-ovn-base:v1.9.2
FROM kubeovn/kube-ovn-base:v1.9.3

COPY *.sh /kube-ovn/
COPY kubectl-ko /kube-ovn/kubectl-ko
Expand Down
2 changes: 1 addition & 1 deletion dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CNI_CONF_DIR="/etc/cni/net.d"
CNI_BIN_DIR="/opt/cni/bin"

REGISTRY="kubeovn"
VERSION="v1.9.2"
VERSION="v1.9.3"
IMAGE_PULL_POLICY="IfNotPresent"
POD_CIDR="10.16.0.0/16" # Do NOT overlap with NODE/SVC/JOIN CIDR
POD_GATEWAY="10.16.0.1"
Expand Down
2 changes: 1 addition & 1 deletion dist/images/ovn-ic-db-docker.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker run -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn kubeovn/kube-ovn:v1.9.2 bash start-ic-db.sh
docker run -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn kubeovn/kube-ovn:v1.9.3 bash start-ic-db.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -eo pipefail

IMAGE=kubeovn/kube-ovn:v1.9.2
IMAGE=kubeovn/kube-ovn:v1.9.3

echo "[Step 0/8] Update CRD"
cat <<EOF > kube-ovn-crd-1.9.yaml
Expand Down
12 changes: 6 additions & 6 deletions docs/cluster-interconnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ only L3 connectivity for gateway nodes is required.
## Auto Route Step
1. Run Interconnection Controller in a region that can be accessed by other cluster
```bash
docker run --name=ovn-ic-db -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn kubeovn/kube-ovn:v1.9.2 bash start-ic-db.sh
docker run --name=ovn-ic-db -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn kubeovn/kube-ovn:v1.9.3 bash start-ic-db.sh
```
​ If `containerd` replaces `docker` then the command is as follows:

```shell
ctr -n k8s.io run -d --net-host --mount="type=bind,src=/etc/ovn/,dst=/etc/ovn,options=rbind:rw" --mount="type=bind,src=/var/run/ovn,dst=/var/run/ovn,options=rbind:rw" --mount="type=bind,src=/var/log/ovn,dst=/var/log/ovn,options=rbind:rw" docker.io/kubeovn/kube-ovn:v1.9.2 ovn-ic-db bash start-ic-db.sh
ctr -n k8s.io run -d --net-host --mount="type=bind,src=/etc/ovn/,dst=/etc/ovn,options=rbind:rw" --mount="type=bind,src=/var/run/ovn,dst=/var/run/ovn,options=rbind:rw" --mount="type=bind,src=/var/log/ovn,dst=/var/log/ovn,options=rbind:rw" docker.io/kubeovn/kube-ovn:v1.9.3 ovn-ic-db bash start-ic-db.sh
```

2. Create `ovn-ic-config` ConfigMap in each cluster `kube-system` namespace. Edit and apply the yaml below in each cluster.
Expand Down Expand Up @@ -160,25 +160,25 @@ kubectl ko nbctl lr-route-add ovn-cluster 10.16.0.0/24 169.254.100.79
`LOCALIP` is the IP of the node on which the container will run. For the leader, `LOCALIP` is its own IP.

```bash
docker run --name=ovn-ic-db -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn -e LOCAL_IP="LEADERIP" -e NODE_IPS="IP1,IP2,IP3" kubeovn/kube-ovn:v1.9.2 bash start-ic-db.sh
docker run --name=ovn-ic-db -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn -e LOCAL_IP="LEADERIP" -e NODE_IPS="IP1,IP2,IP3" kubeovn/kube-ovn:v1.9.3 bash start-ic-db.sh
```

​ If `containerd` replaces `docker` then the command is as follows:

```shell
ctr -n k8s.io run -d --net-host --mount="type=bind,src=/etc/ovn/,dst=/etc/ovn,options=rbind:rw" --mount="type=bind,src=/var/run/ovn,dst=/var/run/ovn,options=rbind:rw" --mount="type=bind,src=/var/log/ovn,dst=/var/log/ovn,options=rbind:rw" --env="NODE_IPS="IP1,IP2,IP3"" --env="LOCAL_IP="LEADERIP"" docker.io/kubeovn/kube-ovn:v1.9.2 ovn-ic-db bash start-ic-db.sh
ctr -n k8s.io run -d --net-host --mount="type=bind,src=/etc/ovn/,dst=/etc/ovn,options=rbind:rw" --mount="type=bind,src=/var/run/ovn,dst=/var/run/ovn,options=rbind:rw" --mount="type=bind,src=/var/log/ovn,dst=/var/log/ovn,options=rbind:rw" --env="NODE_IPS="IP1,IP2,IP3"" --env="LOCAL_IP="LEADERIP"" docker.io/kubeovn/kube-ovn:v1.9.3 ovn-ic-db bash start-ic-db.sh
```

2. Run the follower Interconnection Controller in the same region.

```bash
docker run --name=ovn-ic-db -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn -e LOCAL_IP="LOCALIP" -e NODE_IPS="IP1,IP2,IP3" -e LEADER_IP="LEADERIP" kubeovn/kube-ovn:v1.9.2 bash start-ic-db.sh
docker run --name=ovn-ic-db -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn -e LOCAL_IP="LOCALIP" -e NODE_IPS="IP1,IP2,IP3" -e LEADER_IP="LEADERIP" kubeovn/kube-ovn:v1.9.3 bash start-ic-db.sh
```

​ If `containerd` replaces `docker` then the command is as follows:

```shell
ctr -n k8s.io run -d --net-host --mount="type=bind,src=/etc/ovn/,dst=/etc/ovn,options=rbind:rw" --mount="type=bind,src=/var/run/ovn,dst=/var/run/ovn,options=rbind:rw" --mount="type=bind,src=/var/log/ovn,dst=/var/log/ovn,options=rbind:rw" --env="NODE_IPS="IP1,IP2,IP3"" --env="LOCAL_IP="LEADERIP"" --env="NODE_IPS="IP1,IP2,IP3"" docker.io/kubeovn/kube-ovn:v1.9.2 ovn-ic-db bash start-ic-db.sh
ctr -n k8s.io run -d --net-host --mount="type=bind,src=/etc/ovn/,dst=/etc/ovn,options=rbind:rw" --mount="type=bind,src=/var/run/ovn,dst=/var/run/ovn,options=rbind:rw" --mount="type=bind,src=/var/log/ovn,dst=/var/log/ovn,options=rbind:rw" --env="NODE_IPS="IP1,IP2,IP3"" --env="LOCAL_IP="LEADERIP"" --env="NODE_IPS="IP1,IP2,IP3"" docker.io/kubeovn/kube-ovn:v1.9.3 ovn-ic-db bash start-ic-db.sh
```

3. Create `ic-config` ConfigMap in each cluster as follows.
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If you want to try the latest developing Kube-OVN, try the script below:
JOIN_CIDR="100.64.0.0/16" # Subnet CIDR used for connectivity between nodes and Pods, Do NOT overlap with NODE/POD/SVC CIDR
LABEL="node-role.kubernetes.io/master" # The node label to deploy OVN DB
IFACE="" # The nic to support container network can be a nic name or a group of regex separated by comma e.g. `IFACE=enp6s0f0,eth.*`, if empty will use the nic that the default route use
VERSION="v1.9.2"
VERSION="v1.9.3"
```

This basic setup works for default overlay network. If you are using default underlay/vlan network, please refer [Vlan/Underlay Support](vlan.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/kube-ovn-cilium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/vpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ metadata:
name: ovn-vpc-nat-gw-config
namespace: kube-system
data:
image: 'kubeovn/vpc-nat-gateway:v1.9.2' # Docker image for vpc nat gateway
image: 'kubeovn/vpc-nat-gateway:v1.9.3' # Docker image for vpc nat gateway
enable-vpc-nat-gw: true # 'true' for enable, 'false' for disable
nic: eth1 # The nic that connect to underlay network, use as the 'master' for macvlan
```
Expand Down Expand Up @@ -190,7 +190,7 @@ Allow external network to access services in custom VPCs.

1. Install Multus CNI and macvlan CNI.

2. Pull docker image `kubeovn/vpc-nat-gateway:v1.9.2`.
2. Pull docker image `kubeovn/vpc-nat-gateway:v1.9.3`.

3. Create an attachment network using macvlan. Replace `eth0` on necessary.

Expand Down
10 changes: 5 additions & 5 deletions yamls/kube-ovn-dual-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-controller
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
args:
- /kube-ovn/start-controller.sh
Expand Down Expand Up @@ -146,7 +146,7 @@ spec:
hostPID: true
initContainers:
- name: install-cni
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"]
securityContext:
Expand All @@ -157,7 +157,7 @@ spec:
name: cni-bin
containers:
- name: cni-server
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command:
- bash
Expand Down Expand Up @@ -277,7 +277,7 @@ spec:
hostPID: true
containers:
- name: pinger
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
command:
- /kube-ovn/kube-ovn-pinger
- --external-address=114.114.114.114,2400:3200::1
Expand Down Expand Up @@ -409,7 +409,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-monitor
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-ovn-monitor.sh"]
securityContext:
Expand Down
10 changes: 5 additions & 5 deletions yamls/kube-ovn-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-controller
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
args:
- /kube-ovn/start-controller.sh
Expand Down Expand Up @@ -132,7 +132,7 @@ spec:
hostPID: true
initContainers:
- name: install-cni
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"]
securityContext:
Expand All @@ -143,7 +143,7 @@ spec:
name: cni-bin
containers:
- name: cni-server
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command:
- bash
Expand Down Expand Up @@ -249,7 +249,7 @@ spec:
hostPID: true
containers:
- name: pinger
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
command:
- /kube-ovn/kube-ovn-pinger
- --external-address=2400:3200::1
Expand Down Expand Up @@ -376,7 +376,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-monitor
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-ovn-monitor.sh"]
securityContext:
Expand Down
10 changes: 5 additions & 5 deletions yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-controller
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
args:
- /kube-ovn/start-controller.sh
Expand Down Expand Up @@ -144,7 +144,7 @@ spec:
hostPID: true
initContainers:
- name: install-cni
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"]
securityContext:
Expand All @@ -155,7 +155,7 @@ spec:
name: cni-bin
containers:
- name: cni-server
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command:
- bash
Expand Down Expand Up @@ -275,7 +275,7 @@ spec:
hostPID: true
containers:
- name: pinger
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
command:
- /kube-ovn/kube-ovn-pinger
- --external-address=114.114.114.114
Expand Down Expand Up @@ -407,7 +407,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-monitor
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-ovn-monitor.sh"]
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion yamls/ovn-dpdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ spec:
hostNetwork: true
containers:
- name: ovn-central
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-db.sh"]
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions yamls/ovn-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ spec:
hostNetwork: true
containers:
- name: ovn-central
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-db.sh"]
securityContext:
Expand Down Expand Up @@ -371,7 +371,7 @@ spec:
hostPID: true
containers:
- name: openvswitch
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-ovs.sh"]
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions yamls/ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ spec:
hostNetwork: true
containers:
- name: ovn-central
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-db.sh"]
securityContext:
Expand Down Expand Up @@ -387,7 +387,7 @@ spec:
hostPID: true
containers:
- name: openvswitch
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/start-ovs.sh"]
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion yamls/speaker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
hostNetwork: true
containers:
- name: ovn-central
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command:
- /kube-ovn/kube-ovn-speaker
Expand Down
2 changes: 1 addition & 1 deletion yamls/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-webhook
image: "kubeovn/kube-ovn:v1.9.2"
image: "kubeovn/kube-ovn:v1.9.3"
imagePullPolicy: IfNotPresent
command:
- /kube-ovn/kube-ovn-webhook
Expand Down

0 comments on commit a2ba0c1

Please sign in to comment.