Skip to content

Commit

Permalink
Merge the old single-node and multi-node ubuntu deployment into one b…
Browse files Browse the repository at this point in the history
…etter approach and update the guidance
  • Loading branch information
WIZARD-CXY committed May 7, 2015
1 parent 7adaaa4 commit fa4d845
Show file tree
Hide file tree
Showing 52 changed files with 807 additions and 1,376 deletions.
5 changes: 5 additions & 0 deletions cluster/kubectl.sh
Expand Up @@ -107,6 +107,11 @@ if [[ "$KUBERNETES_PROVIDER" == "gke" ]]; then
"--kubeconfig=${HOME}/.config/gcloud/kubernetes/kubeconfig"
"--context=gke_${PROJECT}_${ZONE}_${CLUSTER_NAME}"
)
elif [[ "$KUBERNETES_PROVIDER" == "ubuntu" ]]; then
detect-master > /dev/null
config=(
"--server=http://${KUBE_MASTER_IP}:8080"
)
fi

echo "current-context: \"$(${kubectl} "${config[@]:+${config[@]}}" config view -o template --template='{{index . "current-context"}}')\"" >&2
Expand Down
74 changes: 0 additions & 74 deletions cluster/ubuntu-cluster/build.sh

This file was deleted.

257 changes: 0 additions & 257 deletions cluster/ubuntu-cluster/configure.sh

This file was deleted.

1 change: 0 additions & 1 deletion cluster/ubuntu-cluster/default_scripts/etcd

This file was deleted.

7 changes: 0 additions & 7 deletions cluster/ubuntu-cluster/default_scripts/flanneld

This file was deleted.

14 changes: 0 additions & 14 deletions cluster/ubuntu-cluster/default_scripts/kube-apiserver

This file was deleted.

11 changes: 0 additions & 11 deletions cluster/ubuntu-cluster/default_scripts/kube-controller-manager

This file was deleted.

10 changes: 0 additions & 10 deletions cluster/ubuntu-cluster/default_scripts/kube-proxy

This file was deleted.

0 comments on commit fa4d845

Please sign in to comment.