Max Leonard Inden
cbb03d387c
*.sh: Set sane bash options on shell scripts
...
Adding the following accross the project:
```bash
/# exit immediately when a command fails
set -e
/# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
/# error on unset variables
+set -u
```
2018-08-16 11:20:38 +02:00
Frederic Branczyk
52e1906ba0
kube-prometheus: Update dependencies and re-generate
2018-08-14 16:39:48 +02:00
Frederic Branczyk
f291ce1005
kube-prometheus: bump Prometheus Operator version
2018-08-14 16:34:05 +02:00
Frederic Branczyk
dc23512513
Merge pull request #1756 from brancz/static-etcd-insecure
...
kube-prometheus: Allow skipping etcd TLS errors
2018-08-14 11:11:56 +02:00
Frederic Branczyk
7bb87dd432
kube-prometheus: Bump versions
2018-08-13 21:34:54 +02:00
Frederic Branczyk
a559123a2b
kube-prometheus: Allow skipping etcd TLS errors
2018-08-13 21:33:33 +02:00
Frederic Branczyk
eb23d1d16c
kube-prometheus: Add docs on monitoring additional namespaces
2018-08-13 17:11:57 +02:00
Frederic Branczyk
159eb05497
kube-prometheus: Update dependencies
2018-08-13 15:21:00 +02:00
Frederic Branczyk
973fc19fa1
kube-prometheus: Bump kube-prometheus jsonnet dep
2018-08-13 15:12:16 +02:00
Frederic Branczyk
ff878498df
kube-promethes: Fix default serviceMonitorSelector
2018-08-13 15:12:15 +02:00
Henrique Fernandes
2c27ec76a1
Bump jsonnet dependencies
2018-08-08 10:26:27 -03:00
Henrique Fernandes
25bb07fe7d
Fix typos
2018-08-08 10:14:23 -03:00
Lucas Serven
28e3ef5a6d
contrib/kube-prometheus: bump prometheus-operator
...
This commit bumps the version of the Prometheus Operator jsonnet
dependency in kube-prometheus. With this change, kube-prometheus now
supports Prometheus Operator v0.23.0.
2018-08-07 17:44:01 +02:00
Frederic Branczyk
0d35d31c1f
Merge pull request #1730 from nrobert13/prometheus_jsonnet_add_SM_NS_Selector
...
add serviceMonitorNamespaceSelector to the prometheus jsonnet library
2018-08-07 09:27:19 +02:00
Lucas Serven
7213f93e41
*: cut 0.23.0
2018-08-06 16:05:42 +02:00
Robert Nemeti
43dc7999ca
provide empty hash to serviceMonitorNamespaceSelector, which selects all the namespaces by default
2018-08-06 08:19:28 +00:00
Robert Nemeti
0f76dc63b6
add serviceMonitorNamespaceSelector to the prometheus jsonnet library
...
to implement the feature from PR #1227
2018-08-06 07:38:26 +00:00
Frederic Branczyk
fa32316597
kube-prometheus: Re-generate
2018-08-02 11:00:53 +02:00
Vasilis Remmas
d009846be9
Create rolebinding using $._config.namespace
...
Assign the rolebinding to an existing serviceaccount
2018-08-02 10:59:34 +02:00
Frederic Branczyk
5a1a2f9af0
Merge pull request #1726 from brancz/fix-jsonnet-lock
...
kube-prometheus: Fix jsonnet lock file
2018-08-02 10:55:15 +02: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
prune
64f3e5def9
added newline in doc file
2018-07-31 14:49:13 -04: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