3
#Install juju-deployer package
4
#sudo apt-get install -y juju-deployer
7
#TODO: soft link to bundle to stable and bleeding edge charm revisions
11
if [[ -d bundle-kubernetes/ ]]
13
export JUJU_REPOSITORY=$PWD
14
juju-deployer -c bundle-kubernetes/bundles.yaml
16
echo "git clone git clone https://github.com/kapilt/bundle-kubernetes.git"
17
git clone https://github.com/kapilt/bundle-kubernetes.git
18
export JUJU_REPOSITORY=$PWD
19
juju-deployer -c bundle-kubernetes/bundles.yaml
25
echo "Kubernetes CLI tools and examples has been already downloaded"
27
echo "Download Kubernetes CLI tools and examples"
28
wget https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.8.1/kubernetes.tar.gz
29
tar zxvf kubernetes.tar.gz
30
rm -f kubernetes.tar.gz
33
echo "Run: $ export PATH=${PATH}:${PWD}/kubernetes/platforms/linux/amd64"
34
echo "Run: $ export KUBERNETES_MASTER=`juju status kubernetes-master | grep public-address | awk '{ print $2 }' | xargs host | grep address | awk '{ print $4 }'`"
35
echo "Run Kubernate examples, README is kubernetes/examples/cassandra/README.md"