Skip to content

Commit

Permalink
Using helm init --wait rather than custom kubectl wait, (#270)
Browse files Browse the repository at this point in the history
This seems to be much more reliable on waiting until helm is actually ready
  • Loading branch information
JamesMurkin authored and jimbobby5 committed Dec 5, 2019
1 parent e750bc7 commit 8f50304
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ N.B. The official Prometheus chart is complex and may take up to 1 minute to ins
export KUBECONFIG=$(kind get kubeconfig-path --name="quickstart-armada-server")

# Configure Helm
helm init && kubectl apply -f docs/quickstart/server-helm-clusterrolebinding.yaml
kubectl wait --for=condition=available --timeout=600s deployment/tiller-deploy -n kube-system
helm init --wait && kubectl apply -f docs/quickstart/server-helm-clusterrolebinding.yaml

# Install Redis
helm install stable/redis-ha --name=redis -f docs/quickstart/redis-values.yaml
Expand All @@ -63,8 +62,7 @@ export DOCKERHOSTIP=$(ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+')
export KUBECONFIG=$(kind get kubeconfig-path --name="quickstart-armada-executor-0")

# Configure Helm
helm init && kubectl apply -f docs/quickstart/server-helm-clusterrolebinding.yaml
kubectl wait --for=condition=available --timeout=600s deployment/tiller-deploy -n kube-system
helm init --wait && kubectl apply -f docs/quickstart/server-helm-clusterrolebinding.yaml

# Install Prometheus
helm install stable/prometheus-operator --name=prometheus-operator -f docs/quickstart/executor-prometheus-values.yaml --set prometheus.service.nodePort=30002
Expand All @@ -79,8 +77,7 @@ export DOCKERHOSTIP=$(ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+')
export KUBECONFIG=$(kind get kubeconfig-path --name="quickstart-armada-executor-1")

# Configure Helm
helm init && kubectl apply -f docs/quickstart/server-helm-clusterrolebinding.yaml
kubectl wait --for=condition=available --timeout=600s deployment/tiller-deploy -n kube-system
helm init --wait && kubectl apply -f docs/quickstart/server-helm-clusterrolebinding.yaml

# Install Prometheus
helm install stable/prometheus-operator --name=prometheus-operator -f docs/quickstart/executor-prometheus-values.yaml --set prometheus.service.nodePort=30003
Expand Down

0 comments on commit 8f50304

Please sign in to comment.