Skip to content

Commit

Permalink
prepare for release v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma committed Jun 3, 2021
1 parent 4c3f74f commit 907b34d
Show file tree
Hide file tree
Showing 12 changed files with 241 additions and 26 deletions.
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# CHANGELOG

## 1.7.0 -- 2021/06/03

### New Feature
* Support configuration for cni-bin-dir and cni-conf-dir
* Support for vpc nat gateway
* Support for multus ovn nic
* Support ecmp static route for centralized gateway
* Support vxlan tunnel encapsulation
* Support hybrid mode for geneve and vlan
* Support external egress gateway
* Support underlay mode with single nic
* Support kube-ovn-speaker announce service ip
* Support kube-ovn-speaker graceful restart
* Support interconnection between OpenStack and Kubernetes

### Bugfix
* Restart when init ping failed
* Make sure northd leader change
* Wrong split in FindLoadbalancer function
* Ip6tables check error
* Reset ovn0 addr
* Masq traffic to ovn0 from other nodes
* Add missing ovn-ic-db schema
* Update ipam cidr when subnet changes
* Disable offload for genev_sys_6081
* Configure nic failed when ifname empty
* Udp checksum offload error
* Restart ovn-controller to force ovn-ic flows update
* Update usingips check when update finalizer for subnet
* Livenessprobe fail if ovn nb/ovn sb not running
* Release norhtd lock when power off
* Fix chassis check for node
* Pod terminating not recycle ip when controller not ready

### Monitoring
* Split ovn-monitor from ovn-central as an independent deployment
* Optimization for ovn/ovs status metric
* Add more command to diagnose results, such as ovs-dpctl, ovs-ofctl, ovs-appctl and so on

### Performance
* Support use ovs internal-port instead of veth pair to implement pod nic

### Test
* Add e2e for ofctl/dpctl/appctl
* Add service e2e
* Add single node e2e
* Add e2e tests for external egress gateway

### Mics
* Update ovn to 20.12 and ovs to 2.15
* Update Go to 1.16

## 1.6.0 -- 2021/01/04

### New Feature
Expand Down
2 changes: 2 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ EXCLUDE_IPS="" # EXCLUDE_IPS for default subnet
LABEL="node-role.kubernetes.io/master" # The node label to deploy OVN DB
NETWORK_TYPE="geneve" # geneve or vlan
TUNNEL_TYPE="geneve" # geneve or vxlan
POD_NIC_TYPE="veth-pair" # veth-pair or internal-port

# VLAN Config only take effect when NETWORK_TYPE is vlan
PROVIDER_NAME="provider"
Expand Down Expand Up @@ -1579,6 +1580,7 @@ spec:
- --network-type=$NETWORK_TYPE
- --default-interface-name=$VLAN_INTERFACE_NAME
- --default-vlan-id=$VLAN_ID
- --pod-nic-type=$POD_NIC_TYPE
env:
- name: ENABLE_SSL
value: "$ENABLE_SSL"
Expand Down
4 changes: 2 additions & 2 deletions docs/cluster-interconnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ 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.6.0 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.7.0 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.
```yaml
Expand Down Expand Up @@ -85,7 +85,7 @@ For manually adding routes, you need to find the
## Manually Route Step
1. Same as AutoRoute 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.6.0 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.7.0 bash start-ic-db.sh
```
2. Create `ic-config` ConfigMap in each cluster. Edit and apply the yaml below in each cluster. Note that `auto-route` is set to `false`
```yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/high-available.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Change the replicas to 3, and add NODE_IPS environment var points to node that h
replicas: 3
containers:
- name: ovn-central
image: "kubeovn/kube-ovn:v1.6.0"
image: "kubeovn/kube-ovn:v1.7.0"
imagePullPolicy: Always
env:
- name: POD_IP
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If you want to try the latest developing Kube-OVN, try the script below
JOIN_CIDR="100.64.0.0/16" # 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, if empty will use the nic that the default route use
VERSION="v1.6.0"
VERSION="v1.7.0"
```

After v1.6.0 `IFACE` support regex, e.g. `IFACE=enp6s0f0,eth.*`
Expand Down
33 changes: 25 additions & 8 deletions yamls/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ spec:
served: true
storage: true
additionalPrinterColumns:
- name: IP
- name: V4IP
type: string
jsonPath: .spec.ipAddress
jsonPath: .spec.v4IpAddress
- name: V6IP
type: string
jsonPath: .spec.v6IpAddress
- name: Mac
type: string
jsonPath: .spec.macAddress
Expand Down Expand Up @@ -42,6 +45,10 @@ spec:
type: string
ipAddress:
type: string
v4IpAddress:
type: string
v6IpAddress:
type: string
attachIps:
type: array
items:
Expand Down Expand Up @@ -108,22 +115,32 @@ spec:
- name: GatewayType
type: string
jsonPath: .spec.gatewayType
- name: Used
- name: V4Used
type: number
jsonPath: .status.v4usingIPs
- name: V4Available
type: number
jsonPath: .status.usingIPs
- name: Available
jsonPath: .status.v4availableIPs
- name: V6Used
type: number
jsonPath: .status.availableIPs
jsonPath: .status.v6usingIPs
- name: V6Available
type: number
jsonPath: .status.v6availableIPs
schema:
openAPIV3Schema:
type: object
properties:
status:
type: object
properties:
availableIPs:
v4availableIPs:
type: number
v4usingIPs:
type: number
v6availableIPs:
type: number
usingIPs:
v6usingIPs:
type: number
activateGateway:
type: string
Expand Down
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: "kubeovn/kube-ovn:v1.6.0"
image: "kubeovn/kube-ovn:v1.7.0"
imagePullPolicy: IfNotPresent
command:
- /kube-ovn/start-controller.sh
Expand Down Expand Up @@ -117,7 +117,7 @@ spec:
hostPID: true
initContainers:
- name: install-cni
image: "kubeovn/kube-ovn:v1.6.0"
image: "kubeovn/kube-ovn:v1.7.0"
imagePullPolicy: IfNotPresent
command: ["/kube-ovn/install-cni.sh"]
securityContext:
Expand All @@ -128,7 +128,7 @@ spec:
name: cni-bin
containers:
- name: cni-server
image: "kubeovn/kube-ovn:v1.6.0"
image: "kubeovn/kube-ovn:v1.7.0"
imagePullPolicy: IfNotPresent
command:
- bash
Expand Down Expand Up @@ -236,7 +236,7 @@ spec:
hostPID: true
containers:
- name: pinger
image: "kubeovn/kube-ovn:v1.6.0"
image: "kubeovn/kube-ovn:v1.7.0"
command: ["/kube-ovn/kube-ovn-pinger", "--external-address=114.114.114.114", "--external-dns=alauda.cn"]
imagePullPolicy: IfNotPresent
securityContext:
Expand Down

0 comments on commit 907b34d

Please sign in to comment.