2335 Commits

Author SHA1 Message Date
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
Sergiusz Urbaniak
d2f8152a8b
Merge pull request #1101 from paulfantom/cut-0.8
*: cut release-0.8
v0.8.0
2021-04-27 13:19:03 +02:00
paulfantom
415afa4cc0
*: cut release-0.8
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-04-27 13:08:03 +02:00
Paweł Krupa
984de5fb3d
Merge pull request #1111 from Luis-TT/fix-windows-addon-label 2021-04-27 13:07:47 +02:00
Luis Vidal Ernst
419eaf28ce Fixed windows addon example 2021-04-27 12:49:29 +02:00
Luis Vidal Ernst
8c712eaa36 Fixed labels in windows addon 2021-04-27 12:47:23 +02:00
Frederic Branczyk
9d69c4c318
Merge pull request #1103 from paulfantom/anti-affinity-test
examples: add anti-affinity example and include it in readme
2021-04-23 13:50:18 +02:00
Paweł Krupa
63da55bc9f
Merge pull request #1102 from superbiche/fix/anti-affinity 2021-04-23 09:38:42 +02:00
paulfantom
cd755f2487
examples: add anti-affinity example and include it in readme 2021-04-23 09:38:23 +02:00
Michel Tomas
dd1b9d00e3 docs: fix outdated anti-affinity docs 2021-04-23 01:19:22 +02:00
Michel Tomas
e9d5221fb7 fix(addons): anti-affinity field does not exist: config 2021-04-23 01:19:05 +02:00
Paweł Krupa
cf039d2222
Merge pull request #1050 from paulfantom/fix827
jsonnet/kube-prometheus: fix jb warning message
2021-04-22 13:08:34 +02:00
Paweł Krupa
a3d67f5219
Merge pull request #1095 from dgrisonnet/prometheus-adapter-ha
Make prometheus-adapter highly-available
2021-04-22 12:00:39 +02:00
Kemal Akkoyun
31189e3a18
Merge pull request #1091 from paulfantom/default-containers
jsonnet: add default container annotation for KSM and blackbox exporter
2021-04-22 11:19:14 +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
paulfantom
412061ef51
manifests: regenerate 2021-04-21 18:43:01 +02:00
paulfantom
7b69800686
jsonnet: add default container annotation for KSM and blackbox
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-04-21 18:43:00 +02:00
paulfantom
417e8b3f66
jsonnet/kube-prometheus: fix jb warning message
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-04-20 19:18:22 +02:00
Paweł Krupa
752d1a7fdc
Merge pull request #1093 from ArthurSens/as/custom-alerts-description 2021-04-20 19:13:48 +02:00
Paweł Krupa
4839afb546
Merge pull request #1100 from jan--f/update-kubernetes-mixins 2021-04-20 15:01:48 +02:00
Jan Fajerski
8b39a459fa update generated assets
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-04-20 14:35:31 +02:00
Jan Fajerski
9952e858c7 update kubernetes-mixins
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-04-20 14:31:40 +02:00
Paweł Krupa
cf6f5f2801
Merge pull request #1096 from ArthurSens/as/gitpod-githook
Add githook to gitpod.yml that validates fmt and manifests
2021-04-19 08:03:49 +02:00
ArthurSens
b043054974 Add githook to gitpod.yaml that validates fmt and manifests
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-16 19:49:10 +00:00
ArthurSens
72b742d7e8 Regenerate manifests
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-16 18:06:47 +00:00
ArthurSens
c96c639ef1 Add summary
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-16 18:06:47 +00:00
ArthurSens
92016ef68d Change message to description
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-16 18:06:47 +00:00
Kemal Akkoyun
0cde11d3fb
Merge pull request #1094 from paulfantom/follow-up#1039
jsonnet: fix windows addon
2021-04-16 17:19:59 +02:00
paulfantom
3135cdd70d
jsonnet: fix windows addon 2021-04-16 15:12:41 +02:00
Paweł Krupa
07136d1d6e
Merge pull request #1039 from paulfantom/unify-config
jsonnet: unify internal configuration field name
2021-04-16 15:05:26 +02:00
Paweł Krupa
8b62749642
Merge pull request #1076 from paulfantom/ksm-lite
reduce KSM cardinality by denylisting unused metrics
2021-04-16 12:36:31 +02:00
Paweł Krupa
0cb0c49186
Merge pull request #1092 from xpepermint/update-versions
Update versions
2021-04-16 08:58:26 +02:00
Kristijan Sedlak
28d58a9dbc Update versions 2021-04-14 20:19:00 +02:00
Paweł Krupa
7a3879ba49
Merge pull request #1070 from ArthurSens/as/psp-respect-common-ns
Psp should be deployed at the same namespace as kube-prometheus stack
2021-04-12 10:31:51 +02:00
Paweł Krupa
9b5b9dccf7
Merge pull request #1080 from markus-codes/main
update customizing kube-prometheus installing section
2021-04-12 09:34:25 +02:00
Paweł Krupa
0306cdc053
Merge pull request #1081 from adinhodovic/document-mixin-lib
Document usage of the mixin library
2021-04-12 09:33:45 +02:00
Adin Hodovic
19801f0709 Document usage of the mixin library 2021-04-10 00:19:17 +02:00
Markus Heinemann
e13f0db3d1 update customizing kube-prometheus installing section
raised the version of kube-prometheus to 0.7 in the customizing
kube-prometheus installing section
2021-04-09 12:42:11 +00:00
Paweł Krupa
1e67c71703
Merge pull request #1072 from dgrisonnet/platform-patch
Allow configuring the platform used directly instead of having to use a patch
2021-04-09 14:29:34 +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
Paweł Krupa
eaeb0c6acf
Merge pull request #1078 from jan--f/update-kubernetes-mixins 2021-04-09 12:36:01 +02:00
Jan Fajerski
1cefb18e55 update generated manifests
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-04-09 11:53:06 +02:00
Jan Fajerski
0c468d534d update kubernetes-mixins
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-04-09 11:52:22 +02:00
Paweł Krupa
de3673a286
Merge pull request #1054 from adinhodovic/add-external-mixin-support
jsonnet: Add External mixin lib
2021-04-08 09:11:48 +02:00
Paweł Krupa
874bf089ae
Merge pull request #1074 from ArthurSens/as/gitpodfy
Setup gitpod config for ephemeral dev-environments
2021-04-08 09:11:22 +02:00
paulfantom
f81412d05d jsonnet/kube-prometheus/addons: reduce KSM cardinality by denylisting unused metrics
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-04-07 14:23:43 +02:00
Paweł Krupa
2ba8d8aca2
Merge pull request #1058 from mansikulkarni96/windows_exporter 2021-04-07 10:07:33 +02:00
Adin Hodovic
0268128bd1 Add External mixin library
Add library for mixins
2021-04-06 11:59:03 +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
ArthurSens
cf4d2ad524 Setup gitpod config for ephemeral dev-environments
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-02 01:34:04 +00:00