Skip to content

Commit

Permalink
release: v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Jan 2, 2020
1 parent fafa560 commit 09e27ce
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 25 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# 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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.10.0
v0.10.1
8 changes: 4 additions & 4 deletions docs/high-available.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
More detail about ovsdb cluster mode please refer to [this link](http://docs.openvswitch.org/en/latest/ref/ovsdb.7/#clustered-database-service-model)
10 changes: 5 additions & 5 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion docs/ipv6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions docs/webhook.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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

Expand Down Expand Up @@ -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
```
```
8 changes: 4 additions & 4 deletions yamls/kube-ovn-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions yamls/ovn-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions yamls/ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 09e27ce

Please sign in to comment.