Skip to content

Commit

Permalink
Merge pull request kubernetes#18456 from thockin/bump-flannel-ver
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Dec 11, 2015
2 parents 90b5db1 + 6b830cf commit 1b90941
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cluster/centos/config-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads}

# Define flannel version to use.
FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.3"}
FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.5"}

# Define etcd version to use.
ETCD_VERSION=${ETCD_VERSION:-"2.2.1"}
Expand Down
2 changes: 1 addition & 1 deletion cluster/centos/node/scripts/flannel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Before=docker.service
[Service]
EnvironmentFile=-/opt/kubernetes/cfg/flannel
ExecStart=/opt/kubernetes/bin/flanneld \${FLANNEL_ETCD} \${FLANNEL_ETCD_KEY}
ExecStart=/opt/kubernetes/bin/flanneld --ip-masq \${FLANNEL_ETCD} \${FLANNEL_ETCD_KEY}
ExecStartPost=/opt/kubernetes/bin/mk-docker-opts.sh -d /run/flannel/docker
Type=notify
Expand Down
2 changes: 1 addition & 1 deletion cluster/saltbase/salt/flannel/initd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Flannel overlay network daemon"
NAME=flannel
DAEMON=/usr/local/bin/flanneld
DAEMON_ARGS=""
DAEMON_ARGS="--ip-masq"
DAEMON_LOG_FILE=/var/log/$NAME.log
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
Expand Down
4 changes: 2 additions & 2 deletions cluster/ubuntu/download-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mkdir -p binaries/master
mkdir -p binaries/minion

# flannel
FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.3"}
FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.5"}
echo "Prepare flannel ${FLANNEL_VERSION} release ..."
grep -q "^${FLANNEL_VERSION}\$" binaries/.flannel 2>/dev/null || {
curl -L https://github.com/coreos/flannel/releases/download/v${FLANNEL_VERSION}/flannel-${FLANNEL_VERSION}-linux-amd64.tar.gz -o flannel.tar.gz
Expand Down Expand Up @@ -73,4 +73,4 @@ grep -q "^${KUBE_VERSION}\$" binaries/.kubernetes 2>/dev/null || {
rm -rf flannel* kubernetes* etcd*

echo "Done! All your commands locate in kubernetes/cluster/ubuntu/binaries dir"
popd
popd
1 change: 1 addition & 0 deletions cluster/ubuntu/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ EOF
function create-flanneld-opts() {
cat <<EOF > ~/kube/default/flanneld
FLANNEL_OPTS="--etcd-endpoints=http://${1}:4001 \
--ip-masq \
--iface=${2}"
EOF
}
Expand Down
2 changes: 1 addition & 1 deletion cluster/vagrant/provision-network-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ EOF
cat <<EOF >/etc/sysconfig/flanneld
FLANNEL_ETCD="${FLANNEL_ETCD_URL}"
FLANNEL_ETCD_KEY="/coreos.com/network"
FLANNEL_OPTIONS="-iface=${NETWORK_IF_NAME}"
FLANNEL_OPTIONS="-iface=${NETWORK_IF_NAME} --ip-masq"
EOF

# Start flannel
Expand Down
2 changes: 1 addition & 1 deletion cluster/vagrant/provision-network-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function provision-network-node {
cat <<EOF >/etc/sysconfig/flanneld
FLANNEL_ETCD="${FLANNEL_ETCD_URL}"
FLANNEL_ETCD_KEY="/coreos.com/network"
FLANNEL_OPTIONS="-iface=${NETWORK_IF_NAME}"
FLANNEL_OPTIONS="-iface=${NETWORK_IF_NAME} --ip-masq"
EOF

# Start flannel
Expand Down

0 comments on commit 1b90941

Please sign in to comment.