Skip to content

Commit

Permalink
Merge pull request kubernetes#4976 from dchen1107/docker
Browse files Browse the repository at this point in the history
Removed staled docker artifacts on GCE minions.
  • Loading branch information
roberthbailey committed Mar 4, 2015
2 parents eea1e88 + 2a6b5a2 commit abbd171
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cluster/gce/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,12 @@ function kube-up {
echo " echo 'Waiting for metadata MINION_IP_RANGE...'"
echo " sleep 3"
echo "done"
echo ""
echo "# Remove docker artifacts on minion nodes"
echo "iptables -t nat -F"
echo "ifconfig docker0 down"
echo "brctl delbr docker0"
echo ""
echo "EXTRA_DOCKER_OPTS='${EXTRA_DOCKER_OPTS}'"
echo "ENABLE_DOCKER_REGISTRY_CACHE='${ENABLE_DOCKER_REGISTRY_CACHE:-false}'"
grep -v "^#" "${KUBE_ROOT}/cluster/gce/templates/common.sh"
Expand Down

0 comments on commit abbd171

Please sign in to comment.