Commit Graph

907 Commits

Author SHA1 Message Date
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
Max Leonard Inden 4083705edf *: Cut 0.22.0 2018-07-10 13:41:50 +02:00
Frederic Branczyk 32e5a0831a Merge pull request #1584 from brancz/tags
Allow settings custom tags of container images
2018-07-09 15:08:10 +02:00
Frederic Branczyk 9ec8ae65ee *: Allow settings custom tags of container images 2018-07-09 13:23:00 +02: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
Frederic Branczyk 17477a1107 Merge pull request #1561 from brancz/fix-generated-crds
*: Fix CRD generation
2018-07-04 16:37:20 +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 a114989eac Merge pull request #1552 from brancz/static-etcd
kube-prometheus: Add kube-prometheus mixin to configure static etcd
2018-07-03 15:58:14 +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 9c26600e0a *: Fix CRD generation 2018-07-02 16:54:56 +02:00
Frederic Branczyk 171b7c41e1 *: Re-generate 2018-07-02 10:54:27 +02:00
Frederic Branczyk 5c4c200df7 Merge branch 'make-deps' into k-1.11 2018-07-02 10:34:30 +02:00
Tamal Saha 0de5a5c8cd Update client libraries to Kubernetes 1.11 2018-07-01 09:23:00 -07:00
Frederic Branczyk cb504f678a *: Re-generate 2018-07-01 12:23:43 +02:00
Tamal Saha 5f5664b3aa Update client libraries to Kubernetes 1.11 2018-06-30 02:25:43 -07:00
Frederic Branczyk 2a96d77dd9 kube-prometheus: Re-generate Grafana jsonnet dependency 2018-06-28 17:31:58 +02:00
Or Sela 04b7f2f110 Fix missing and broken links in developing-prometheus-rules-and-grafana-dashboards doc 2018-06-28 17:37:32 +03:00