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 # 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 ## v0.10.0 -- 2019/12/23
### Performance ### 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 ...@@ -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. 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 ```bash
ovn-central-fbdbd9d4d-jv8cr 0/1 Running 0 19h # waiting to become a leader ovn-central-fbdbd9d4d-jv8cr 1/1 Running 0 19h
ovn-central-fbdbd9d4d-pgvhl 0/1 Running 0 19h # waiting to become a leader ovn-central-fbdbd9d4d-pgvhl 1/1 Running 0 19h
ovn-central-fbdbd9d4d-rk2c7 1/1 Running 0 19h # the leader now 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) 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
...@@ -21,19 +21,19 @@ Kube-OVN includes two parts: ...@@ -21,19 +21,19 @@ Kube-OVN includes two parts:
`kubectl label node <Node on which to deploy OVN DB> kube-ovn/role=master` `kubectl label node <Node on which to deploy OVN DB> kube-ovn/role=master`
2. Install Kube-OVN related CRDs 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: 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: 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. That's all! You can now create some pods and test connectivity.
For high-available ovn db, see [high available](high-available.md) 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 ## More Configuration
...@@ -82,7 +82,7 @@ You can use `--default-cidr` flags below to config default Pod CIDR or create a ...@@ -82,7 +82,7 @@ You can use `--default-cidr` flags below to config default Pod CIDR or create a
1. Remove Kubernetes resources: 1. Remove Kubernetes resources:
```bash ```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 bash cleanup.sh
``` ```
......
...@@ -2,4 +2,4 @@ ...@@ -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. 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 # 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 ## Pre-request
...@@ -76,4 +76,4 @@ spec: ...@@ -76,4 +76,4 @@ spec:
```bash ```bash
# kubectl create -f deployment2.yaml # 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 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: ...@@ -38,7 +38,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: kube-ovn-controller - 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 imagePullPolicy: IfNotPresent
command: command:
- /kube-ovn/start-controller.sh - /kube-ovn/start-controller.sh
...@@ -109,7 +109,7 @@ spec: ...@@ -109,7 +109,7 @@ spec:
hostPID: true hostPID: true
initContainers: initContainers:
- name: install-cni - 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 imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"] command: ["/kube-ovn/install-cni.sh"]
securityContext: securityContext:
...@@ -122,7 +122,7 @@ spec: ...@@ -122,7 +122,7 @@ spec:
name: cni-bin name: cni-bin
containers: containers:
- name: cni-server - 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"] command: ["sh", "/kube-ovn/start-cniserver.sh"]
args: args:
- --enable-mirror=false - --enable-mirror=false
...@@ -205,7 +205,7 @@ spec: ...@@ -205,7 +205,7 @@ spec:
hostPID: true hostPID: true
containers: containers:
- name: pinger - 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 imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
......
...@@ -38,7 +38,7 @@ spec: ...@@ -38,7 +38,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: kube-ovn-controller - 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 imagePullPolicy: IfNotPresent
command: command:
- /kube-ovn/start-controller.sh - /kube-ovn/start-controller.sh
...@@ -112,7 +112,7 @@ spec: ...@@ -112,7 +112,7 @@ spec:
hostPID: true hostPID: true
initContainers: initContainers:
- name: install-cni - 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 imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"] command: ["/kube-ovn/install-cni.sh"]
securityContext: securityContext:
...@@ -125,7 +125,7 @@ spec: ...@@ -125,7 +125,7 @@ spec:
name: cni-bin name: cni-bin
containers: containers:
- name: cni-server - 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 imagePullPolicy: IfNotPresent
command: command:
- sh - sh
...@@ -215,7 +215,7 @@ spec: ...@@ -215,7 +215,7 @@ spec:
hostPID: true hostPID: true
containers: containers:
- name: pinger - 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 imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
......
...@@ -160,7 +160,7 @@ spec: ...@@ -160,7 +160,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: ovn-central - 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 imagePullPolicy: IfNotPresent
securityContext: securityContext:
capabilities: capabilities:
...@@ -257,7 +257,7 @@ spec: ...@@ -257,7 +257,7 @@ spec:
hostPID: true hostPID: true
containers: containers:
- name: openvswitch - 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 imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
......
...@@ -160,7 +160,7 @@ spec: ...@@ -160,7 +160,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: ovn-central - 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 imagePullPolicy: IfNotPresent
securityContext: securityContext:
capabilities: capabilities:
...@@ -255,7 +255,7 @@ spec: ...@@ -255,7 +255,7 @@ spec:
hostPID: true hostPID: true
containers: containers:
- name: openvswitch - 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 imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 0 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