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
Frederic Branczyk
d3f8078ca6
Merge pull request #1708 from prune998/prune/jsonner-namespace-roles
...
Prune/jsonnet namespace roles
2018-08-01 14:02:03 +02:00
prune
facf7cc0e1
minor update as requested in PR
2018-08-01 07:35:28 -04:00
Frederic Branczyk
7f8774ce5d
Merge pull request #1724 from mxinden/readme
...
*/README.md: Include 'Contributing' section
2018-08-01 13:03:59 +02:00
Frederic Branczyk
7879040895
kube-prometheus: Fix jsonnet lock file
2018-08-01 11:40:00 +02:00
Max Leonard Inden
15cc3e059d
*/README.md: Include 'Contributing' section
2018-08-01 10:41:29 +02:00
Max Leonard Inden
d0020e4863
prometheus: Enqueue both P in NS as well as P selecting obj in NS
...
By default if a new object (servicemonitor, secret, ...) is created /
updated / deleted, we reconcile all Prometheus instances in that
namespace. In addition we also need to reconcile all Prometheus
instances selecting objects (ServiceMonitors, PrometheusRules) in that
namespace.
2018-08-01 10:03:58 +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
prune
64f3e5def9
added newline in doc file
2018-07-31 14:49:13 -04: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
prune
1838259b25
Merge remote-tracking branch 'origin/prune/jsonner-namespace-roles' into prune/jsonner-namespace-roles
2018-07-27 07:48:23 -04:00
prune
fc382e15cd
allow creation of role and rolebindings for other namespaces in jsonnet
...
replaced default namespaces rbac rules by a loop
set right variable name
2018-07-27 07:48:17 -04:00
prune
20ec197cd4
set right variable name
2018-07-27 07:47:03 -04:00
prune
88f79258f5
replaced default namespaces rbac rules by a loop
2018-07-27 07:05:42 -04:00
prune
85d6c48f98
allow creation of role and rolebindings for other namespaces in jsonnet
2018-07-26 14:58:12 -04:00
William Leese
aee5d45255
pull in dep changes
...
Change-Id: I589eb7b007f9ac035936c95eaa818497607038bc
2018-07-26 09:45:17 +02:00
William Leese
9db9ae932a
make format generate-in-docker
...
Change-Id: I54f6f26449b0f16b7be2f202ec93e7c29a377108
2018-07-26 09:02:48 +02:00
William Leese
aedbeca70b
make generate-in-docker
...
Change-Id: I85f679ea7a33febf5d730960bf754f4b459f53d3
2018-07-26 09:02:48 +02:00
Frederic Branczyk
f8d0de9835
kube-prometheus: Re-generate
2018-07-25 20:02:08 +02:00
Frederic Branczyk
db39e213db
kube-prometheus: Update jsonnet lock
2018-07-25 17:22:14 +02:00
Frederic Branczyk
9a011bb8ac
kube-prometheus: Use locking mechanism for jsonnet dependencies
2018-07-25 17:21:50 +02:00
Haoyu Wang
6f3eac5f4c
prometheus: Add ability to configure apiserver config of kubernetes_sd_config ( #1439 )
2018-07-25 15:22:59 +02:00
Frederic Branczyk
10315f617e
Merge pull request #1687 from markeijsermans/core-workloads-api-rbac
...
adjust rbac apiGroups to support core workloads api apps/v1
2018-07-25 09:59:33 +02:00
seph
d01cdf9620
Update GKE kubelet scraping docs ( #1682 )
2018-07-25 09:20:08 +02:00
Mark Eijsermans
cf6232c479
adjust rbac apiGroups to support core workloads api apps/v1
2018-07-24 18:05:16 -07:00
Max Leonard Inden
b7a9751f09
Merge remote-tracking branch 'master' into release-0.22
2018-07-24 17:25:40 +02:00
Max Inden
8edd622f2e
*: cut 0.22.2 ( #1683 )
2018-07-24 17:17:53 +02:00
Saverio Proto
e47243b413
metrics-server: enable access to nodes/stats
...
Without this access the logs of metrics-server will show the following error line:
```
unable to fully scrape metrics from source kubelet_summary:k8s-1: unable to fetch metrics from Kubelet k8s-1 (10.8.10.14): request failed - "403 Forbidden", response: "Forbidden (user=system:serviceaccount:kube-system:metrics-server, verb=get, resource=nodes, subresource=stats)",
```
and `kubectl top nodes` will give no results
2018-07-24 12:58:40 +02:00
Lucas Serven
d1cd951903
*: regenerate
2018-07-23 13:28:14 +02:00
Ali Rizwan
d728ab5511
Only alert for nodes that currently exist ( #1661 )
2018-07-23 12:20:54 +02:00
Max Inden
06df9fb67d
bundle.yaml: Bump Prometheus Operator memory request and limit ( #1622 )
...
When handling big Kubernetes objects, marshalling objects is memory
intense. This can be reproduced with the end-to-end test
`TestPrometheusRulesExceedingConfigMapLimit`. This patch doubles the
memory request and limit of the Prometheus Operator deployment to 100mb
and 200mb.
2018-07-20 15:09:17 +02:00
Lucas Serven
0df7d4ccdf
Merge branch 'master' into r-22
2018-07-20 11:59:50 +02:00
Lucas Serven
55dbef6f43
*: cut 0.22.1
2018-07-19 17:19:22 +02:00
Lucas Serven
4d2cddad54
contrib: regenerate
2018-07-19 16:05:34 +02:00
Frederic Branczyk
ade7b88d65
Update jsonnet dependencies
2018-07-18 10:25:09 +02:00
Frederic Branczyk
b1f4e9136d
Merge pull request #1616 from directionless/adjustable-kube-state-metrics
...
Configure kube-state-metrics
2018-07-17 20:13:23 +02:00
Frederic Branczyk
04cf9ce35a
*: Re-generate
2018-07-17 19:49:42 +02:00
seph
596b8697d0
Set default scrape values
...
We default to a 30s scrapeInterval, we may as well also set scrapeTimeout to the same.
2018-07-17 10:24:10 -04: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
Max Inden
efe686c0c0
security: Enforce nobody user and read only / ( #1393 )
...
* Make the Prometheus Operator Docker image run as `nobody` by default.
* Disallow privilege escalation via K8s
* Enforce read only root filesystem
2018-07-17 15:11:46 +02:00
Max Inden
dabfca595b
Makefile: Properly rebuild po-docgen on src changes ( #1625 )
2018-07-17 15:10:38 +02: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