Created
August 2, 2016 14:21
-
-
Save ramitsurana/19ef00d8b44dee71af233b9c401cc141 to your computer and use it in GitHub Desktop.
k8s-setup-full
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v1.3.0/kubernetes.tar.gz | |
tar xvf kubernetes | |
cd kubernetes/cluster/ubuntu | |
./download-release.sh | |
# The above steps will install binaries under the ubuntu directory | |
# You can check it under binaries directory | |
vim config-default.sh | |
#Please change the following entries | |
# export nodes="[email protected]" //Url for showing up nodes.Please change it to the node which you want to proceed with | |
# export roles="ai" //a = master,i = node | |
# export NUM_MINIONS=${NUM_MINIONS:-1} | |
cd .. | |
KUBERNETES_PROVIDER=ubuntu ./kube-up.sh | |
# For configuring kubectl | |
# Check your version of system and hardware | |
# Kubernetes 1.3 ships with all kubectl packages for all the platforms | |
# In my case it is Linux (amd64) | |
cd .. | |
cd platforms/linux/amd64/ | |
chmod +x kubectl | |
cp kubectl /usr/local/bin/kubectl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment