Damien Grisonnet
0ffe13c5d2
.github: enable auto updates on release branches
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-09 18:59:30 +02:00
Damien Grisonnet and GitHub
6a150f4cc8
Merge pull request #1310 from paulfantom/full-path
...
jsonnet: use full dependency path
2021-08-09 17:53:22 +02:00
Damien Grisonnet and GitHub
33cc694f18
Merge pull request #1308 from PaytmLabs/feature/separate-thanos-rules
...
Create Thanos Sidecar rules separately from Prometheus ones
2021-08-05 16:19:01 +02:00
Damien Grisonnet and GitHub
a330e8634a
Merge pull request #1306 from paulfantom/fix-auto
...
.github: allow dispatching version updates manually and run on predefined schedule
2021-08-02 18:13:44 +02:00
Damien Grisonnet
9e8d1b0a72
.github: add remaining supported release branch
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 15:57:57 +02:00
Damien Grisonnet
844bdd9c47
.github: fix update version skip on release branch
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 15:11:41 +02:00
Damien Grisonnet
20f3cfaaeb
.github: temporarily switch to manual updates
...
Temporarily switch to manual dependencies update workflow to test if it
is updated correctly across the different release branch.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 13:38:33 +02:00
Damien Grisonnet
7542a1b055
.github: automate release branch updates
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 13:32:32 +02:00
Damien Grisonnet and GitHub
a1a9707f37
Merge pull request #1281 from prometheus-operator/paulfantom-patch-1
...
Use @prom-op-bot for automatic updates
2021-07-27 11:04:14 +02:00
Damien Grisonnet and GitHub
5f13edd1ea
Merge pull request #1279 from prometheus-operator/automated-updates
...
[bot] Automated version update
2021-07-26 15:59:18 +02:00
Damien Grisonnet and GitHub
45a466e3a7
Merge pull request #1267 from paulfantom/runbook_urlk
...
jsonnet/kube-prometheus: point to runbooks.prometheus-operator.dev
2021-07-22 17:40:04 +02:00
Damien Grisonnet and GitHub
6d9e0fb6b2
Merge pull request #1273 from paulfantom/pr-template
...
.github: add PR template
2021-07-22 17:35:52 +02:00
Damien Grisonnet and GitHub
97e77e9996
Merge pull request #1231 from dgrisonnet/fix-adapter-queries
...
Consolidate intervals used in prometheus-adapter CPU queries
2021-07-07 13:48:02 +02:00
Damien Grisonnet and GitHub
0b3db5b6b6
Merge pull request #1245 from paulfantom/make-update
...
*: add "update" target to makefile and use it in automatic updater
2021-07-07 13:45:56 +02:00
Damien Grisonnet
b9563b9c2d
jsonnet: improve adapter queries readability
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-07-05 15:29:45 +02:00
Damien Grisonnet
8812e45501
jsonnet: readjust prometheus-adapter intervals
...
Previously, prometheus-adapter configuration wasn't taking into account
the scrape interval of kubelet, node-exporter and windows-exporter
leading to getting non fresh results, and even negative results from the
CPU queries when the irate() function was extrapolating data.
To fix that, we want to set the interval used in the irate() function in
the CPU queries to 4x scrape interval in order to extrapolate data
between the last two scrapes. This will improve the freshness of the cpu
usage exposed and prevent incorrect extrapolations.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-07-05 15:28:25 +02:00
Damien Grisonnet and GitHub
2c5c20cfff
Merge pull request #1216 from fpetkovski/prometheus-adapter-cipher-suites
...
jsonnet: disable insecure cypher suites for prometheus-adapter
2021-06-23 21:19:24 +02:00
Damien Grisonnet and GitHub
836fa4f086
Merge pull request #1209 from paulfantom/test-sh
...
scripts: move test.sh script into scripts dir
2021-06-15 11:10:16 +02:00
Damien Grisonnet and GitHub
59918caf8d
Merge pull request #1207 from paulfantom/rm-hack
...
hack: remove unused directory
2021-06-15 11:07:38 +02:00
Damien Grisonnet and GitHub
df4275e3c8
Merge pull request #1206 from prometheus-operator/automated-updates
...
[bot] Automated version update
2021-06-14 18:19:50 +02:00
Damien Grisonnet and GitHub
8fada1a219
Merge pull request #1201 from paulfantom/no-grafana
...
examples: add example of running without grafana deployment
2021-06-11 14:19:19 +02:00
Damien Grisonnet and GitHub
46922c11c6
Merge pull request #1200 from paulfantom/coredns-selector
...
jsonnet: fix label selector for coredns ServiceMonitor
2021-06-11 12:44:40 +02:00
Damien Grisonnet and GitHub
a27f65e910
Merge pull request #1191 from paulfantom/fix-version-updater
...
.github: write temporary file to /tmp
2021-06-08 12:18:04 +02:00
Damien Grisonnet and GitHub
4d8104817d
Merge pull request #1131 from paulfantom/improve-all-namespace
...
jsonnet: improve all-namespaces addon
2021-06-01 11:00:55 +02:00
Damien Grisonnet and GitHub
68b926f643
Merge pull request #1170 from paulfantom/include-versions
...
scripts: include kube-rbac-proxy and config-reloader in version upgrades
2021-05-31 11:58:28 +02:00
Damien Grisonnet
a4a4d4b744
jsonnet: add PDB to prometheus-adapter
...
Adding a PodDisruptionBudget to prometheus-adapter ensure that at least
one replica of the adapter is always available. This make sure that even
during disruption the aggregated API is available and thus does not
impact the availability of the apiserver.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-05-05 16:15:25 +02:00
Damien Grisonnet
fa05e2cde8
jsonnet: export anti-affinity addon
...
Export the antiaffinity function of the anti-affinity addon to make it
possible to extend the addon to component that are not present in the
kube-prometheus stack.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-27 15:30:06 +02:00
Damien Grisonnet
4c6a06cf7e
jsonnet: make prometheus-adapter highly-available
...
Prometheus-adapter is a component of the monitoring stack that in most
cases require to be highly available. For instance, we most likely
always want the autoscaling pipeline to be available and we also want to
avoid having no available backends serving the metrics API apiservices
has it would result in both the AggregatedAPIDown alert firing and the
kubectl top command not working anymore.
In order to make the adapter highly-avaible, we need to increase its
replica count to 2 and come up with a rolling update strategy and a
pod anti-affinity rule based on the kubernetes hostname to prevent the
adapters to be scheduled on the same node. The default rolling update
strategy for deployments isn't enough as the default maxUnavaible value
is 25% and is rounded down to 0. This means that during rolling-updates
scheduling will fail if there isn't more nodes than the number of
replicas. As for the maxSurge, the default should be fine as it is
rounded up to 1, but for clarity it might be better to just set it to 1.
For the pod anti-affinity constraints, it would be best if it was hard,
but having it soft should be good enough and fit most use-cases.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-22 09:57:14 +02:00
Damien Grisonnet
ed5a2f94fc
jsonnet: fix test failures with platformPatch
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-09 12:59:18 +02:00
Damien Grisonnet
b59b2c23d8
examples: update platform snippets and doc
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-06 11:42:29 +02:00
Damien Grisonnet
f06175bb3b
jsonnet: add function to apply platform patches
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-31 18:00:04 +02:00
Damien Grisonnet
8973a90049
examples: use ExampleAlert instead of Watchdog
...
Replace Watchdog alerts part of the `example-group` in some examples by
ExampleAlert alerts to reinforce the fact that this is just an example.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-25 18:11:56 +01:00
Damien Grisonnet
9f6c7d7654
examples/thanos-sidecar: fix image url
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-10 11:47:57 +01:00
Damien Grisonnet
816c73acc6
examples: cleanup thanos-sidecar addon imports
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-10 10:59:59 +01:00
Damien Grisonnet
d37a299499
jsonnet,manifests: bump grafana to v7.3.5
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-12-11 14:19:29 +01:00
Damien Grisonnet
6a05efd636
Cut release-0.7
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-12-10 09:55:20 +01:00
Damien Grisonnet
6eb8c9d123
ci: migrate to github actions
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-09-21 10:36:59 +02:00
Damien Grisonnet
152c02b7f8
manifests: regenerate
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-09-10 16:15:53 +02:00
Damien Grisonnet
9e18cf2097
jsonnet: bump kube-rbac-proxy to v0.6.0
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-09-10 16:15:35 +02:00
Damien Grisonnet
ce1bc17d98
doc: update release-0.5 compatibility
...
kubernetes-mixin release-0.4 is only supported by 1.18+
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-05-26 18:27:32 +02:00
Damien Grisonnet
be4b525774
build.sh: fix json files cleanup
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-29 13:10:32 +02:00
Damien Grisonnet
7f9b082ed3
go.mod: remove unused packages
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-07 10:56:49 +02:00
Damien Grisonnet
7b4adb08f6
test.sh: update PATH to use project tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-07 10:55:17 +02:00
Damien Grisonnet
c9900d6a57
Makefile: export GO111MODULE=on
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-07 10:38:13 +02:00
Damien Grisonnet
026425117d
Makefile: use go install instead of go build
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 18:50:56 +02:00
Damien Grisonnet
f4b8064899
README: remove make in docker guidance
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 18:15:36 +02:00
Damien Grisonnet
9a7ba10755
build.sh: update PATH to use project tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 18:15:34 +02:00
Damien Grisonnet
cb49f90491
ci: use golang tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 12:50:11 +02:00
Damien Grisonnet
a9df00baec
mod: add tooling dependencies
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 12:49:51 +02:00
Damien Grisonnet
0f6cd6d0a8
Makefile: remove containerized tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 12:47:57 +02:00
Damien Grisonnet and Lili Cosic
63bdb7d931
doc: add kubernetes compatibility matrix
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
Co-Authored-By: Lili Cosic <cosiclili@gmail.com >
2020-03-31 13:39:26 +02:00
Damien Grisonnet
848285797c
doc: add note related to example.jsonnet
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-03-05 10:23:27 +01:00
Damien Grisonnet
b5ba409b9a
doc: update release version in customizing section
...
Fixes #435
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-03-04 13:14:04 +01:00