weave: Upgrade to 2.5.0 (#3660)
* weave: Upgrade to 2.5.0 Upstream Changes: - weave 2.5.0 (https://github.com/weaveworks/weave/releases/tag/v2.5.0) - Adds support for Kubernetes `hostPort` mapping - Adds support for Kubernetes `ipBlock` NetworkPolicy feature Our Changes: - Templates sync with upstream manifests - Remove legacy nodePort fix * BC for weave < 2.5.0pull/3713/head
parent
730caa3d58
commit
9ebdf0e3cf
|
@ -122,9 +122,9 @@ Supported Components
|
||||||
- [cilium](https://github.com/cilium/cilium) v1.3.0
|
- [cilium](https://github.com/cilium/cilium) v1.3.0
|
||||||
- [contiv](https://github.com/contiv/install) v1.1.7
|
- [contiv](https://github.com/contiv/install) v1.1.7
|
||||||
- [flanneld](https://github.com/coreos/flannel) v0.10.0
|
- [flanneld](https://github.com/coreos/flannel) v0.10.0
|
||||||
- [weave](https://github.com/weaveworks/weave) v2.4.1
|
|
||||||
- [kube-router](https://github.com/cloudnativelabs/kube-router) v0.2.1
|
- [kube-router](https://github.com/cloudnativelabs/kube-router) v0.2.1
|
||||||
- [multus](https://github.com/intel/multus-cni) v3.1
|
- [multus](https://github.com/intel/multus-cni) v3.1
|
||||||
|
- [weave](https://github.com/weaveworks/weave) v2.5.0
|
||||||
- Application
|
- Application
|
||||||
- [cephfs-provisioner](https://github.com/kubernetes-incubator/external-storage) v2.1.0-k8s1.11
|
- [cephfs-provisioner](https://github.com/kubernetes-incubator/external-storage) v2.1.0-k8s1.11
|
||||||
- [cert-manager](https://github.com/jetstack/cert-manager) v0.5.0
|
- [cert-manager](https://github.com/jetstack/cert-manager) v0.5.0
|
||||||
|
|
|
@ -53,8 +53,7 @@ calico_rr_version: "v0.6.1"
|
||||||
flannel_version: "v0.10.0"
|
flannel_version: "v0.10.0"
|
||||||
flannel_cni_version: "v0.3.0"
|
flannel_cni_version: "v0.3.0"
|
||||||
|
|
||||||
|
weave_version: 2.5.0
|
||||||
weave_version: "2.4.1"
|
|
||||||
pod_infra_version: 3.1
|
pod_infra_version: 3.1
|
||||||
contiv_version: 1.2.1
|
contiv_version: 1.2.1
|
||||||
cilium_version: "v1.3.0"
|
cilium_version: "v1.3.0"
|
||||||
|
|
|
@ -18,5 +18,5 @@
|
||||||
|
|
||||||
- name: Weave | Fix nodePort for Weave
|
- name: Weave | Fix nodePort for Weave
|
||||||
template:
|
template:
|
||||||
src: 00-weave.conflist.j2
|
src: 10-weave.conflist.j2
|
||||||
dest: /etc/cni/net.d/00-weave.conflist
|
dest: /etc/cni/net.d/10-weave.conflist
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"cniVersion": "0.3.0",
|
"cniVersion": "0.3.0",
|
||||||
"name": "mynet",
|
"name": "weave",
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
"name": "weave",
|
"name": "weave",
|
||||||
"type": "weave-net",
|
"type": "weave-net",
|
||||||
"hairpinMode": true
|
"hairpinMode": {{ weave_hairpin_mode | bool | lower }}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "portmap",
|
"type": "portmap",
|
|
@ -141,7 +141,7 @@ items:
|
||||||
- name: CONN_LIMIT
|
- name: CONN_LIMIT
|
||||||
value: "{{ weave_conn_limit | int }}"
|
value: "{{ weave_conn_limit | int }}"
|
||||||
- name: HAIRPIN_MODE
|
- name: HAIRPIN_MODE
|
||||||
value: "{{ weave_hairpin_mode | bool }}"
|
value: "{{ weave_hairpin_mode | bool | lower }}"
|
||||||
- name: IPALLOC_RANGE
|
- name: IPALLOC_RANGE
|
||||||
value: "{{ weave_ipalloc_range }}"
|
value: "{{ weave_ipalloc_range }}"
|
||||||
- name: EXPECT_NPC
|
- name: EXPECT_NPC
|
||||||
|
@ -176,12 +176,11 @@ items:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
image: {{ weave_kube_image_repo }}:{{ weave_kube_image_tag }}
|
image: {{ weave_kube_image_repo }}:{{ weave_kube_image_tag }}
|
||||||
imagePullPolicy: {{ k8s_image_pull_policy }}
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
||||||
livenessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
path: /status
|
path: /status
|
||||||
port: 6784
|
port: 6784
|
||||||
initialDelaySeconds: 30
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
|
@ -203,7 +202,6 @@ items:
|
||||||
- name: xtables-lock
|
- name: xtables-lock
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
- name: weave-npc
|
- name: weave-npc
|
||||||
args: []
|
|
||||||
env:
|
env:
|
||||||
- name: HOSTNAME
|
- name: HOSTNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
Loading…
Reference in New Issue