summaryrefslogtreecommitdiff
path: root/roles/openshift_prometheus
AgeCommit message (Collapse)Author
2018-02-10Fix indentation to make yamllint happyVadim Rutkovsky
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-10Verify that requested services have schedulable nodes matching the selectorsVadim Rutkovsky
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-08Set default image tag to openshift_image_tag for servicesVadim Rutkovsky
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-07Fix uninstall using openshift_prometheus_state=absentZohar Galor
This was broken in https://github.com/openshift/openshift-ansible/pull/6811 bz: https://bugzilla.redhat.com/show_bug.cgi?id=1540806
2018-02-05bug 1540799: openshift_prometheus: update alertmanager config file flagPaul Gier
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.
2018-01-28Rebase Prometheus example for new scrape endpoints and expose alert managerMangirdas
2018-01-17openshift_prometheus: remove block duration settingsPaul Gier
The prometheus block duration settings should not be changed from their defaults. See also: https://github.com/prometheus/prometheus/pull/3618
2017-12-21Remove references to deployment_typeMichael Gugino
Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
2017-12-20Remove openshift.common.{is_atomic|is_containerized}Michael Gugino
We set these variables using facts in init, no need to duplicate the logic all around the codebase.
2017-12-18Relocate filter plugins to lib_utilsMichael Gugino
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.
2017-12-12Add support for storage classes to openshift_prometheus role.Jiri Mencak
2017-11-28Merge pull request #6259 from adelton/issue-6255Michael Gugino
dist.iteritems() no longer exists in Python 3.
2017-11-28Update prometheus to 2.0.0 GAZohar Galor
2017-11-27dist.iteritems() no longer exists in Python 3.Jan Pazdziora
2017-11-24Fix name of the service pointed to by hostnameDiego Abelenda
2017-11-24Missed the default value after the variable name change...Diego Abelenda
2017-11-24Change the name of the variable and explicitely document the namesDiego Abelenda
2017-11-24Allow to set the hostname for routes to prometheus and alertmanagerDiego Abelenda
2017-11-22Include Deprecation - openshift-prometheusRussell Teague
2017-11-22Merge pull request #6180 from zgalor/uninstall_prometheusScott Dodson
Fix uninstall option for prometheus
2017-11-20Fix uninstall option for prometheusZohar Galor
Only remove prometheus namespace when uninstalling. This will remove all the contained objects. bz: https://bugzilla.redhat.com/show_bug.cgi?id=1492544
2017-11-19Allow modifying and adding prometheus application argumentsZohar Galor
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.
2017-11-13Create prometheus configmaps before statefulsetZohar Galor
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.
2017-11-08Change prometheus default namespace to 'openshift-metrics'Zohar Galor
2017-11-07Fix prometheus default varsMichael Gugino
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
2017-11-01Add enterprise prometheus image defaultsScott Dodson
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.
2017-10-25Merge pull request #5848 from zgalor/pvc_default_alignScott Dodson
Change default in prometheus storage type to emptydir
2017-10-24Change default in prometheus storage type to emptydirZohar Galor
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
2017-10-24Split prometheus image defaults to prefix and versionZohar Galor
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
2017-10-23Merge pull request #5808 from zgalor/stateful_setScott Dodson
Switch to stateful set in prometheus
2017-10-23Switch to stateful set in prometheusZohar Galor
Also update prometheus and alert-buffer image versions, and add prometheus, and oauth-proxy arguments to align with origin template
2017-10-19Add nfs variables documentation to README fileZohar Galor
Add documentation of external nfs variables
2017-10-18Merge pull request #5789 from zgalor/fix_limit_typoScott Dodson
Fix typo in setting prom-proxy memory limit
2017-10-18Fix pvc selector default to be empty dict instead of stringZohar Galor
2017-10-18Fix typo in setting prom-proxy memory limitZohar Galor
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1493368
2017-10-16Fix prometheus role nfsZohar Galor
Allow for external or internal nfs. use facts as used for logging and metrics. Update prometheus-alertmanager image to v0.9.1
2017-09-18Prometheus role fixesZohar Galor
- Use official prometheus-alert-buffer image - Add prometheus annotations to service
2017-09-06Create ansible role for deploying prometheus on openshiftZohar Galor
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