From 3bc8b3a7ae0bd997d03048d70bb5a7a2f41955bd Mon Sep 17 00:00:00 2001 From: Frederic Branczyk <fbranczyk@gmail.com> Date: Wed, 15 Mar 2017 17:30:51 +0100 Subject: [PATCH] kube-prometheus: timing issue fixed with prometheus-watcher --- hack/cluster-monitoring/deploy | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hack/cluster-monitoring/deploy b/hack/cluster-monitoring/deploy index bcb6a42e..9ad91eb0 100755 --- a/hack/cluster-monitoring/deploy +++ b/hack/cluster-monitoring/deploy @@ -32,12 +32,6 @@ kctl apply -f manifests/prometheus/prometheus-k8s-service.yaml kctl apply -f manifests/alertmanager/alertmanager-config.yaml kctl apply -f manifests/alertmanager/alertmanager-service.yaml -# unfortunately statefulsets cannot be changed except for their replica count -# so we need to make sure that the rule files are created before we create the -# prometheus resource so it can properly discover the rule files when creating -# the statefulset -sleep 5 - # `kubectl apply` is currently not working for third party resources so we are # using `kubectl create` here for the time being. # (https://github.com/kubernetes/kubernetes/issues/29542) -- GitLab