Skip to content

Commit

Permalink
Merge dev branch to pr branch including remote deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fate-grand-order authored and Harry Zhang committed Apr 22, 2015
2 parents 0314fc6 + 4e915f4 commit 8d6beb4
Show file tree
Hide file tree
Showing 35 changed files with 374 additions and 559 deletions.
11 changes: 11 additions & 0 deletions cluster/kubectl.sh
Expand Up @@ -120,6 +120,17 @@ elif [[ "$KUBERNETES_PROVIDER" == "vagrant" ]]; then
config=(
"--kubeconfig=$HOME/.kubernetes_vagrant_kubeconfig"
)

elif [[ "$KUBERNETES_PROVIDER" == "libvirt-coreos" ]]; then
detect-master > /dev/null
config=(
"--server=http://${KUBE_MASTER_IP}:8080"
)
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
251 changes: 0 additions & 251 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.

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

This file was deleted.

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

This file was deleted.

4 changes: 2 additions & 2 deletions cluster/ubuntu-cluster/build.sh → cluster/ubuntu/build.sh
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Download the etcd, flannel, and K8s binaries automatically
# Download the etcd, flannel, and K8s binaries automatically and stored in binaries directory
# Run as root only

# author @resouer @WIZARD-CXY
Expand Down Expand Up @@ -60,7 +60,7 @@ cp $ETCD/etcd $ETCD/etcdctl binaries
# k8s
echo "Download kubernetes release ..."

K8S_V="v0.12.0"
K8S_V="v0.15.0"
if [ ! -f kubernetes.tar.gz ] ; then
curl -L https://github.com/GoogleCloudPlatform/kubernetes/releases/download/$K8S_V/kubernetes.tar.gz -o kubernetes.tar.gz
tar xzf kubernetes.tar.gz
Expand Down

0 comments on commit 8d6beb4

Please sign in to comment.