Commit Graph

106 Commits

Author SHA1 Message Date
David Tesar
bdeea07556 Add link to ingress instructions 2018-09-23 17:37:40 -07:00
David Tesar
391158cfd0 Add rest of dashboards 2018-09-21 15:07:48 -07:00
David Tesar
be14369fad Add Prometheus dashboard instructions 2018-09-21 14:22:46 -07:00
Damien Lespiau
345f045739 contrib/kube-prometheus: Update README with up-to-date default versions
With those changes, diff does show any differences between generated manifests
with and without the version override in a top level jsonnet file.
2018-09-19 11:58:06 +01:00
Joshua Olson
35c90355ba kube-prometheus: add link to grafana config 2018-08-30 11:43:17 -05:00
Frederic Branczyk
e7437ade81 Merge pull request #1732 from jolson490/kube-prometheus_documentation
kube-prometheus documentation
2018-08-22 20:28:52 +02:00
Frederic Branczyk
eb23d1d16c kube-prometheus: Add docs on monitoring additional namespaces 2018-08-13 17:11:57 +02:00
Joshua Olson
ce2ead0e04 kube-prometheus: remove mention of ksonnet example 2018-08-06 12:40:45 -05:00
Joshua Olson
e8e0b639f7 Incorporate the updates that were in PR #1727 2018-08-01 16:39:11 -05:00
Joshua Olson
a13064f19c Merge branch 'kube-prometheus_documentation' of https://github.com/jolson490/prometheus-operator into kube-prometheus_documentation 2018-08-01 15:59:32 -05:00
Joshua Olson
a9f4752b30 kube-prometheus: mention command to install jsonnet 2018-08-01 15:59:14 -05:00
Joshua Olson
0e9b446143 Merge branch 'master' into kube-prometheus_documentation 2018-08-01 09:26:28 -05:00
Joshua Olson
bed6e4865a kube-prometheus: update etcd info
Resolves issue #1629 in this repository.
2018-08-01 09:17:58 -05:00
Joshua Olson
fe923a7239 kube-prometheus: fix some links 2018-08-01 08:03:17 -05:00
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