Commit Graph

92 Commits

Author SHA1 Message Date
Joshua Olson
b3ab555603 kube-prometheus: expand the minikube.jsonnet example 2018-08-01 07:58:40 -05:00
Max Leonard Inden
15cc3e059d */README.md: Include 'Contributing' section 2018-08-01 10:41:29 +02:00
Joshua Olson
cfa8ab7911 kube-prometheus: add more section headings under Customization 2018-07-31 14:44:24 -05:00
Joshua Olson
532f546dcf kube-prometheus: add info about installing & compiling 2018-07-31 14:36:55 -05:00
Joshua Olson
d58ccab5d0 kube-prometheus: commands to create and teardown the stack
Resolves issues #1571 and #1609 in this repository.
2018-07-31 13:59:50 -05:00
Joshua Olson
7d5c81c230 kube-prometheus: fixing/adding some links 2018-07-31 13:02:40 -05:00
Joshua Olson
1b92824fbd kube-prometheus: Update table of contents 2018-07-31 12:56:40 -05:00
seph
d01cdf9620 Update GKE kubelet scraping docs (#1682) 2018-07-25 09:20:08 +02:00
seph
358c8477ea Resource config now in config.kubeStateMetrics
As requested, this updates the resource specification to live directly in config.kubeStateMetrics

It also clarifies the config variables. These names are what google uses in some of their tooling.

(And a slight tweak to the way collectors are specified)
2018-07-17 09:59:48 -04:00
seph
b6e7d708c5 Configure kube-state-metrics
As I work with kube-state-metrics in a large cluster, I found I needed to make some adjustments.

- Expose the collectors, allowing one to configure exclusions. 

- Expose the addon_resizer parameters, facilitating reproduce adjustments

- Allow adjusting scrapeTimeout and scrapeInterval
2018-07-17 00:40:47 -04:00
Max Leonard Inden
cd709826c9 format: Introduce shellcheck [1] for shell script analysis
[1] https://github.com/koalaman/shellcheck
2018-07-08 16:58:17 +02:00
Max Inden
938fe3745c Merge pull request #1361 from luarx/readme-compiling-section
Make "Compiling" section easier to execute
2018-07-04 13:57:23 +02:00
Frederic Branczyk
ad748858e3 kube-prometheus: Add kube-prometheus mixin to configure static etcd 2018-07-03 15:57:48 +02:00
luarx
b6e323ca46 Add a tip about compiling process 2018-07-03 11:11:06 +02:00
Frederic Branczyk
62fa823e3e kube-prometheus: Add docs on how to set Alertmanager configuration 2018-06-07 11:53:37 +02:00
Frederic Branczyk
9ecfa96875 kube-prometheus: Add troubleshooting section 2018-06-07 11:35:58 +02:00
Dmitry Mishin
8601fb7bea Added section about grafana config #1436 2018-06-06 11:42:24 -07:00
Frederic Branczyk
1969fada7e kube-prometheus: Add table of contents 2018-05-25 16:49:19 +02:00
Frederic Branczyk
3a7628e842 Fix link to Prometheus rules & Grafana dashboards guide 2018-05-25 15:56:48 +02:00
Frederic Branczyk
ca057722e5 Add formatting jsonnet to generate make target 2018-05-25 15:56:10 +02:00
Frederic Branczyk
d8f6b6f81b kube-prometheus: Update kops docs 2018-05-25 15:54:54 +02:00
alpha
f1553a76b7 fix doc guide link of kube-prometheus 2018-05-25 14:41:28 +05:45
hsinhoyeh
2408e243b2 fix again 2018-05-20 10:53:31 +08:00
Frederic Branczyk
3edf5c5410 Merge pull request #1333 from mxinden/alerting-rule-file-crd
prometheus: Introduce RuleFile Custom Resource Definition
2018-05-18 17:14:28 +02:00
Max Leonard Inden
9e180452f8 prometheus: Introduce RuleFile Custom Resource Definition
This patch introduces a new Custom Resource Definition to the
Prometheus Operator - the Rule CRD. It addresses two main
needs:

1. Prometheus (alerting and recording) Rule validation during creation time
via Kubernetes Custom Resource Definition validation.

2. Life-cycle management of Prometheus application Rules alongside the
application itself, inside the applications Kubernetes namespace, not
necessarily the namespace of the scraping Prometheus instance.

A user defines Prometheus alerting and recording Rules via a Kubernetes
Custom Resource Definition. These Custom Resource Definitions can be
fully validated by the Kubernetes API server during creation time via
automatically generated OpenAPI specifications. Instead of the
restriction of a Prometheus instance to only select Rule definitions
inside its own namespace, the Prometheus specification is extended to
also specify namespaces to look for Rule Custom Resource Definitions
outside its own namespace.

---

Dependent technical changes:

- prometheus: Use github.com/jimmidyson/configmap-reload to reload rules

- prometheus: Remove Prometheus Statefulset deletion function. Starting
with K8s >=1.8 this is handled via OwnerReferences.

- prometheus: Do not add rule files checksum to Prometheus configuration
secret

- prometheus: Update StatefulSet only on relevant changes. Instead of
updating the Prometheus StatefulSet on every `sync()` run, only update
it if the input parameters to `makeStatefulSet` change.  Enforce this
via a checksum of the parameters which is saved inside the annotations
of the statefulset.

- e2e/prometheus: Check how often resources (Secret, ConfigMap,
Prometheus CRD, Service) are updated to enforce that Prometheus Operator
only updated created resources if necessary.

- contrib/prometheus-config-reloader: Remove logic to retriev K8s
ConfigMaps. These are mounted into the pod right away now.
2018-05-18 16:27:20 +02:00
Frederic Branczyk
fef0a65938 Adapt docs on additional rules and dashboards 2018-05-18 11:00:11 +02:00
Max Leonard Inden
0461c85098 docs: Run embedmd on both Docs and kube-prometheus README.md 2018-05-14 11:55:16 +02:00
Frederic Branczyk
3388f96afe Address comments 2018-05-06 08:29:52 -07:00
Frederic Branczyk
edf21e4382 kube-prometheus/jsonnet: Use jsonnet-bundler 2018-04-28 19:05:19 +01:00
Frederic Branczyk
507617e150 Remove old manifests and replace with jsonnet build 2018-04-13 13:36:34 +02:00
Frederic Branczyk
f97b6af095 *: Adapt documentation and scripts to use minikube kubelet authN/authZ 2018-01-19 15:28:38 +01:00
stroebitzer
9e77cc4bbd add hint to change to proper dir in readme 2017-11-21 08:42:06 +01:00
stroebitzer
0bfc3d0966 Fix docu concerning initial deployment
After cloning the repo I wanted to deploy kube-prometheus into my running minikube. I did the steps mentioned in the docu which brought me to the following exception:

namespace "monitoring" created
error: the path "manifests/prometheus-operator" does not exist
Waiting for Operator to register custom resource definitions.................................................................................................................^C
2017-11-17 13:15:21 +01:00
Arve Knudsen
7d693b5433 kube-prometheus: Update development docs 2017-11-10 12:07:15 +01:00
Arve Knudsen
245029da50 kube-prometheus: Improve README, recommending Tectonic Installer 2017-11-10 12:03:47 +01:00
Arve Knudsen
40718bed62 Fix ServiceMonitor documentation link 2017-09-13 12:26:34 +02:00
eedugon
66dd7b253d Hints and notes added to handle grafana dashboards (#534) 2017-08-02 12:09:44 +02:00
Christian Jauvin
81fdfaddb3 Fix relative links in kube-prometheus readme 2017-06-16 16:34:38 -04:00
Max Inden
f51416ba99 Update README.md 2017-03-13 09:26:20 +01:00
Mike Bryant
52dbfc7594 Add warning about Grafana HA 2017-03-10 21:34:47 +00:00
Nándor István Krácser
cf5f99793b Fix k8s resource example 2017-03-08 09:49:35 +01:00
Frederic Branczyk
89ed6773e7 Add 'contrib/kube-prometheus/' from commit '81c0d2f4d30f63a4e274c2870c5afc89241827b0'
git-subtree-dir: contrib/kube-prometheus
git-subtree-mainline: 050ca21276696c8603375c699513ec487301ed62
git-subtree-split: 81c0d2f4d3
2017-03-06 09:55:36 +01:00