Merge pull request #4559 from roberthbailey/update-sh-readme

Cleanups to the live update example
This commit is contained in:
Jeff Lowdermilk 2015-02-18 16:15:59 -08:00
commit 64d2dc772d
4 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ echo " http://localhost:8001/static/"
echo
export KUBE_ROOT=$(dirname $0)/../..
export KUBECTL=${KUBE_REPO_ROOT}/cluster/kubectl.sh
export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh
set -x

View File

@ -23,11 +23,11 @@ if [[ "${DOCKER_HUB_USER+set}" != "set" ]] ; then
exit 1
fi
export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBE_REPO_ROOT}/cluster/kubectl.sh
export KUBE_ROOT=${KUBE_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh
set -x
SCHEMA=${KUBE_REPO_ROOT}/examples/update-demo/nautilus-rc.yaml
SCHEMA=${KUBE_ROOT}/examples/update-demo/nautilus-rc.yaml
cat ${SCHEMA} | sed "s/DOCKER_HUB_USER/${DOCKER_HUB_USER}/" | ${KUBECTL} create -f -

View File

@ -20,8 +20,8 @@ set -o pipefail
NEW_SIZE=${1:-4}
export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBECTL-$KUBE_REPO_ROOT/cluster/kubectl.sh}
export KUBE_ROOT=${KUBE_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBECTL-$KUBE_ROOT/cluster/kubectl.sh}
set -x

View File

@ -38,7 +38,7 @@ You may need to open the firewall for port 8080 using the [console][cloud-consol
```bash
$ gcloud compute firewall-rules create \
--allow tcp:8080 --target-tags=kubernetes-minion \
--zone=us-central1-a kubernetes-minion-8080
kubernetes-minion-8080
```
### Step Zero: Build the Docker images