summaryrefslogtreecommitdiffstats
path: root/roles/openshift_prometheus/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentation to make yamllint happyVadim Rutkovsky2018-02-101-27/+27
| | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* Verify that requested services have schedulable nodes matching the selectorsVadim Rutkovsky2018-02-101-0/+7
| | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* Fix uninstall using openshift_prometheus_state=absentZohar Galor2018-02-071-0/+0
| | | | | | This was broken in https://github.com/openshift/openshift-ansible/pull/6811 bz: https://bugzilla.redhat.com/show_bug.cgi?id=1540806
* Rebase Prometheus example for new scrape endpoints and expose alert managerMangirdas2018-01-284-67/+66
|
* Remove references to deployment_typeMichael Gugino2017-12-211-1/+1
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-3/+3
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-181-2/+2
| | | | | | | | | | | | | | 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.
* Add support for storage classes to openshift_prometheus role.Jiri Mencak2017-12-121-0/+3
|
* Change the name of the variable and explicitely document the namesDiego Abelenda2017-11-241-1/+1
|
* Allow to set the hostname for routes to prometheus and alertmanagerDiego Abelenda2017-11-241-0/+3
|
* Include Deprecation - openshift-prometheusRussell Teague2017-11-221-2/+2
|
* Fix uninstall option for prometheusZohar Galor2017-11-203-13/+22
| | | | | | | Only remove prometheus namespace when uninstalling. This will remove all the contained objects. bz: https://bugzilla.redhat.com/show_bug.cgi?id=1492544
* Create prometheus configmaps before statefulsetZohar Galor2017-11-131-19/+19
| | | | | 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.
* Fix prometheus default varsMichael Gugino2017-11-071-12/+1
| | | | | | | | | 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
* Add enterprise prometheus image defaultsScott Dodson2017-11-011-0/+16
| | | | | | 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 emptydirZohar Galor2017-10-241-0/+3
| | | | | | | | 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
* Switch to stateful set in prometheusZohar Galor2017-10-231-6/+6
| | | | Also update prometheus and alert-buffer image versions, and add prometheus, and oauth-proxy arguments to align with origin template
* Fix prometheus role nfsZohar Galor2017-10-163-89/+0
| | | | | | Allow for external or internal nfs. use facts as used for logging and metrics. Update prometheus-alertmanager image to v0.9.1
* Prometheus role fixesZohar Galor2017-09-181-1/+4
| | | | | - Use official prometheus-alert-buffer image - Add prometheus annotations to service
* Create ansible role for deploying prometheus on openshiftZohar Galor2017-09-064-0/+347
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