summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #6088 from wozniakjan/bug_1510496_es_pvc_sizeOpenShift Merge Robot2017-11-162-1/+3
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1510496 - logging: honor ES PVC size fix for https://bugzilla.redhat.com/show_bug.cgi?id=1510496
| * | Bug 1510496 - logging: honor ES PVC sizeJan Wozniak2017-11-102-1/+3
| | |
* | | Merge pull request #6037 from ewolinetz/logging_default_imagesOpenShift Merge Robot2017-11-153-17/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Updating logging components image defaulting pattern Matches openshift_logging pattern and pattern used by other ansible components Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1505681
| * | | Removing setting prefix and version facts in openshift_logging to let the ↵Eric Wolinetz2017-11-133-19/+0
| | | | | | | | | | | | | | | | component roles set their defaults
| * | | Updating logging components image defaulting pattern to match ↵Eric Wolinetz2017-11-061-1/+3
| | |/ | |/| | | | | | | openshift_logging pattern
* | | Removed old version codeMichael Gugino2017-11-141-4/+0
| |/ |/| | | | | | | | | This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
* | Correct service restart commandScott Dodson2017-11-081-1/+1
| |
* | Retry restarting master controllersMichael Gugino2017-11-061-1/+6
|/ | | | | | | | | Currently, master controller services may fail to restart if master api services are not fully initialized. This commit enables retry of master controllers. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509837
* Using the currently attached pvc for an ES dc if available, otherwise ↵Eric Wolinetz2017-11-011-2/+2
| | | | falling back to current logic
* Merge pull request #5888 from jcantrill/1501599_allow_project_overcommitOpenShift Merge Robot2017-10-301-0/+8
|\ | | | | | | | | | | | | | | Automatic merge from submit-queue. bug 1501599. Omit logging project from overcommit restrictions This PR: * Annotates the logging project to remove overcommit restrictions
| * bug 1501599. Omit logging project from overcommit restrictionsJeff Cantrill2017-10-251-0/+8
| |
* | bug 1506073. Lower cpu request for logging when it exceeds limitJeff Cantrill2017-10-273-0/+44
| |
* | Merge pull request #5863 from mgugino-upstream-stage/fix-logging-loop-warningsOpenShift Merge Robot2017-10-261-12/+21
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix loop_var warnings during logging install Currently, install_logging.yml in openshift_logging role loops over other roles. This creates a collision with the keyword 'item' in those roles. This commit adds the loop_var as suggested by ansible warnings.
| * Fix loop_var warnings during logging installMichael Gugino2017-10-241-12/+21
| | | | | | | | | | | | | | | | | | Currently, install_logging.yml in openshift_logging role loops over other roles. This creates a collision with the keyword 'item' in those roles. This commit adds the loop_var as suggested by ansible warnings.
* | Bug 1452939 - change Logging & Metrics imagePullPolicyJan Wozniak2017-10-232-1/+76
|/ | | | | - all images logging and metrics change their default imagePullPolicy from Always to IfNotPresent
* Merge pull request #5748 from portante/fix-cpu-limitsScott Dodson2017-10-203-21/+36
|\ | | | | Use "requests" for CPU resources instead of limits
| * Use "requests" for CPU resources instead of limitsPeter Portante2017-10-193-21/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now use a CPU request to ensure logging infrastructure pods are not capped by default for CPU usage. It is still important to ensure we have a minimum amount of CPU. We keep the use of the variables *_cpu_limit so that the existing behavior is maintained. Note that we don't want to cap an infra pod's CPU usage by default, since we want to be able to use the necessary resources to complete it's tasks. Bug 1501960 (https://bugzilla.redhat.com/show_bug.cgi?id=1501960)
* | Merge pull request #5766 from jcantrill/1489498_preserve_replica_countScott Dodson2017-10-205-4/+57
|\ \ | |/ |/| bug 1489498. preserve replica and shard settings
| * bug 1489498. preserve replica and shard settingsJeff Cantrill2017-10-175-4/+57
| |
* | Add switch to enable/disable container engine's audit log being stored in ES.Josef Karasek2017-10-111-0/+3
|/ | | | If enabled, tho logs are stored in ES' operations index, accesible only by cluster admins.
* Merge pull request #5637 from wozniakjan/1496271_fixOpenShift Merge Robot2017-10-053-11/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1496271 - Perserve SCC for ES local persistent storage ES can be modified to use node local persistent storage. This requires changing SCC and is described in docs: https://docs.openshift.com/container-platform/3.6/install_config/aggregate_logging.html During an upgrade, SCC defined by the user is ignored. This fix fetches SCC user defined as a fact and adds it to the ES DC which is later used. Also includes cherrypicked fix for - Bug 1482661 - Preserve ES dc nodeSelector and supplementalGroups cc @jcantrill
| * Bug 1496271 - Perserve SCC for ES local persistent storageJeff Cantrill2017-10-033-6/+6
| | | | | | | | | | | | | | | | | | | | ES can be modified to use node local persistent storage. This requires changing SCC and is described in docs: https://docs.openshift.com/container-platform/3.6/install_config/aggregate_logging.html During an upgrade, SCC defined by the user is ignored. This fix fetches SCC user defined as a fact and adds it to the ES DC which is later used.
| * bug 1482661. Preserve ES dc nodeSelector and supplementalGroupsJeff Cantrill2017-09-292-5/+13
| | | | | | | | (cherry picked from commit 601e35cbf4410972c7fa0a1d3d5c6327b82353ac)
* | Merge pull request #5564 from jcantrill/es_promOpenShift Merge Robot2017-10-053-3/+21
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add logging es prometheus endpoint This PR adds changes to add a prometheus endpoint to the logging elasticsearch pod
| * | Add logging es prometheus endpointJeff Cantrill2017-10-033-3/+21
| | |
* | | Merge pull request #5543 from ewolinetz/bz1495150OpenShift Merge Robot2017-10-041-4/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Removing setting pvc size and dynamic to remove looped var setting If we don't set openshift_logging_es_pvc_size but have `openshift_logging_es_pvc_dynamic=True` we see the variable openshift_logging_elasticsearch_pvc_size is set recursively as itself. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1495150 https://bugzilla.redhat.com/show_bug.cgi?id=1496202
| * | | Removing setting pvc size and dynamic to remove looped var settingEric Wolinetz2017-09-261-4/+0
| | | |
* | | | bug 1497401. Default logging and metrics images to 3.7Jeff Cantrill2017-10-031-1/+1
| | | |
* | | | Merge pull request #5600 from ewolinetz/bz1496352OpenShift Merge Robot2017-10-022-2/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Reverting using uninstall variables for logging and metrics Reverting using `uninstall` variables for logging and metrics. Addresses bug and comments in https://bugzilla.redhat.com/show_bug.cgi?id=1496352
| * | | Reverting using uninstall variables for logging and metricsEric Wolinetz2017-09-292-2/+1
| | |/ | |/|
* | | Quick formatting updates to the logging README.stran2017-09-281-22/+22
|/ / | | | | | | This is just markup formatting changes, no content was updated.
* | minor update to README and removed dead filestran2017-09-271-6/+18
| |
* | Added new variables for logging role for remote-syslog pluginstran2017-09-271-0/+11
| | | | | | | | | | | | | | | | Includes the following code review fixes, and a rebase with upstream/master - mux.j2 template needed mux specific parameters for syslog configs - fixed bug in IF condition not checking for true-ness - updated README wording to remove ambiguity of payload_key's datatype
* | Merge pull request #4973 from wozniakjan/logging_eventrouterOpenShift Merge Robot2017-09-273-2/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue logging: introducing event router Initial concept integrating kubernetes events to EFK stack using [eventrouter](https://github.com/heptio/eventrouter) - **eventrouter** is deployed to logging project, has a service account and its own role to read events - **eventrouter** watches kubernetes events, marshalls them to JSON and outputs to its STDOUT - **fluentd** picks them up and inserts to elastic search logging project index Kubernetes events could be easily stored into different index. Among other ways, it could be achieved either by a fluentd filter plugin or custom eventrouter sink. Pending actions: - [x] - get our downstream and upstream images for eventrouter, don't use heptio's cc: @josefkarasek , @jcantrill , @richm
| * | logging: introducing event routerJan Wozniak2017-09-263-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | - eventrouter has its own role 'openshift_logging_eventrouter' written as a template - 'openshift_logging_install_eventrouter' controls whether it gets included in the playbook or not - deployed by default to 'default' namespace
* | | Merge pull request #5358 from wozniakjan/logging_kibana_ops/default_memoryOpenShift Merge Robot2017-09-261-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue logging: fix kibana and kibana-ops defaults - move kibana-ops defaults to `openshift_logging_kibana` role - set kibana-ops memory limit to 256Mi to match kibana memory limit **additional steps:** - [ ] backport to 3.6 - [ ] backport to 3.5 - [x] wait for PR #5176 to merge and rebase cc: @jcantrill
| * | logging: fix kibana and kibana-ops defaultsJan Wozniak2017-09-251-2/+2
| |/
* | Merge pull request #5494 from jcantrill/deprecate_escopyOpenShift Merge Robot2017-09-262-2/+0
|\ \ | |/ |/| | | | | | | | | Automatic merge from submit-queue Remove logging ES_COPY feature This PR removes the ES_COPY feature that has been deprecated since 3.3
| * Remove logging ES_COPY featureJeff Cantrill2017-09-222-2/+0
| |
* | Updating default behavior for installing metrics and logging. Separating out ↵Eric Wolinetz2017-09-222-5/+7
|/ | | | uninstall to own variable
* Creating structure to warn for use of deprecated variables and set them in a ↵Eric Wolinetz2017-09-201-29/+30
| | | | single location before they are no longer honored
* Bug 1491636 - honor openshift_logging_es_ops_nodeselectorJan Wozniak2017-09-141-0/+2
|
* Adding deprecation checks to ansible_syntaxRussell Teague2017-09-011-1/+1
|
* Merge pull request #5189 from wozniakjan/logging_purge_uninstallOpenShift Bot2017-08-313-3/+13
|\ | | | | Merged by openshift-bot
| * Bug 1467265 - logging: add 'purge' option with uninstallJan Wozniak2017-08-243-3/+13
| | | | | | | | | | | | | | | | | | | | | | The common uninstall would keep PVC around to prevent unwanted data loss during reinstalls. There is a scenario where the user may want complete removal of EFK stack including PVC. This change adds an optional `openshift_logging_purge_logging` variable to completely remove the EFK stack. By default, this is set to 'False' and only works if user sets `openshift_logging_install_logging` to 'False' to initiate the uninstallation process.
* | Merge pull request #5219 from jcantrill/bz1480988_kibana_ops_linksScott Dodson2017-08-293-0/+20
|\ \ | | | | | | annotate the infra projects for logging to fix bz1480988
| * | annotate the infra projects for logging to fix bz1480988Jeff Cantrill2017-08-283-0/+20
| | |
* | | Merge pull request #5044 from wozniakjan/logging_role_based_image_versionsOpenShift Bot2017-08-252-12/+12
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Bug 1471322: logging roles based image versionsJan Wozniak2017-08-182-12/+12
| | | | | | | | | | | | | | | | | | Allowing to specify an image version for each logging component https://bugzilla.redhat.com/show_bug.cgi?id=1471322
* | | fix #5206. Default ES cpu limitJeff Cantrill2017-08-251-2/+2
| | |