Update kube-ovn to 1.1.1 (#6060)
This commit is contained in:
parent
c58e5e80ce
commit
f6be326feb
4 changed files with 30 additions and 20 deletions
|
@ -126,6 +126,7 @@ Note: Upstart/SysV init based OS types are not supported.
|
||||||
- [cilium](https://github.com/cilium/cilium) v1.7.3
|
- [cilium](https://github.com/cilium/cilium) v1.7.3
|
||||||
- [contiv](https://github.com/contiv/install) v1.2.1
|
- [contiv](https://github.com/contiv/install) v1.2.1
|
||||||
- [flanneld](https://github.com/coreos/flannel) v0.12.0
|
- [flanneld](https://github.com/coreos/flannel) v0.12.0
|
||||||
|
- [kube-ovn](https://github.com/alauda/kube-ovn) v1.1.1
|
||||||
- [kube-router](https://github.com/cloudnativelabs/kube-router) v0.4.0
|
- [kube-router](https://github.com/cloudnativelabs/kube-router) v0.4.0
|
||||||
- [multus](https://github.com/intel/multus-cni) v3.4.1
|
- [multus](https://github.com/intel/multus-cni) v3.4.1
|
||||||
- [weave](https://github.com/weaveworks/weave) v2.6.2
|
- [weave](https://github.com/weaveworks/weave) v2.6.2
|
||||||
|
|
|
@ -83,7 +83,7 @@ weave_version: 2.6.2
|
||||||
pod_infra_version: 3.1
|
pod_infra_version: 3.1
|
||||||
contiv_version: 1.2.1
|
contiv_version: 1.2.1
|
||||||
cilium_version: "v1.7.3"
|
cilium_version: "v1.7.3"
|
||||||
kube_ovn_version: "v1.1.0"
|
kube_ovn_version: "v1.1.1"
|
||||||
kube_router_version: "v0.4.0"
|
kube_router_version: "v0.4.0"
|
||||||
multus_version: "v3.4.1"
|
multus_version: "v3.4.1"
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ kind: Deployment
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-ovn-controller
|
name: kube-ovn-controller
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/description: |
|
kubernetes.io/description: |
|
||||||
kube-ovn controller
|
kube-ovn controller
|
||||||
|
@ -69,7 +69,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- /kube-ovn/kube-ovn-controller-healthcheck.sh
|
- /kube-ovn/kube-ovn-controller-healthcheck.sh
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 300
|
||||||
periodSeconds: 7
|
periodSeconds: 7
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
@ -80,7 +80,7 @@ kind: DaemonSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-ovn-cni
|
name: kube-ovn-cni
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/description: |
|
kubernetes.io/description: |
|
||||||
This daemon set launches the kube-ovn cni daemon.
|
This daemon set launches the kube-ovn cni daemon.
|
||||||
|
@ -192,7 +192,7 @@ kind: DaemonSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-ovn-pinger
|
name: kube-ovn-pinger
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/description: |
|
kubernetes.io/description: |
|
||||||
This daemon set launches the openvswitch daemon.
|
This daemon set launches the openvswitch daemon.
|
||||||
|
@ -294,7 +294,7 @@ kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-ovn-pinger
|
name: kube-ovn-pinger
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
app: kube-ovn-pinger
|
app: kube-ovn-pinger
|
||||||
spec:
|
spec:
|
||||||
|
@ -308,7 +308,7 @@ kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-ovn-controller
|
name: kube-ovn-controller
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
app: kube-ovn-controller
|
app: kube-ovn-controller
|
||||||
spec:
|
spec:
|
||||||
|
@ -322,7 +322,7 @@ kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-ovn-cni
|
name: kube-ovn-cni
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
app: kube-ovn-cni
|
app: kube-ovn-cni
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -1,21 +1,16 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: kube-ovn
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: ovn-config
|
name: ovn-config
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: ovn
|
name: ovn
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
@ -31,6 +26,8 @@ rules:
|
||||||
- subnets
|
- subnets
|
||||||
- subnets/status
|
- subnets/status
|
||||||
- ips
|
- ips
|
||||||
|
- vlans
|
||||||
|
- networks
|
||||||
verbs:
|
verbs:
|
||||||
- "*"
|
- "*"
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
|
@ -51,12 +48,14 @@ rules:
|
||||||
- ""
|
- ""
|
||||||
- networking.k8s.io
|
- networking.k8s.io
|
||||||
- apps
|
- apps
|
||||||
|
- extensions
|
||||||
resources:
|
resources:
|
||||||
- networkpolicies
|
- networkpolicies
|
||||||
- services
|
- services
|
||||||
- endpoints
|
- endpoints
|
||||||
- statefulsets
|
- statefulsets
|
||||||
- daemonsets
|
- daemonsets
|
||||||
|
- deployments
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
@ -82,14 +81,14 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: ovn
|
name: ovn
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: ovn-nb
|
name: ovn-nb
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: ovn-nb
|
- name: ovn-nb
|
||||||
|
@ -107,7 +106,7 @@ kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: ovn-sb
|
name: ovn-sb
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: ovn-sb
|
- name: ovn-sb
|
||||||
|
@ -125,7 +124,7 @@ kind: Deployment
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: ovn-central
|
name: ovn-central
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/description: |
|
kubernetes.io/description: |
|
||||||
OVN components: northd, nb and sb.
|
OVN components: northd, nb and sb.
|
||||||
|
@ -197,6 +196,8 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- mountPath: /etc/openvswitch
|
- mountPath: /etc/openvswitch
|
||||||
name: host-config-openvswitch
|
name: host-config-openvswitch
|
||||||
|
- mountPath: /etc/ovn
|
||||||
|
name: host-config-ovn
|
||||||
- mountPath: /var/log/openvswitch
|
- mountPath: /var/log/openvswitch
|
||||||
name: host-log-ovs
|
name: host-log-ovs
|
||||||
- mountPath: /var/log/ovn
|
- mountPath: /var/log/ovn
|
||||||
|
@ -231,6 +232,9 @@ spec:
|
||||||
- name: host-config-openvswitch
|
- name: host-config-openvswitch
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/origin/openvswitch
|
path: /etc/origin/openvswitch
|
||||||
|
- name: host-config-ovn
|
||||||
|
hostPath:
|
||||||
|
path: /etc/origin/ovn
|
||||||
- name: host-log-ovs
|
- name: host-log-ovs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/log/openvswitch
|
path: /var/log/openvswitch
|
||||||
|
@ -243,7 +247,7 @@ kind: DaemonSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: ovs-ovn
|
name: ovs-ovn
|
||||||
namespace: kube-ovn
|
namespace: kube-system
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/description: |
|
kubernetes.io/description: |
|
||||||
This daemon set launches the openvswitch daemon.
|
This daemon set launches the openvswitch daemon.
|
||||||
|
@ -293,6 +297,8 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- mountPath: /etc/openvswitch
|
- mountPath: /etc/openvswitch
|
||||||
name: host-config-openvswitch
|
name: host-config-openvswitch
|
||||||
|
- mountPath: /etc/ovn
|
||||||
|
name: host-config-ovn
|
||||||
- mountPath: /var/log/openvswitch
|
- mountPath: /var/log/openvswitch
|
||||||
name: host-log-ovs
|
name: host-log-ovs
|
||||||
- mountPath: /var/log/ovn
|
- mountPath: /var/log/ovn
|
||||||
|
@ -336,6 +342,9 @@ spec:
|
||||||
- name: host-config-openvswitch
|
- name: host-config-openvswitch
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/origin/openvswitch
|
path: /etc/origin/openvswitch
|
||||||
|
- name: host-config-ovn
|
||||||
|
hostPath:
|
||||||
|
path: /etc/origin/ovn
|
||||||
- name: host-log-ovs
|
- name: host-log-ovs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/log/openvswitch
|
path: /var/log/openvswitch
|
||||||
|
|
Loading…
Reference in a new issue