Commit Graph

6 Commits

Author SHA1 Message Date
Max Leonard Inden
2f302943fe Unify rule file label accross repository
In some cases we have been using `alert-rules` in some cases
`prometheus-rulefiles`. This led to confusion [1]. Instead, unify the
Prometheus rules configmap labels to:

```yaml
labels:
  role: alert-rules
```

[1] https://github.com/coreos/prometheus-operator/issues/1102
2018-03-19 14:24:48 +01:00
Nuala Gaffey
bf6461b851 Wrapping the filename in quotes preserves the .yml suffix, so regex is no longer necessary 2017-11-28 19:22:17 -05:00
Nuala Gaffey
ce20757475 Per issue 593, append .yml to each filename used in the generated configmap. I wasn't able to see alerts in the Prometheus UI until I did this 2017-11-27 17:04:43 -05:00
Nuala Gaffey
40d746e12a Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both 2017-11-22 16:41:05 -05:00
Frederic Branczyk
1b7c8cdf21 *: bump Prometheus to v2.0.0-rc.1 2017-10-17 20:13:40 +02:00
Frederic Branczyk
9ed63f191f kube-prometheus: generate manifests without kubectl
For `--dry-run` to work with kubectl a Kubernetes cluster's apiserver is
actually used, which is unnecessary for generating these manifests. This
approach also allows further customization, such as adding labels to the
generated manifests.
2017-03-13 11:17:23 +01:00