Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge upstream changes #13

Merged
merged 392 commits into from
Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
392 commits
Select commit Hold shift + click to select a range
4998ac7
pkg/k8sutil: add test case for secret name sanitization
squat Sep 21, 2018
3d69c37
Merge pull request #1925 from squat/secret_name_period
squat Sep 21, 2018
413f665
Update to grafana 5.2.4
dtzar Sep 21, 2018
c16c3fe
Add Prometheus dashboard instructions
dtzar Sep 21, 2018
29e0d37
Add rest of dashboards
dtzar Sep 21, 2018
6654c06
pkg/prometheus: Allow configuration of relabel_configs per ServiceMon…
crandles Sep 23, 2018
f12e894
Add link to ingress instructions
dtzar Sep 24, 2018
0e5cbac
Merge pull request #1879 from crandles/relabel-configs
brancz Sep 24, 2018
8d1aa87
address feedback
dtzar Sep 24, 2018
1fe9016
Merge pull request #1927 from dtzar/kubepromup
brancz Sep 25, 2018
a755499
*: Add illegal update reconciliation
brancz Sep 25, 2018
2081de6
scripts: Enable minikube storage provisioner in e2e tests
brancz Sep 26, 2018
9cb91f9
test/e2e: Add test for Prometheus storage update
brancz Sep 26, 2018
ced661a
test/e2e: Add test for Alertmanager storage update
brancz Sep 26, 2018
afd37cd
Add initial thanos support to kube-prometheus
elisiano Sep 26, 2018
2694cab
Merge pull request #1942 from elisiano/kube-prometheus-thanos
brancz Sep 26, 2018
1fbaad9
contrib/kube-prometheus: Run jb update and generate all manifests.
lefeverd Sep 26, 2018
fd3299c
Merge pull request #1943 from lefeverd/master
brancz Sep 27, 2018
1eca35a
Merge pull request #1931 from brancz/illegal-action
squat Sep 27, 2018
54f81aa
contrib/kube-prometheus: Set podAntiAffinity for Prometheus & Alertma…
metalmatze Sep 25, 2018
fef82a0
OWNERS: Add metalmatze and s-urbaniak
mxinden Sep 28, 2018
ad63e0f
README.md: Remove to docs hosted on coreos.com
mxinden Sep 28, 2018
ad23783
contrib: remove duplicate alertmanager alert
squat Sep 28, 2018
8c3446d
contrib: regenerate
squat Sep 28, 2018
f72926f
Merge pull request #1947 from mxinden/owners
mxinden Sep 28, 2018
cda45d8
Merge pull request #1950 from squat/dupe_alert
squat Sep 28, 2018
a3466d1
RELEASE.md: Update documentation
mxinden Sep 28, 2018
50b1dbe
*: Update to Prometheus v2.4.0
metalmatze Sep 13, 2018
13247b0
kube-prometheus: Update jsonnet dependencies
mxinden Sep 28, 2018
54471a4
Merge pull request #1935 from metalmatze/antiaffinity
brancz Sep 28, 2018
3e31cfa
Merge pull request #1929 from mxinden/prometheus-2.4.0
brancz Sep 28, 2018
a614e8f
update Thanos to v0.1.0 https://github.com/improbable-eng/thanos/rele…
marcin-je Sep 25, 2018
ab82e7c
update thanos version in the test suite
marcin-je Sep 26, 2018
554def4
pkg/prometheus: Revert back to tsdb.path arg for thanos
metalmatze Sep 28, 2018
807a9e1
Merge pull request #1954 from metalmatze/thanos-update
metalmatze Sep 28, 2018
a2433a3
Remote read config generator
kovszilard Sep 28, 2018
a5f282f
objectify alertmanager config
nrobert13 Oct 1, 2018
004e648
contrib/kube-prometheus: Drop etcd metrics by apiserver & kube contro…
metalmatze Oct 1, 2018
aa22fc6
contrib/kube-prometheus: Generate new manifests after dropping etcd l…
metalmatze Oct 1, 2018
aa374c3
Merge pull request #1956 from kovszilard/remote-read-bearer-token
metalmatze Oct 1, 2018
d32d5bb
allow backward compatibility with the textblock
nrobert13 Oct 2, 2018
895e3b4
Documentation: Generate after adding metricRelabelings
metalmatze Oct 2, 2018
8f5fbdc
Doc typo
jfchevrette Oct 1, 2018
22bd3f4
Merge pull request #1948 from mxinden/docs
mxinden Oct 3, 2018
c38fa78
Add an example of aggregated ClusterRoles for the operator CRDs
astefanutti Oct 3, 2018
8c6c8ac
Merge pull request #1959 from metalmatze/drop_etcd_metrics
mxinden Oct 4, 2018
2fa293b
Merge pull request #1962 from jfchevrette/patch-1
squat Oct 4, 2018
721e518
Makefile: Pass MFLAGS in kube-prometheus target
mxinden Oct 9, 2018
e8821bf
Merge pull request #1949 from mxinden/release
metalmatze Oct 9, 2018
3c4d195
Merge pull request #1988 from mxinden/mflags
metalmatze Oct 9, 2018
466f0d0
kube-prometheus/README.md: Add jb update to contrib guide
mxinden Oct 9, 2018
85dc3d2
Merge pull request #1989 from mxinden/kp-readme
squat Oct 9, 2018
049c48c
*: Update to Prometheus v2.4.3
mrueg Oct 8, 2018
d3042e6
contrib/kube-prometheus: Fix version for kube-prometheus
metalmatze Oct 10, 2018
e1aa1f1
Documentation: Generate after updating to Prometheus v2.4.3
metalmatze Oct 10, 2018
7b837c1
Merge pull request #1983 from mrueg/prom-2.4.3
metalmatze Oct 10, 2018
e316fd4
Add triggered_total metric to alertmanager controller
metalmatze Oct 8, 2018
3d474e1
contrib/kube-prometheus: jb update after squashing
metalmatze Oct 10, 2018
fdf2bfd
cmd/operator: Fix labels for alertmanager controller
metalmatze Oct 10, 2018
ffae4df
Merge pull request #1984 from metalmatze/alerts-overhaul
metalmatze Oct 10, 2018
52f318a
example: update network policies protocol
karlskewes Oct 10, 2018
f4b6c21
Bump version to 0.24
metalmatze Oct 9, 2018
4a7fea5
Merge pull request #1995 from metalmatze/release-0.24
metalmatze Oct 11, 2018
10ce53f
Merge pull request #1970 from astefanutti/pr-rbac-crd
mxinden Oct 11, 2018
d9d2141
detect selinux enforcing mode and add :Z flag to docker run volume arg
jfchevrette Oct 11, 2018
89ebe2b
Changelog: Add note about namespaces flag
metalmatze Oct 11, 2018
f200245
fix shellcheck errors
jfchevrette Oct 11, 2018
2bc0e7d
Merge pull request #1999 from metalmatze/release-0.24-namespaces
metalmatze Oct 11, 2018
13cb3c5
Update kube-prometheus' dependency of prometheus-operator to v0,24
metalmatze Oct 12, 2018
c6dfaed
contrib/kube-prometheus: Generate new manifests and docs with prom op…
metalmatze Oct 12, 2018
55ba390
Merge pull request #2004 from metalmatze/kube-prometheus-operator-0.24
squat Oct 12, 2018
949ffab
contrib/kube-prometheus: Fix AlertmanagerConfigInconsistent alert exp…
metalmatze Oct 12, 2018
7ebb4eb
make sure pipe characters are escaped in api docs table generation
jfchevrette Oct 11, 2018
0f51356
contrib/kube-prometheus: Generate AlertmanagerConfigInconsistent
metalmatze Oct 12, 2018
8aababc
Merge pull request #2001 from jfchevrette/fix_prometheus_spec_doc
squat Oct 12, 2018
a12dcef
Merge pull request #2005 from metalmatze/fix-alertmanagerconfigincons…
squat Oct 12, 2018
dff2409
Merge pull request #1996 from kskewes/master
squat Oct 12, 2018
e109df7
Add some commands to ensure kube-prometheus is fully successfully dep…
jolson490 Oct 12, 2018
b9bfcca
Update client libraries to Kubernetes 1.12
tamalsaha Sep 28, 2018
7131fe2
Merge pull request #2006 from jolson490/deploy_kube-prometheus_race-c…
squat Oct 13, 2018
504a005
fixed the incorrectly gcs credentials secret key and name
jubel-han Oct 15, 2018
3c688c0
Merge pull request #1958 from nrobert13/objectify_alertmanager_config
squat Oct 15, 2018
1e75fb5
monitoring/v1: Change TargetPort to pointer
lilic Oct 10, 2018
6d65111
test/e2e: Adjust TargetPort test
lilic Oct 15, 2018
cc6a1ad
pkg/v1: Add types test
lilic Oct 15, 2018
ff17126
Merge pull request #2011 from jubel-han/bugfix/thanos-gcs-secret-sele…
brancz Oct 16, 2018
1845606
Merge pull request #2002 from jfchevrette/make_generate_in_docker_wit…
brancz Oct 16, 2018
1869bc8
*: Update generated code and docs
lilic Oct 16, 2018
8c7f029
Merge pull request #2013 from LiliC/lili/cluster-service-targetPort
squat Oct 16, 2018
8c6a687
kube-prometheus: Ensure all images have an entry in _config.versions
dlespiau Sep 28, 2018
a7ef122
contrib/kube-prometheus: Add a script to sync images to an internal r…
dlespiau Oct 1, 2018
b0fb3d4
contrib/kube-prometheus: Introduce a withImageRepository mixin
dlespiau Oct 1, 2018
58f8f5e
contrib/kube-prometheus: Document the internal registry support
dlespiau Oct 1, 2018
f94a3d2
kube-prometheus: Update kube-prometheus vendoring
dlespiau Oct 1, 2018
a2e8cd5
Merge pull request #1960 from dlespiau/2018-09-28-no-internet-installs
brancz Oct 16, 2018
5003888
kube-prometheus: Fix Alertmanager secret namespace.
brancz Oct 16, 2018
690fddc
kube-prometheus: Re-generate
brancz Oct 16, 2018
d7957c1
contrib/kube-prometheus: Bump the prometheus-operator jsonnet dep
dlespiau Oct 16, 2018
d2391e7
hack: Fix generate in docker script to actually run the command.
brancz Oct 16, 2018
754974f
Merge pull request #2019 from brancz/am-ns
brancz Oct 16, 2018
5308d38
Merge pull request #2020 from dlespiau/2018-10-16-bump-prometheus-ope…
brancz Oct 16, 2018
f6b7ad9
Merge pull request #1953 from kmodules/k-1.12
squat Oct 17, 2018
1d4fef1
kube-prometheus: Example jsonnet ingress, add externalURL
karlskewes Oct 18, 2018
35581f9
Allow passing additional alert relabel config
eyalzek Oct 16, 2018
3040b14
Regenerate files
eyalzek Oct 17, 2018
67b9033
Fix unit-tests
eyalzek Oct 18, 2018
bdb25a5
Add `TestAdditionalAlertRelabelConfigs` unit-test
eyalzek Oct 18, 2018
d0cf2ee
Merge pull request #2029 from coreos/release-0.24
squat Oct 18, 2018
230f671
contrib: fix typo in contrib prometheus rules
kkc Oct 19, 2018
2b7e313
Regenerate jsonnetfile.lock.json
kkc Oct 19, 2018
44fd8f8
kube-prometheus: Example jsonnet ingress, add alertmanager and grafana
karlskewes Oct 20, 2018
4d63f3d
kube-prometheus: Example jsonnet ingress, merge Grafana config instea…
karlskewes Oct 20, 2018
a1f7656
contrib/kube-prometheus: thanos-peers service misses namespace
metalmatze Oct 22, 2018
8a2de46
Merge pull request #2038 from metalmatze/thanos-peer-service-namespace
squat Oct 22, 2018
461d463
Merge pull request #2022 from eyalzek/additionalAlertRelabelConfigs
brancz Oct 23, 2018
a6cb9de
*: Add ability to mount custom ConfigMaps
brancz Oct 18, 2018
96c8e90
*: Add tests for additional configmaps being mounted.
brancz Oct 23, 2018
741df79
Merge pull request #2028 from brancz/configmaps
brancz Oct 23, 2018
8b1c045
add ownerReferences to created Service object
alecmerdler Sep 27, 2018
83ec124
*: Cut v0.25.0
mxinden Oct 24, 2018
82a6ad2
Merge pull request #2043 from mxinden/cut-v0.25.0
squat Oct 24, 2018
4e0ae64
Merge pull request #1946 from alecmerdler/service-ownerref
brancz Oct 24, 2018
38092e9
Merge pull request #1973 from kkc/fix-typos-prometheus-rules
brancz Oct 25, 2018
72cd517
kube-prometheus: Bump prometheus-operator to v0.25.0
brancz Oct 24, 2018
2550b01
kube-prometheus: Re-generate
brancz Oct 24, 2018
dc476e0
Merge pull request #2045 from brancz/bump-po-25
brancz Oct 25, 2018
a2cea4a
kube-prometheus: Update kube-rbac-proxy and kube-state-metrics
brancz Oct 25, 2018
3298c52
kube-prometheus: Re-generate
brancz Oct 26, 2018
a7eb782
Merge pull request #2055 from brancz/update-krp
brancz Oct 26, 2018
04235fd
Add AlertmanagerMembersInconsistent alerting rule
metalmatze Oct 26, 2018
13166b5
contrib/kube-promeheus: Add AlertmanagerMembersInconsistent to manifests
metalmatze Oct 26, 2018
e10b7b7
Example jsonnet ingress, update docs with external url
karlskewes Oct 28, 2018
535f7ec
Correct ingress jsonnet object naming to match projects general namin…
karlskewes Oct 29, 2018
e703065
Merge pull request #2057 from metalmatze/alertmanager-members-inconsi…
metalmatze Oct 29, 2018
9c1d345
Merge pull request #2026 from kskewes/master
brancz Oct 29, 2018
077033b
kube-prometheus: docs - fix example link
karlskewes Oct 29, 2018
73b0ee5
Merge pull request #2069 from kskewes/master
squat Oct 30, 2018
41c480d
Correct file path for getting started guide.
superbspeed Nov 1, 2018
c21f89c
Merge pull request #2078 from superbspeed/patch-1
brancz Nov 1, 2018
1a1c97d
adding an how to update section in kube-prometheus doc
Nov 2, 2018
d2cb5d6
update doc
Nov 4, 2018
78b37d0
Merge pull request #2079 from VinceMD/master
brancz Nov 5, 2018
753a115
README.md: Clarify quickstart vs. kube-prometheus
brancz Nov 5, 2018
09a27a3
Update README.md
metalmatze Nov 5, 2018
a9cb94d
Add support for Kubespray clusters
aveyrenc Nov 5, 2018
3aa0061
Merge pull request #2087 from brancz/clarify-quickstart
brancz Nov 5, 2018
c575fb0
Upgrade packages for Kubespray support
aveyrenc Nov 5, 2018
f02bd27
Merge pull request #2088 from aveyrenc/kubespray
brancz Nov 5, 2018
2944408
fix labels
paskal Nov 6, 2018
ed4d91d
Better handling for pod/node labels from ServiceMonitors. (#2089)
olvesh Nov 6, 2018
6e412f0
revert unnecessary replacements of job_name
paskal Nov 7, 2018
ab1d137
jsonnet update
paskal Nov 7, 2018
042e32a
bump rules
paskal Nov 7, 2018
af0ead5
fix typos
paskal Nov 7, 2018
e887808
revert typo fix
paskal Nov 7, 2018
5e1bcc9
Merge pull request #2096 from paskal/9034
brancz Nov 7, 2018
fa0a0ae
*: Update to Proemtheus v2.5.0 as default
metalmatze Nov 7, 2018
2d90c1d
*: Generate latest Documentation and manifest for Prom v2.5.0
metalmatze Nov 7, 2018
a28a656
Documentation: Add Thanos section on current state
metalmatze Nov 7, 2018
32a3c88
Merge pull request #2100 from metalmatze/thanos-docs
squat Nov 7, 2018
70722ae
Merge pull request #2101 from metalmatze/prometheus-v2.5
metalmatze Nov 7, 2018
ce3b98d
*: Remove attempting to set "secure" security context
brancz Nov 8, 2018
518b95c
Merge pull request #2109 from brancz/remove-security-context
brancz Nov 9, 2018
556153e
contrib/kube-prometheus: Create prometheus-adapter component
metalmatze Nov 1, 2018
1eac50c
contrib/kube-prometheus: Update Prometheus Adapter image
metalmatze Nov 9, 2018
68054c0
Merge pull request #2082 from metalmatze/prometheus-adapter
brancz Nov 9, 2018
5185231
contrib/kube-prometheues: Mount emptyDir as tmpfs to /tmp in adapter
metalmatze Nov 12, 2018
4b25b8d
contrib/kube-prometheus: Update manifests with /tmp emptyDir for adapter
metalmatze Nov 12, 2018
89b0a06
Merge pull request #2120 from metalmatze/prometheus-adapter-tmpfs
metalmatze Nov 12, 2018
ebaf1f6
README: some grammar fixes
squat Nov 13, 2018
8f568d1
Merge pull request #2126 from squat/readme
metalmatze Nov 13, 2018
b848c4d
Makefile: use only the first path on GOPATH
pgier Nov 1, 2018
c9350aa
*: Update to Alertmanager v0.15.3
mxinden Nov 13, 2018
428db51
contrib/kube-prometheus: Generate
mxinden Nov 13, 2018
2abacb3
Merge pull request #2128 from mxinden/am-0.15.3
metalmatze Nov 13, 2018
aecd73e
Merge pull request #2127 from pgier/fix-makefile-gopath
brancz Nov 13, 2018
11b8f11
hack/generate: simplify jsonnet build loop
squat Nov 14, 2018
3465183
Merge pull request #2130 from squat/simplify_build_jsonnet
squat Nov 14, 2018
934b893
contrib/kube-prometheus: Update custom-metrics example to use our ada…
metalmatze Nov 13, 2018
5a2ecd4
contrib/kube-prometheus: Add sample-app for showing custom metrics wi…
metalmatze Nov 13, 2018
40fb71a
contrib/kube-prometheus: Update README.md for custom-metrics-api
metalmatze Nov 14, 2018
78110b9
kube-prometheus: Add documentaton to README on the Pod Anti-Affinity …
Nov 14, 2018
f67e5f2
contrib/kube-prometheus: Remove superseded compatibility node exporte…
metalmatze Nov 7, 2018
4293e40
contrib/kube-prometheus: Generate manifests without compatibility nod…
metalmatze Nov 7, 2018
d99f205
Merge pull request #2104 from metalmatze/remove-node-rules
mxinden Nov 15, 2018
fb5adf8
Update alertmanager retention documentation
vsliouniaev Nov 5, 2018
93d7ce5
Update lockfile
vsliouniaev Nov 15, 2018
2bfb192
Merge pull request #2131 from metalmatze/custom-metrics-adapter-update
brancz Nov 15, 2018
52093da
Merge pull request #2091 from vsliouniaev/fix-doc
brancz Nov 15, 2018
f9091bc
Merge pull request #2134 from jeromefroe/jeromefroe/add-documentation…
brancz Nov 15, 2018
b8d509c
*: Remove deprecated StorageSpec fields
metalmatze Nov 14, 2018
0077cb8
pkg/client/monitoring/v1alpha1: Remove deprecated StorageSpec fields
metalmatze Nov 14, 2018
b047e64
pkg/client: Remove outdated resources from tests
metalmatze Nov 15, 2018
b9a70fd
Merge pull request #2132 from metalmatze/remove-deprecated-fields
brancz Nov 16, 2018
677cb68
add example for kube-aws
Nov 9, 2018
aa82b3f
rebase
Nov 20, 2018
a5da541
kube-prometheus: Re-generate
brancz Nov 20, 2018
7f34279
Merge pull request #2111 from VinceMD/master
brancz Nov 20, 2018
f2724c2
contrib/kube-prometheus: ne rbacproxy listen podip
squat Nov 20, 2018
897dc31
contrib: regenerate
squat Nov 20, 2018
31f621c
Merge pull request #2146 from squat/nodeexporterpodip
brancz Nov 20, 2018
dff8f44
kube-prometheus: Adapt CoreDNS default configuration to default CoreD…
brancz Nov 21, 2018
7de4c8c
kube-prometheus: Re-generate
brancz Nov 21, 2018
f381ee4
Merge pull request #2149 from brancz/fix-coredns
brancz Nov 21, 2018
23a1f42
sanitize thanos secret volume mount name
wleese Nov 22, 2018
d98d35e
Merge pull request #2159 from bolcom/master
squat Nov 22, 2018
1e1e609
contrib/kube-prometheus: Add prometheusURL to adapter's jsonnet config
metalmatze Nov 22, 2018
9cc151c
Fix AlertmanagerMembersInconsistent rule
Nov 20, 2018
c8e16bf
Merge pull request #2161 from metalmatze/adapter-prometheus-url
brancz Nov 22, 2018
36c65b3
Update contrib/kube-prometheus
Nov 22, 2018
4324ff2
Update unit tests
Nov 22, 2018
5805237
Merge pull request #2143 from BcTpe4HbIu/master
brancz Nov 23, 2018
de192a6
Makefile: add targets for client generation
s-urbaniak Nov 26, 2018
eadf9bc
pkg/client/monitoring: delete manually crafted code
s-urbaniak Nov 26, 2018
6e2e7cc
pkg/apis/monitoring/v1/types: move to apis pkg
s-urbaniak Nov 26, 2018
bb04811
pkg/apis/monitoring/v1: regenerate client, deeepcopy, openapi
s-urbaniak Nov 26, 2018
3fdfcc7
pkg,test,cmd: refactor operator code to generated client
s-urbaniak Nov 26, 2018
1a51d3c
Fix broken cluster role
bracki Nov 26, 2018
c51e822
Generate docs
bracki Nov 27, 2018
02576f3
Merge pull request #2165 from bracki/patch-1
brancz Nov 27, 2018
cc37c57
Gopkg: dep ensure
s-urbaniak Nov 26, 2018
b08e2ff
test/e2e: factor to generated client semantics
s-urbaniak Nov 26, 2018
1636e97
test/e2e/AMZeroDowntimeRollingDeployment: bump timeout
s-urbaniak Nov 27, 2018
b3626ac
Do not error if no $._config.prometheus.rules are set
redbaron Nov 27, 2018
e12cff1
Merge pull request #2163 from s-urbaniak/client-generation
brancz Nov 27, 2018
fcc1b52
docs: Thanos docs
jmreicha Nov 27, 2018
5c4d05d
Change examples to be more robust against customizations
redbaron Nov 27, 2018
ad180b3
Merge pull request #2169 from redbaron/change-examples-to-be-more-uni…
brancz Nov 27, 2018
151a5b8
Merge pull request #2167 from redbaron/no-error-if-no-rules
brancz Nov 27, 2018
37b8a1a
fix syntax error in prometheus.libsonnet
fstab Nov 28, 2018
61432c7
Merge pull request #2170 from fstab/fix-syntax-error
brancz Nov 28, 2018
606a53d
*: Increase CPU limits for small containers to not being throttled as…
metalmatze Nov 20, 2018
3178a74
contrib/kube-prometheus: Generate manifests with higher limits
metalmatze Nov 28, 2018
945f6a4
fix breaking typo
daimoniac Nov 28, 2018
9dff373
Merge pull request #2172 from daimoniac/patch-2
metalmatze Nov 28, 2018
3780e2b
docs: Add intro and cleanup
jmreicha Nov 28, 2018
79ec79b
Remove GOARCH=amd64 to prevent cross-compiling go binaries
jeffdyoung Nov 28, 2018
0ef7eae
Merge pull request #2174 from jeffdyoung/multiarch
brancz Nov 28, 2018
8d1abd2
Merge pull request #2144 from metalmatze/cpu-limits
metalmatze Nov 29, 2018
3288dbd
Merge pull request #2168 from jmreicha/thanos-docs
brancz Nov 29, 2018
47cd717
pkg/listwatch: fix racy multiwatch
s-urbaniak Nov 29, 2018
f8343b2
Merge pull request #2177 from s-urbaniak/racy-multiwatch
brancz Nov 29, 2018
0181c0c
*: Cut v0.26.0
mxinden Nov 30, 2018
72ec4b9
Merge pull request #2179 from mxinden/cut-v0.26.0
squat Nov 30, 2018
433616b
kube-prometheus: bump prometheus-operator
s-urbaniak Nov 30, 2018
c22c85a
kube-prometheus: regenerate
s-urbaniak Nov 30, 2018
0bad932
Merge pull request #2183 from s-urbaniak/026
metalmatze Nov 30, 2018
40b51a9
docs: Add additional scrape config docs
jmreicha Nov 30, 2018
d37bc83
Merge pull request #2187 from jmreicha/scrape-config-docs
brancz Nov 30, 2018
81b4644
Merge remote-tracking branch 'origin/master' into openshift-master
s-urbaniak Dec 5, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: required
language: go
go:
- "1.10"
- "1.11"
services:
- docker
before_install:
Expand All @@ -11,7 +11,7 @@ jobs:
include:
- stage: Sanity check and tests
# Check generated contents are up to date and code is formatted.
script: make format generate-in-docker && git diff --exit-code
script: make --always-make format generate-in-docker && git diff --exit-code
- script: cd contrib/kube-prometheus && make test-in-docker
# Build Prometheus Operator rule config map to rule file crds cli tool
- script: cd cmd/po-rule-migration && go install
Expand Down
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
## 0.26.0 / 2018-11-30

* [CHANGE] Remove attempting to set "secure" security context (#2109).
* [CHANGE] Remove deprecated StorageSpec fields (#2132).
* [ENHANCEMENT] Better handling for pod/node labels from ServiceMonitors (#2089).
* [ENHANCEMENT] Update to Proemtheus v2.5.0 as default (#2101).
* [ENHANCEMENT] Update to Alertmanager v0.15.3 as default (#2128).
* [ENHANCEMENT] Increase CPU limits for small containers to not being throttled as much (#2144).
* [BUGFIX] Sanitize thanos secret volume mount name (#2159).
* [BUGFIX] Fix racy Kubernetes multi watch (#2177).

## 0.25.0 / 2018-10-24

* [FEATURE] Allow passing additional alert relabel configs in Prometheus custom resource (#2022)
* [FEATURE] Add ability to mount custom ConfigMaps into Alertmanager and Prometheus (#2028)

## 0.24.0 / 2018-10-11

This release has a breaking changes for `prometheus_operator_.*` metrics.

`prometheus_operator_alertmanager_reconcile_errors_total` and `prometheus_operator_prometheus_reconcile_errors_total`
are now combined and called `prometheus_operator_reconcile_errors_total`.
Instead the metric has a "controller" label which indicates the errors from the Prometheus or Alertmanager controller.

The same happened with `prometheus_operator_alertmanager_spec_replicas` and `prometheus_operator_prometheus_spec_replicas`
which is now called `prometheus_operator_spec_replicas` and also has the "controller" label.

The `prometheus_operator_triggered_total` metric now has a "controller" label as well and finally instruments the
Alertmanager controller.

For a full description see: https://github.com/coreos/prometheus-operator/pull/1984#issue-221139702

In order to support multiple namespaces, the `--namespace` flag changed to `--namespaces`
and accepts and comma-separated list of namespaces as a string.

* [CHANGE] Default to Node Exporter v0.16.0 (#1812)
* [CHANGE] Update to Go 1.11 (#1855)
* [CHANGE] Default to Prometheus v2.4.3 (#1929) (#1983)
* [CHANGE] Default to Thanos v0.1.0 (#1954)
* [CHANGE] Overhaul metrics while adding triggerBy metric for Alertmanager (#1984)
* [CHANGE] Add multi namespace support (#1813)
* [FEATURE] Add SHA field to Prometheus, Alertmanager and Thanos for images (#1847) (#1854)
* [FEATURE] Add configuration for priority class to be assigned to Pods (#1875)
* [FEATURE] Configure sampleLimit per ServiceMonitor (#1895)
* [FEATURE] Add additionalPeers to Alertmanager (#1878)
* [FEATURE] Add podTargetLabels to ServiceMonitors (#1880)
* [FEATURE] Relabel target name for Pods (#1896)
* [FEATURE] Allow configuration of relabel_configs per ServiceMonitor (#1879)
* [FEATURE] Add illegal update reconciliation by deleting StatefulSet (#1931)
* [ENHANCEMENT] Set Thanos cluster and grpc ip from pod.ip (#1836)
* [BUGFIX] Add square brackets around pod IPs for IPv6 support (#1881)
* [BUGFIX] Allow periods in secret name (#1907)
* [BUGFIX] Add BearerToken in generateRemoteReadConfig (#1956)

## 0.23.2 / 2018-08-23

* [BUGFIX] Do not abort kubelet endpoints update due to nodes without IP addresses defined (#1816)

## 0.23.1 / 2018-08-13

* [BUGFIX] Fix high CPU usage of Prometheus Operator when annotating Prometheus resource (#1785)
Expand Down
74 changes: 74 additions & 0 deletions Documentation/additional-scrape-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Additional Scrape Configuration

AdditionalScrapeConfigs allows specifying a key of a Secret containing
additional Prometheus scrape configurations. Scrape configurations specified
are appended to the configurations generated by the Prometheus Operator.

Job configurations specified must have the form as specified in the official
[Prometheus documentation](
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#<scrape_config>).
As scrape configs are appended, the user is responsible to make sure it is
valid. *Note* that using this feature may expose the possibility to break
upgrades of Prometheus.

It is advised to review Prometheus release notes to ensure that no incompatible
scrape configs are going to break Prometheus after the upgrade.

## Creating an additional configuration

First, you will need to create the additional configuration.
Below we are making a simple "prometheus" config. Name this
`prometheus-additional.yaml` or something similiar.

```
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
```

Then you will need to make a secret out of this configuration.

```
kubectl create secret generic additional-scrape-configs --from-file=prometheus-additional.yaml --dry-run -oyaml > additional-scrape-configs.yaml
```

Next, create a new secret using the base64 encoded output as the value for
`prometheus-additional.yaml` in the secret.

```
apiVersion: v1
data:
prometheus-additional.yaml: LSBqb2JfbmFtZTogInByb21ldGhldXMiCiAgc3RhdGljX2NvbmZpZ3M6CiAgLSB0YXJnZXRzOiBbImxvY2FsaG9zdDo5MDkwIl0K
kind: Secret
metadata:
creationTimestamp: null
name: additional-scrape-configs
```

Finally, reference this additional configuration in your `prometheus.yaml` CRD.

```
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus
labels:
prometheus: prometheus
spec:
replicas: 2
serviceAccountName: prometheus
serviceMonitorSelector:
matchLabels:
team: frontend
additionalScrapeConfigs:
name: additional-scrape-configs
key: prometheus-additional.yaml
...
```

NOTE: Use only one secret for ALL additional scrape configurations.

## Additional References

* [Prometheus Spec](https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec)
* [Additional Scrape Configs](https://github.com/coreos/prometheus-operator/tree/master/example/additional-scrape-configs)
Loading