Commit 09e27cea authored by Mengxin Liu's avatar Mengxin Liu Committed by oilbeater
Browse files

release: v0.10.1

parent fafa5607
Showing with 40 additions and 25 deletions
+40 -25
# CHANGELOG
## v0.10.1 --2020/01/02
This release fix bugs found in v0.10.0.
If you previously used v0.10.0 you can update the image tag of kube-ovn-controller, kube-ovn-cni and kube-ovn-pinger to v0.10.1 and delete daemonset pods manually to update to the new release.
### Bugfix
* If cidr block not ends with zero, reformat it to avoid add route failure
* Resync iptables to prevent rules deleted by other software
* Set ovn-openflow-probe-interval to prevent ovn-controller consumes all cpu
* Do not return not found error when first add node
### Monitoring
* pinger checks port bindings between local ovs and onv-sb
## v0.10.0 -- 2019/12/23
### Performance
......
v0.10.0
v0.10.1
......@@ -22,9 +22,9 @@ Change the replicas to 3, and add NODE_IPS environment var points to node that h
When using cluster mode, only the leader ovsdb pod will be ready and serve requests, other pod will be waiting to become a leader.
```bash
ovn-central-fbdbd9d4d-jv8cr 0/1 Running 0 19h # waiting to become a leader
ovn-central-fbdbd9d4d-pgvhl 0/1 Running 0 19h # waiting to become a leader
ovn-central-fbdbd9d4d-rk2c7 1/1 Running 0 19h # the leader now
ovn-central-fbdbd9d4d-jv8cr 1/1 Running 0 19h
ovn-central-fbdbd9d4d-pgvhl 1/1 Running 0 19h
ovn-central-fbdbd9d4d-rk2c7 1/1 Running 0 19h
```
More detail about ovsdb cluster mode please refer to [this link](http://docs.openvswitch.org/en/latest/ref/ovsdb.7/#clustered-database-service-model)
\ No newline at end of file
More detail about ovsdb cluster mode please refer to [this link](http://docs.openvswitch.org/en/latest/ref/ovsdb.7/#clustered-database-service-model)
......@@ -21,19 +21,19 @@ Kube-OVN includes two parts:
`kubectl label node <Node on which to deploy OVN DB> kube-ovn/role=master`
2. Install Kube-OVN related CRDs
`kubectl apply -f https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.0/yamls/crd.yaml`
`kubectl apply -f https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.1/yamls/crd.yaml`
3. Install native OVS and OVN components:
`kubectl apply -f https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.0/yamls/ovn.yaml`
`kubectl apply -f https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.1/yamls/ovn.yaml`
4. Install the Kube-OVN Controller and CNI plugins:
`kubectl apply -f https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.0/yamls/kube-ovn.yaml`
`kubectl apply -f https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.1/yamls/kube-ovn.yaml`
That's all! You can now create some pods and test connectivity.
For high-available ovn db, see [high available](high-available.md)
If you want to enable IPv6 on default subnet and node subnet, please apply https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.0/yamls/kube-ovn-ipv6.yaml on Step 3.
If you want to enable IPv6 on default subnet and node subnet, please apply https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.1/yamls/kube-ovn-ipv6.yaml on Step 3.
## More Configuration
......@@ -82,7 +82,7 @@ You can use `--default-cidr` flags below to config default Pod CIDR or create a
1. Remove Kubernetes resources:
```bash
wget https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.0/dist/images/cleanup.sh
wget https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.1/dist/images/cleanup.sh
bash cleanup.sh
```
......
......@@ -2,4 +2,4 @@
Through Kube-OVN does support both protocol subnets coexist in a cluster, Kubernetes control plan now only support one protocol. So you will lost some ability like probe and service discovery if you use a protocol other than the kubernetes control plan. We recommend you use only one same ip protocol that same with kubernetes control plan.
To enable IPv6 support you need to modify the installation yaml to specify the default subnet and node subnet cidrBlock and gateway with a ipv6 format. You can apply this [v6 version yaml](https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.0/yamls/kube-ovn-ipv6.yaml) at [installation step 3](install.md#to-install) for a quick start.
To enable IPv6 support you need to modify the installation yaml to specify the default subnet and node subnet cidrBlock and gateway with a ipv6 format. You can apply this [v6 version yaml](https://raw.githubusercontent.com/alauda/kube-ovn/v0.10.1/yamls/kube-ovn-ipv6.yaml) at [installation step 3](install.md#to-install) for a quick start.
# Webhook
Kube-OVN supports allocation static IP addresss along with dynamical addresss which means we should hold static IP addresses don't allow others using it.
Kube-OVN supports allocation static IP addresses along with dynamical addresses which means we should hold static IP addresses don't allow others using it.
## Pre-request
......@@ -76,4 +76,4 @@ spec:
```bash
# kubectl create -f deployment2.yaml
Error from server (overlap): error when creating "deployment2.yaml": admission webhook "pod-ip-validaing.kube-ovn.io" denied the request: overlap
```
\ No newline at end of file
```
......@@ -38,7 +38,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-controller
image: "index.alauda.cn/alaudak8s/kube-ovn-controller:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-controller:v0.10.1"
imagePullPolicy: IfNotPresent
command:
- /kube-ovn/start-controller.sh
......@@ -109,7 +109,7 @@ spec:
hostPID: true
initContainers:
- name: install-cni
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.1"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"]
securityContext:
......@@ -122,7 +122,7 @@ spec:
name: cni-bin
containers:
- name: cni-server
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.1"
command: ["sh", "/kube-ovn/start-cniserver.sh"]
args:
- --enable-mirror=false
......@@ -205,7 +205,7 @@ spec:
hostPID: true
containers:
- name: pinger
image: "index.alauda.cn/alaudak8s/kube-ovn-pinger:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-pinger:v0.10.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
......
......@@ -38,7 +38,7 @@ spec:
hostNetwork: true
containers:
- name: kube-ovn-controller
image: "index.alauda.cn/alaudak8s/kube-ovn-controller:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-controller:v0.10.1"
imagePullPolicy: IfNotPresent
command:
- /kube-ovn/start-controller.sh
......@@ -112,7 +112,7 @@ spec:
hostPID: true
initContainers:
- name: install-cni
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.1"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"]
securityContext:
......@@ -125,7 +125,7 @@ spec:
name: cni-bin
containers:
- name: cni-server
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-cni:v0.10.1"
imagePullPolicy: IfNotPresent
command:
- sh
......@@ -215,7 +215,7 @@ spec:
hostPID: true
containers:
- name: pinger
image: "index.alauda.cn/alaudak8s/kube-ovn-pinger:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-pinger:v0.10.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
......
......@@ -160,7 +160,7 @@ spec:
hostNetwork: true
containers:
- name: ovn-central
image: "index.alauda.cn/alaudak8s/kube-ovn-db:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-db:v0.10.1"
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
......@@ -257,7 +257,7 @@ spec:
hostPID: true
containers:
- name: openvswitch
image: "index.alauda.cn/alaudak8s/kube-ovn-node:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-node:v0.10.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
......
......@@ -160,7 +160,7 @@ spec:
hostNetwork: true
containers:
- name: ovn-central
image: "index.alauda.cn/alaudak8s/kube-ovn-db:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-db:v0.10.1"
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
......@@ -255,7 +255,7 @@ spec:
hostPID: true
containers:
- name: openvswitch
image: "index.alauda.cn/alaudak8s/kube-ovn-node:v0.10.0"
image: "index.alauda.cn/alaudak8s/kube-ovn-node:v0.10.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment