Skip to content

Commit

Permalink
Merge pull request #5498 from ZJU-SEL/refactor-ubuntu
Browse files Browse the repository at this point in the history
Ubuntu-distro: deprecate & merge ubuntu single node work to ubuntu cluster node stuff
  • Loading branch information
rjnagal committed May 7, 2015
2 parents e25210d + 595345c commit 36bb479
Show file tree
Hide file tree
Showing 54 changed files with 887 additions and 1,377 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 36bb479

Please sign in to comment.