summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/kubernetes/ceph-helm.sh4
-rw-r--r--tools/kubernetes/k8s-cluster.sh3
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/kubernetes/ceph-helm.sh b/tools/kubernetes/ceph-helm.sh
index 6c92fb0..2df95c5 100644
--- a/tools/kubernetes/ceph-helm.sh
+++ b/tools/kubernetes/ceph-helm.sh
@@ -38,13 +38,13 @@ function setup_ceph() {
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')
diff --git a/tools/kubernetes/k8s-cluster.sh b/tools/kubernetes/k8s-cluster.sh
index 0047527..a5cc07d 100644
--- a/tools/kubernetes/k8s-cluster.sh
+++ b/tools/kubernetes/k8s-cluster.sh
@@ -67,7 +67,7 @@ EOF
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
@@ -229,6 +229,7 @@ function setup_helm() {
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!