summaryrefslogtreecommitdiff
path: root/roles/openshift_logging/defaults
AgeCommit message (Collapse)Author
2018-02-05Adding support for ES 5.x tech preview opt inEric Wolinetz
2017-12-05Fix hosted varsMichael Gugino
Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
2017-11-10Bug 1510496 - logging: honor ES PVC sizeJan Wozniak
2017-10-20Merge pull request #5748 from portante/fix-cpu-limitsScott Dodson
Use "requests" for CPU resources instead of limits
2017-10-19Use "requests" for CPU resources instead of limitsPeter Portante
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)
2017-10-17bug 1489498. preserve replica and shard settingsJeff Cantrill
2017-10-05Merge pull request #5637 from wozniakjan/1496271_fixOpenShift Merge Robot
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
2017-10-03Bug 1496271 - Perserve SCC for ES local persistent storageJeff Cantrill
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.
2017-09-29Reverting using uninstall variables for logging and metricsEric Wolinetz
2017-09-26Merge pull request #5358 from wozniakjan/logging_kibana_ops/default_memoryOpenShift Merge Robot
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
2017-09-26Merge pull request #5494 from jcantrill/deprecate_escopyOpenShift Merge Robot
Automatic merge from submit-queue Remove logging ES_COPY feature This PR removes the ES_COPY feature that has been deprecated since 3.3
2017-09-25logging: fix kibana and kibana-ops defaultsJan Wozniak
2017-09-22Updating default behavior for installing metrics and logging. Separating out ↵Eric Wolinetz
uninstall to own variable
2017-09-22Remove logging ES_COPY featureJeff Cantrill
2017-09-20Creating structure to warn for use of deprecated variables and set them in a ↵Eric Wolinetz
single location before they are no longer honored
2017-08-31Merge pull request #5189 from wozniakjan/logging_purge_uninstallOpenShift Bot
Merged by openshift-bot
2017-08-25fix #5206. Default ES cpu limitJeff Cantrill
2017-08-24Bug 1467265 - logging: add 'purge' option with uninstallJan Wozniak
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.
2017-08-01use mux_client_mode instead of use_mux_clientRich Megginson
Instead of the `openshift_logging_use_mux_client` boolean parameter, use `openshift_logging_mux_client_mode` which will allow us to support different mux client use cases: The value `maximal` will cause Fluentd to perform as much of the processing as possible at the local node. This currently means all of the processing *except* for the Kubernetes metadata processing, which will be done by mux. This is the currently recommended mode to use due to current scaling issues. The value `minimal` means that Fluentd will do *no* processing at all, and send the raw logs to mux for processing. This is currently not recommended to use due to current scaling issues. Ansible will warn you if you try to use this mode. `MUX_ALLOW_EXTERNAL` is no longer needed in the mux dc. mux now always operates to process external logs. The ansible setting `openshift_logging_mux_allow_external` is still required in order to set up the mux service to accept connections from outside of the cluster.
2017-07-06Bug 1466152 - Json-file log driver: Neither ↵Rich Megginson
"openshift_logging_fluentd_use_journal=false" nor omitted collects the log entries https://bugzilla.redhat.com/show_bug.cgi?id=1466152 Do not set openshift_logging_fluentd_use_journal or USE_JOURNAL at all unless it is explicitly set as an ansible param. It is almost always better to let fluentd figure out which log driver docker is using.
2017-06-29Fixing ops storage options being passed to openshift_logging_elasticsearch ↵ewolinetz
role fixing default ops pv selector
2017-06-23openshift_logging: use empty default for storage labelsFederico Simoncelli
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2017-06-15Merge pull request #4356 from nhosoi/mux_params-0OpenShift Bot
Merged by openshift-bot
2017-06-13Merge pull request #4302 from ewolinetz/pv_node_selectorsOpenShift Bot
Merged by openshift-bot
2017-06-05Reverted most of this pr 4356 except:Noriko Hosoi
adding openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m and setting the matched environment variables.
2017-06-02Introducing fluentd/mux buffer_queue_limit, buffer_size_limit, cpu_limit, ↵Noriko Hosoi
and memory_limit. Default values: openshift_logging_fluentd_cpu_limit: 100m openshift_logging_fluentd_memory_limit: 512Mi openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 16m openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_cpu_limit: 500m openshift_logging_mux_memory_limit: 1Gi openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m
2017-05-31add mux docs; allow to specify mux namespacesRich Megginson
This adds the necessary documentation for the mux parameters and behavior. This also adds new parameters which allow to specify the namespaces mux must create by default, and which can be optionally added. This casts openshift_logging_use_mux to bool wherever it is used as a boolean. Also - use oc_service `labels` and `external_ips` which are now available.
2017-05-26Allowing openshift_metrics to specify PV selectors and allow way to define ↵ewolinetz
selectors when creating pv
2017-05-18add ability to expose Elasticsearch as an external routeRich Megginson
This adds the ability to expose Elastisearch as a route outside of the cluster. - `openshift_logging_es_allow_external`: True (default is False) - if this is True, Elasticsearch will be exposed as a Route - `openshift_logging_es_ops_hostname`: The external facing hostname to use for the route and the TLS server certificate (default is "es." + `openshift_master_default_subdomain`) There are other similar parameters for the TLS server cert, key, and CA cert. There are other similar parameters for when the OPS cluster is deployed e.g. `openshift_logging_es_ops_allow_external`, etc.
2017-05-11bug 1441369. Kibana memory limitsJeff Cantrill
bug 1439451. Kibana crash (cherry picked from commit 66315ebbfcfda72d6f501c441359d92ec71af7d2)
2017-05-09use docker_log_driver and /etc/docker/daemon.json to determine log driverRich Megginson
We check the following variables, if they are defined, in the order listed below, to see if the journald log driver is set: * openshift_hosted_logging_use_journal * docker_log_driver * openshift.docker.log_driver * openshift.docker.options (look for '--log-driver=journald') If none of these are set, we leave openshift_logging_fluentd_use_journal undefined, and mount both /etc/sysconfig/docker and /etc/docker (for daemon.json) so that fluentd can determine which log driver is being used.
2017-05-03Correctly setting the primary and replica shard count settingsewolinetz
2017-04-27Adding way to add labels and nodeselectors to logging projectewolinetz
2017-04-19mux does not require privileged, only hostmount-anyuidRich Megginson
2017-03-30bug 1432607. Allow configuration of ES log destinationJeff Cantrill
2017-03-24Specify enterprise defaults for logging and metrics imagesScott Dodson
2017-03-23Do not use auto_expand_replicasLukáš Vlček
2017-03-23Merge pull request #3713 from ewolinetz/kibana_ops_cherrypickOpenShift Bot
Merged by openshift-bot
2017-03-21Merge pull request #3647 from jcantrill/logging_specify_es_configOpenShift Bot
Merged by openshift-bot
2017-03-20Cherry picking from #3711ewolinetz
2017-03-16Merge pull request #3669 from ewolinetz/logging_master_api_portScott Dodson
Removing dependency on master facts for master_public_url default
2017-03-15Removing dependency on master facts for master_public_url defaultewolinetz
2017-03-15Cherry picked from #3657ewolinetz
2017-03-14Allow user to specify additions to ES configJeff Cantrill
2017-03-07More logging fixesewolinetz
2017-03-03Adding some more logging defaultsewolinetz
2017-02-23Add insecure edge termination policy for kibana.Wesley Hearn
2017-02-21bug 1425321. Default the master api port based on the factsJeff Cantrill
2017-02-16Merge pull request #3381 from jcantrill/bz_1420217_default_es_memoryEric Wolinetz
bug 1420217. Default ES memory to be compariable to 3.4 deployer
2017-02-16bug 1420217. Default ES memory to be compariable to 3.4 deployerJeff Cantrill