Skip to content
Snippets Groups Projects
Commit 3bc8b3a7 authored by Frederic Branczyk's avatar Frederic Branczyk
Browse files

kube-prometheus: timing issue fixed with prometheus-watcher

parent d9086e98
No related branches found
No related tags found
No related merge requests found
...@@ -32,12 +32,6 @@ kctl apply -f manifests/prometheus/prometheus-k8s-service.yaml ...@@ -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-config.yaml
kctl apply -f manifests/alertmanager/alertmanager-service.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 # `kubectl apply` is currently not working for third party resources so we are
# using `kubectl create` here for the time being. # using `kubectl create` here for the time being.
# (https://github.com/kubernetes/kubernetes/issues/29542) # (https://github.com/kubernetes/kubernetes/issues/29542)
......
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