summaryrefslogtreecommitdiffstats
path: root/roles/openshift_prometheus
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>
* Set default image tag to openshift_image_tag for servicesVadim Rutkovsky2018-02-081-4/+4
| | | | 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
* bug 1540799: openshift_prometheus: update alertmanager config file flagPaul Gier2018-02-052-2/+2
| | | | | | 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.
* Rebase Prometheus example for new scrape endpoints and expose alert managerMangirdas2018-01-287-142/+273
|
* openshift_prometheus: remove block duration settingsPaul Gier2018-01-172-2/+2
| | | | | The prometheus block duration settings should not be changed from their defaults. See also: https://github.com/prometheus/prometheus/pull/3618
* 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-182-4/+5
| | | | | | | | | | | | | | 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-123-0/+8
|
* Merge pull request #6259 from adelton/issue-6255Michael Gugino2017-11-281-1/+1
|\ | | | | dist.iteritems() no longer exists in Python 3.
| * dist.iteritems() no longer exists in Python 3.Jan Pazdziora2017-11-271-1/+1
| |
* | Update prometheus to 2.0.0 GAZohar Galor2017-11-281-1/+1
| |
* | Fix name of the service pointed to by hostnameDiego Abelenda2017-11-241-1/+1
| |
* | Missed the default value after the variable name change...Diego Abelenda2017-11-241-1/+1
| |
* | Change the name of the variable and explicitely document the namesDiego Abelenda2017-11-242-2/+4
| |
* | Allow to set the hostname for routes to prometheus and alertmanagerDiego Abelenda2017-11-243-0/+9
|/
* Include Deprecation - openshift-prometheusRussell Teague2017-11-221-2/+2
|
* Merge pull request #6180 from zgalor/uninstall_prometheusScott Dodson2017-11-223-13/+22
|\ | | | | Fix uninstall option for prometheus
| * 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
* | Allow modifying and adding prometheus application argumentsZohar Galor2017-11-193-2/+13
|/ | | | | 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.
* 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.
* Change prometheus default namespace to 'openshift-metrics'Zohar Galor2017-11-081-1/+1
|
* Fix prometheus default varsMichael Gugino2017-11-074-49/+48
| | | | | | | | | 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-014-10/+30
| | | | | | 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.
* Merge pull request #5848 from zgalor/pvc_default_alignScott Dodson2017-10-253-4/+10
|\ | | | | Change default in prometheus storage type to emptydir
| * Change default in prometheus storage type to emptydirZohar Galor2017-10-243-4/+10
| | | | | | | | | | | | | | | | 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
* | Split prometheus image defaults to prefix and versionZohar Galor2017-10-243-11/+17
|/ | | | | | 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
* Merge pull request #5808 from zgalor/stateful_setScott Dodson2017-10-234-14/+18
|\ | | | | Switch to stateful set in prometheus
| * Switch to stateful set in prometheusZohar Galor2017-10-234-14/+18
| | | | | | | | Also update prometheus and alert-buffer image versions, and add prometheus, and oauth-proxy arguments to align with origin template
* | Add nfs variables documentation to README fileZohar Galor2017-10-191-2/+25
|/ | | | Add documentation of external nfs variables
* Merge pull request #5789 from zgalor/fix_limit_typoScott Dodson2017-10-181-1/+1
|\ | | | | Fix typo in setting prom-proxy memory limit
| * Fix typo in setting prom-proxy memory limitZohar Galor2017-10-181-1/+1
| | | | | | | | bz: https://bugzilla.redhat.com/show_bug.cgi?id=1493368
* | Fix pvc selector default to be empty dict instead of stringZohar Galor2017-10-181-3/+3
|/
* Fix prometheus role nfsZohar Galor2017-10-168-164/+7
| | | | | | 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-182-2/+5
| | | | | - Use official prometheus-alert-buffer image - Add prometheus annotations to service
* Create ansible role for deploying prometheus on openshiftZohar Galor2017-09-0617-0/+1028
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