summaryrefslogtreecommitdiff
path: root/roles/openshift_prometheus/tasks
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-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-01-28Rebase Prometheus example for new scrape endpoints and expose alert managerMangirdas
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-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-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-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-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-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-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-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