Skip to content
Snippets Groups Projects
Commit dee7f834 authored by Fabian Reinartz's avatar Fabian Reinartz Committed by GitHub
Browse files

Merge pull request #28 from brancz/hide-expected-errors

hack/cluster-monitoring: hide expected errors and print meaning
parents b5259148 a468d489
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,11 @@ kctl() {
kctl apply -f manifests/prometheus-operator.yaml
# Wait for TPRs to be ready.
until kctl get servicemonitor; do sleep 1; done
until kctl get prometheus; do sleep 1; done
until kctl get alertmanager; do sleep 1; done
printf "Waiting for Operator to register third party objects..."
until kctl get servicemonitor > /dev/null 2>&1; do sleep 1; printf "."; done
until kctl get prometheus > /dev/null 2>&1; do sleep 1; printf "."; done
until kctl get alertmanager > /dev/null 2>&1; do sleep 1; printf "."; done
echo "done!"
kctl apply -f manifests/exporters
kctl apply -f manifests/grafana
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment