| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
|
|
|
|
| |
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
|
|
|
|
| |
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
|
|
|
|
|
|
| |
This was broken in https://github.com/openshift/openshift-ansible/pull/6811
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1540806
|
|
|
|
|
|
| |
Prometheus alertmanager as of 0.13.0 requires double dashes (posix) for
command line flags. The double dashes should be backwards compat
with earlier versions of alertmanager.
|
| |
|
|
|
|
|
| |
The prometheus block duration settings should not be changed from their defaults.
See also: https://github.com/prometheus/prometheus/pull/3618
|
|
|
|
|
|
|
| |
Move openshift_deployment_type check into sanity_check
action plugin. Remove compatibility for deployment_type.
deployment_type has been deprecated for some time now.
|
|
|
|
|
| |
We set these variables using facts in init, no need
to duplicate the logic all around the codebase.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit relocates filter_plugings to lib_utils,
changes the namespacing to prevent unintended use of
older versions that may be present in filter_plugins/
directory on existing installs.
Add lib_utils to meta depends for roles
Also consolidate some plugins into lib_utils from
various other areas.
Update rpm spec, obsolete plugin rpms.
|
| |
|
|\
| |
| | |
dist.iteritems() no longer exists in Python 3.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
Fix uninstall option for prometheus
|
| |
| |
| |
| |
| |
| |
| | |
Only remove prometheus namespace when uninstalling.
This will remove all the contained objects.
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1492544
|
|/
|
|
|
| |
config.file and web.listen-address remain unconfigurable (Changing those will break deployment)
Storage defaults moved to a list parameter `openshift_prometheus_args` that can be modified and extended.
|
|
|
|
|
| |
Originally statefulset was created before configmaps and the pod would have a "FailedMount" warning for a few seconds until the configmaps are created.
Now the configmaps are created before the statefulset to avoid that warning.
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently, prometheus role tries to set some defaults depending
on openshift_deployment_type.
This commit simplifies that logic.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509782
|
|
|
|
|
|
| |
Only require that openshift_prometheus_image_prefix be set to affect all
other prefixes. Unfortunately the image_version for origin varies by
image so a common image_version cannot be used.
|
|\
| |
| | |
Change default in prometheus storage type to emptydir
|
| |
| |
| |
| |
| |
| |
| |
| | |
Only create pvcs when openshift_prometheus_<alertmanager|buffer>_storage_type==pvc
By default deployment will use emptydir.
Add some documentation and examples.
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1495446
|
|/
|
|
|
|
| |
To allow easier testing and deployment from different repos, image defaults were split to prefix and version that can be set externally.
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1493431
|
|\
| |
| | |
Switch to stateful set in prometheus
|
| |
| |
| |
| | |
Also update prometheus and alert-buffer image versions, and add prometheus, and oauth-proxy arguments to align with origin template
|
|/
|
|
| |
Add documentation of external nfs variables
|
|\
| |
| | |
Fix typo in setting prom-proxy memory limit
|
| |
| |
| |
| | |
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1493368
|
|/ |
|
|
|
|
|
|
| |
Allow for external or internal nfs.
use facts as used for logging and metrics.
Update prometheus-alertmanager image to v0.9.1
|
|
|
|
|
| |
- Use official prometheus-alert-buffer image
- Add prometheus annotations to service
|
|
A new role for installing prometheus on openshift.
Depends on `openshift_hosted_prometheus_deploy` flag
role creates:
- prometheus namespace
- prometheus clusterrolebinding and service account
- pvs for prometheus, alertmanager and alertbuffer for internal nfs
- prometheus pod with prometheus behind oauth-proxy, alertmanager and alert-buffer behind oauth-proxy
- prometheus and alertmanager configmaps
- prometheus and alerts services and direct routes
- prometheus, alertmanager and alert-buffer pvcs
|