juju scp kubernetes-master/0:/home/ubuntu/config ~/joid_config/config
-export KUBECONFIG=~/joid_config/config
-export KUBERNETES_PROVIDER=local
export KUBE_MASTER_IP=`juju status kubernetes-master --format=yaml | grep public-address | cut -d ":" -f 2 | head -1 | sed "s/^[ \t]*//g"`
export KUBE_MASTER_URL=http://${KUBE_MASTER_IP}:6443
configk8(){
cat <<-EOF
-export KUBECONFIG=${KUBECONFIG}
-export KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER}
+export KUBECONFIG=~/joid_config/config
+export KUBERNETES_PROVIDER=local
export KUBE_MASTER_IP=${KUBE_MASTER_IP}
export KUBE_MASTER_URL=${KUBE_MASTER_URL}
EOF