Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
125f3cf6f6 | ||
|
|
b2ffe77029 | ||
|
|
3607cf2d7a | ||
|
|
a57cf4bc83 | ||
|
|
6036037817 |
No files matched your search
+12
-2
@@ -1,6 +1,15 @@
|
|||||||
|
## Release 1.9.2
|
||||||
|
|
||||||
|
Bug fixes and minor improvements
|
||||||
|
|
||||||
|
* Fix a weave-kube bug when `br_netfilter` or `xt_set` module is compiled into
|
||||||
|
kernel #2820/#2821
|
||||||
|
* Detect the absence of the required `xt_set` kernel module #2821
|
||||||
|
|
||||||
## Release 1.9.1
|
## Release 1.9.1
|
||||||
|
|
||||||
# Bug fixes and minor improvements
|
Bug fixes and minor improvements
|
||||||
|
|
||||||
* Fix a race condition when the Weave Net container is restarted
|
* Fix a race condition when the Weave Net container is restarted
|
||||||
which could allow a new container to be allocated the same IP
|
which could allow a new container to be allocated the same IP
|
||||||
address as an existing one #2784,#2787
|
address as an existing one #2784,#2787
|
||||||
@@ -14,7 +23,8 @@
|
|||||||
larger clusters can be created #2781
|
larger clusters can be created #2781
|
||||||
* WeaveDNS was incorrectly case-sensitive for reverse DNS lookups #2817,#2818
|
* WeaveDNS was incorrectly case-sensitive for reverse DNS lookups #2817,#2818
|
||||||
|
|
||||||
# Build and Testing
|
Build and Testing
|
||||||
|
|
||||||
* Scripts to create VMs to run automated tests were rewritten to use
|
* Scripts to create VMs to run automated tests were rewritten to use
|
||||||
Terraform and Ansible, to make it much easier to test with different
|
Terraform and Ansible, to make it much easier to test with different
|
||||||
versions of components such as Docker and Kubernetes #2647,#2694,#2775,#2796
|
versions of components such as Docker and Kubernetes #2647,#2694,#2775,#2796
|
||||||
|
|||||||
@@ -138,6 +138,8 @@ Finally, for **Mainline** releases only:
|
|||||||
published to https://www.weave.works
|
published to https://www.weave.works
|
||||||
* Add the new version of `weave-net` to the checkpoint system at
|
* Add the new version of `weave-net` to the checkpoint system at
|
||||||
https://checkpoint-api.weave.works/admin
|
https://checkpoint-api.weave.works/admin
|
||||||
|
* File a PR to update the version of the daemonset at
|
||||||
|
https://github.com/kubernetes/kops/tree/master/upup/models/cloudup/resources/addons/networking.weave
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,23 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
modprobe_safe() {
|
||||||
|
modprobe $1 || echo "Ignore the error if \"$1\" is built-in in the kernel" >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check whether xt_set actually exists
|
||||||
|
xt_set_exists() {
|
||||||
|
ipset create weave-kube-test hash:ip
|
||||||
|
iptables -t filter -N WEAVE-KUBE-TEST
|
||||||
|
if ! iptables -A WEAVE-KUBE-TEST -m set --match-set weave-kube-test src -j DROP; then
|
||||||
|
NOT_EXIST=1
|
||||||
|
fi
|
||||||
|
iptables -F WEAVE-KUBE-TEST
|
||||||
|
iptables -X WEAVE-KUBE-TEST
|
||||||
|
ipset destroy weave-kube-test
|
||||||
|
[ -z "$NOT_EXIST" ] || (echo "\"xt_set\" does not exist" >&2 && return 1)
|
||||||
|
}
|
||||||
|
|
||||||
# Default if not supplied - same as weave net default
|
# Default if not supplied - same as weave net default
|
||||||
IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
|
IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
|
||||||
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
|
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
|
||||||
@@ -17,8 +34,9 @@ EXPECT_NPC=${EXPECT_NPC:-1}
|
|||||||
|
|
||||||
# Ensure we have the required modules for NPC
|
# Ensure we have the required modules for NPC
|
||||||
if [ "${EXPECT_NPC}" != "0" ]; then
|
if [ "${EXPECT_NPC}" != "0" ]; then
|
||||||
modprobe br_netfilter
|
modprobe_safe br_netfilter
|
||||||
modprobe xt_set
|
modprobe_safe xt_set
|
||||||
|
xt_set_exists
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# kube-proxy requires that bridged traffic passes through netfilter
|
# kube-proxy requires that bridged traffic passes through netfilter
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ RUN apk add --update \
|
|||||||
curl \
|
curl \
|
||||||
ethtool \
|
ethtool \
|
||||||
iptables \
|
iptables \
|
||||||
|
ipset \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
util-linux \
|
util-linux \
|
||||||
conntrack-tools \
|
conntrack-tools \
|
||||||
|
|||||||
Reference in new issue
Block a user