dev=$4
# per https://github.com/att/netarbiter/tree/master/sds/ceph-docker/examples/helm
echo "${FUNCNAME[0]}: Clone netarbiter"
- git clone https://github.com/att/netarbiter.git
+ git clone https://github.com/blsaws/netarbiter.git
echo "${FUNCNAME[0]}: Create a .kube/config secret so that a K8s job could run kubectl inside the container"
cd netarbiter/sds/ceph-docker/examples/helm
kubectl create namespace ceph
./create-secret-kube-config.sh ceph
- ./helm-install-ceph.sh my_ceph_chart $private_net $public_net
+ ./helm-install-ceph.sh cephtest $private_net $public_net
kubedns=$(kubectl get service -o json --namespace kube-system kube-dns | \
jq -r '.spec.clusterIP')
sudo apt-get update
# Next command is to workaround bug resulting in "PersistentVolumeClaim is not bound" for pod startup (remain in Pending)
# TODO: reverify if this is still an issue in the final working script
-sudo apt-get -y install ceph-common
+sudo apt-get -y install ceph ceph-common
sudo apt-get -y install --allow-downgrades kubectl=${KUBE_VERSION}-00 kubelet=${KUBE_VERSION}-00 kubeadm=${KUBE_VERSION}-00
# Needed for ceph setup etc
sudo apt-get -y install jq
chmod 700 get_helm.sh
./get_helm.sh
helm init
+ nohup helm serve &
helm repo update
# TODO: Workaround for bug https://github.com/kubernetes/helm/issues/2224
# For testing use only!