summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_fluentd/defaults/main.yml
blob: 25f7580a45f62722cd867ad11ba5f7d99af7a5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
### General logging settings
openshift_logging_fluentd_image_prefix: "{{ openshift_logging_image_prefix | default(__openshift_logging_image_prefix) }}"
openshift_logging_fluentd_image_version: "{{ openshift_logging_image_version | default('latest') }}"
openshift_logging_fluentd_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}"
openshift_logging_fluentd_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
openshift_logging_fluentd_namespace: logging

### Common settings
openshift_logging_fluentd_nodeselector: "{{ openshift_hosted_logging_fluentd_nodeselector_label | default('logging-infra-fluentd=true') | map_from_pairs }}"
openshift_logging_fluentd_cpu_limit: 100m
openshift_logging_fluentd_memory_limit: 512Mi
openshift_logging_fluentd_hosts: ['--all']

# float time in seconds to wait between node labelling
openshift_logging_fluentd_label_delay: '0.5'

# Fluentd deployment type
openshift_logging_fluentd_deployment_type: "hosted"

### Used by "hosted" and "secure-host" deployments

# Destination for the application based logs
openshift_logging_fluentd_app_host: "logging-es"
openshift_logging_fluentd_app_port: 9200
# Destination for the operations based logs
openshift_logging_fluentd_ops_host: "{{ openshift_logging_fluentd_app_host }}"
openshift_logging_fluentd_ops_port: "{{ openshift_logging_fluentd_app_port }}"

### Used by "hosted" and "secure-aggregator" deployments
openshift_logging_fluentd_journal_source: "{{ openshift_hosted_logging_journal_source | default('') }}"
openshift_logging_fluentd_journal_read_from_head: "{{ openshift_hosted_logging_journal_read_from_head | default('') }}"

openshift_logging_fluentd_app_client_cert: /etc/fluent/keys/cert
openshift_logging_fluentd_app_client_key: /etc/fluent/keys/key
openshift_logging_fluentd_app_ca: /etc/fluent/keys/ca
openshift_logging_fluentd_ops_client_cert: /etc/fluent/keys/cert
openshift_logging_fluentd_ops_client_key: /etc/fluent/keys/key
openshift_logging_fluentd_ops_ca: /etc/fluent/keys/ca


# used by "secure-host" and "secure-aggregator" deployments
openshift_logging_fluentd_shared_key: "{{ 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' | random_word(128) }}"
openshift_logging_fluentd_aggregating_port: 24284
openshift_logging_fluentd_aggregating_host: "${HOSTNAME}"
openshift_logging_fluentd_aggregating_secure: "no"
openshift_logging_fluentd_aggregating_strict: "no"
openshift_logging_fluentd_aggregating_cert_path: none
openshift_logging_fluentd_aggregating_key_path: none
openshift_logging_fluentd_aggregating_passphrase: none

### Deprecating in 3.6
# following can be uncommented to provide values for configmaps -- take care when providing file contents as it may cause your cluster to not operate correctly
#fluentd_config_contents:
#fluentd_throttle_contents:
#fluentd_secureforward_contents:

openshift_logging_fluentd_file_buffer_limit: 1Gi

# Configure fluentd to tail audit log file and filter out container engine's logs from there
# These logs are then stored in ES operation index
openshift_logging_fluentd_audit_container_engine: False