paulfantom
feee269fdb
jsonnet: improve all-namespaces addon
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-06-01 09:05:07 +02:00
Paweł Krupa
6d603cf7a9
Merge pull request #1142 from faruryo/fix/kubespray-alert
...
Fix scheduler and controller selectors for Kubespray
2021-05-31 23:14:02 +02:00
Paweł Krupa
dccf2ee085
Merge pull request #1135 from paulfantom/use-common
2021-05-31 23:12:53 +02:00
Paweł Krupa
93cc34f0f6
Merge pull request #1171 from anarcher/pr/grafana-env-1167
...
feat(grafana): add env parameter for grafana component
2021-05-31 23:11:34 +02:00
Ajit
d57542eae1
Fix for bug #1163 ( #1164 )
2021-05-31 23:08:59 +02:00
anarcher
8bcfb98a1d
feat(grafana): add env parameter for gradana component
2021-05-31 18:52:55 +09:00
Paweł Krupa
b279e38809
Merge pull request #1129 from onprem/feature-flags
2021-05-31 10:56:39 +02:00
paulportela
f7baf1599d
Fix adding private repository
...
`imageRepos` field was removed and the project no longer tries to compose image strings. Now the libraries use `$.values.common.images` to override default images.
2021-05-28 17:22:27 -07:00
Prem Saraswat
228f8ffdad
Add support for feature-flags in Prometheus
2021-05-27 23:21:30 +05:30
paulfantom
039d4a1e48
jsonnet: sort list of dropped metrics
2021-05-27 10:49:36 +02:00
paulfantom
2873857dc7
jsonnet: convert string of deprecated metrics into array
2021-05-27 10:46:58 +02:00
paulfantom
2fee85eb43
jsonnet: drop storage_operation_errors_total and storage_operation_status_count as those are deprecated in k8s 1.21
2021-05-26 12:49:44 +02:00
Paweł Krupa
a89da4adb6
Merge pull request #1113 from paulfantom/unpin
...
Unpin jsonnet dependencies
2021-05-26 11:18:46 +02:00
paulfantom
ce7e86b93a
jsonnet/kube-prometheus: fix usage of latest thanos mixin
2021-05-25 16:03:39 +02:00
paulfantom
ddfadbadf9
jsonnet: unpin dependencies
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-05-25 16:03:11 +02:00
paulfantom
3197720de6
*: add test of mixin addition in examples/; change config to _config
in addMixin to be consistent with main components
2021-05-21 11:43:59 +02:00
Paweł Krupa
b9ecb0a6c6
Merge pull request #1148 from xadereq/fix_missing_resource
...
jsonnet/components: fix missing resource config in blackbox exporter
2021-05-20 14:37:24 +02:00
Piotr Piskiewicz
a8c344c848
jsonnet/components: fix missing resource config in blackbox exporter
2021-05-17 21:32:01 +02:00
Simon Pasquier
e58cadfe96
jsonnet/kube-prometheus/addons: fix KSM regex patterns
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-05-17 12:42:43 +02:00
faruryo
babc6b820c
Fix scheduler and controller selectors for Kubespray
...
- refs:https://github.com/prometheus-operator/kube-prometheus/pull/916
- kubespray uses kubeadm, so it is good to inherit it
2021-05-09 23:26:47 +09:00
Paweł Krupa
3b1f268d51
Merge pull request #1140 from paulfantom/config-reloader
...
jsonnet: use common to populate options for additional objects
2021-05-07 10:00:29 +02:00
paulfantom
f340a76e21
jsonnet/addons: fix config-reloader limits
2021-05-07 09:37:03 +02:00
Paweł Krupa
a1210f1eff
Merge pull request #1132 from paulfantom/ruleNamespaceSelector
2021-05-06 23:05:34 +02:00
paulfantom
c2ea96bf4f
jsonnet: use common to populate options for additional objects
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-05-05 16:31:36 +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
paulfantom
ee7fb97598
jsonnet: by default select rules from all available namespaces
2021-05-04 13:20:28 +02:00
Paweł Krupa
982360b65e
addons: hide inline antiaffinity function
2021-05-03 16:01:26 +02:00
paulfantom
b9a49678b2
jsonnet: fmt
2021-05-03 10:02:45 +02:00
paulfantom
2531c043dc
jsonnet: fix conflict resolution
2021-05-03 10:01:37 +02:00
Paweł Krupa
624c6c0108
Merge branch 'main' into feature/configRbacImage
2021-05-03 09:57:23 +02:00
Paweł Krupa
db7f3c9107
Merge pull request #1125 from kaflake/feature/configGrafanaImage
...
can change grafanaImage over $.values.common.images
2021-05-03 09:55:19 +02:00
Paweł Krupa
4eb52db22c
Merge pull request #1123 from kaflake/feature/configmapReloadImage
2021-05-03 09:55:04 +02:00
Nagel, Felix
8c221441d1
fix formatting issues
2021-05-03 07:02:28 +02:00
Nagel, Felix
f107e8fb16
fix formatting issues
2021-05-03 06:59:10 +02:00
Nagel, Felix
14e6143037
replace double quotes with single quotes
2021-05-03 06:35:59 +02:00
Paweł Krupa
5b2740d517
Merge pull request #1114 from dgrisonnet/export-anti-affinity
...
Export anti-affinity addon
2021-04-30 17:20:01 +02:00
Nagel, Felix
7e5d4196b9
can change grafanaImage over $.values.common.images
2021-04-30 14:05:23 +02:00
Nagel, Felix
5761267842
can change kubeRbacProxy over $.values.common.images
2021-04-30 13:48:34 +02:00
Nagel, Felix
be2964887f
can change configmapReload over $.values.common.images
2021-04-30 12:46:48 +02:00
paulfantom
53efc25b3f
jsonnet: pin alertmanager to specific commit as release-0.21 doesn't have mixin directory
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-04-27 22:11:49 +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
paulfantom
415afa4cc0
*: cut release-0.8
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-04-27 13:08:03 +02:00
Luis Vidal Ernst
8c712eaa36
Fixed labels in windows addon
2021-04-27 12:47:23 +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
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
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
ArthurSens
c96c639ef1
Add summary
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-16 18:06:47 +00:00