summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_mux/defaults/main.yml
blob: 9de68657616ba781b9a375fb99e2788104d117b9 (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
63
64
65
66
67
68
---
### General logging settings
openshift_logging_mux_image_prefix: "{{ openshift_logging_image_prefix | default(__openshift_logging_image_prefix) }}"
openshift_logging_mux_image_version: "{{ openshift_logging_image_version | default('latest') }}"
openshift_logging_mux_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}"
openshift_logging_mux_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
openshift_logging_mux_master_public_url: "{{ openshift_hosted_logging_master_public_url | default('https://' + openshift.common.public_hostname + ':' ~ (openshift_master_api_port | default('8443', true))) }}"
openshift_logging_mux_namespace: logging

### Common settings
openshift_logging_mux_nodeselector: "{{ openshift_hosted_logging_mux_nodeselector_label | default('') | map_from_pairs }}"
openshift_logging_mux_cpu_limit: null
openshift_logging_mux_cpu_request: 100m
openshift_logging_mux_memory_limit: 512Mi
openshift_logging_mux_buffer_queue_limit: 32
openshift_logging_mux_buffer_size_limit: 8m

openshift_logging_mux_replicas: 1

# Destination for the application based logs
openshift_logging_mux_app_host: "logging-es"
openshift_logging_mux_app_port: 9200
# Destination for the operations based logs
openshift_logging_mux_ops_host: "{{ openshift_logging_mux_app_host }}"
openshift_logging_mux_ops_port: "{{ openshift_logging_mux_app_port }}"

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

openshift_logging_mux_allow_external: False
openshift_logging_use_mux: "{{ openshift_logging_mux_allow_external | default(False) }}"
openshift_logging_mux_hostname: "{{ 'mux.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true)) }}"
openshift_logging_mux_port: 24284
# the namespace to use for undefined projects should come first, followed by any
# additional namespaces to create by default - users will typically not need to set this
openshift_logging_mux_default_namespaces: ["mux-undefined"]
# extra namespaces to create for mux clients - users will need to set this
openshift_logging_mux_namespaces: []

openshift_logging_mux_app_client_cert: /etc/fluent/keys/cert
openshift_logging_mux_app_client_key: /etc/fluent/keys/key
openshift_logging_mux_app_ca: /etc/fluent/keys/ca
openshift_logging_mux_ops_client_cert: /etc/fluent/keys/cert
openshift_logging_mux_ops_client_key: /etc/fluent/keys/key
openshift_logging_mux_ops_ca: /etc/fluent/keys/ca

# 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
#mux_config_contents:
#mux_throttle_contents:
#mux_secureforward_contents:

# One of ['emptydir', 'pvc', 'hostmount']
openshift_logging_mux_file_buffer_storage_type: "emptydir"

# pvc options
# the name of the PVC we will bind to -- create it if it does not exist
openshift_logging_mux_file_buffer_pvc_name: "logging-mux-pvc"

# required if the PVC does not already exist
openshift_logging_mux_file_buffer_pvc_size: 1Gi
openshift_logging_mux_file_buffer_pvc_dynamic: false
openshift_logging_mux_file_buffer_pvc_pv_selector: {}
openshift_logging_mux_file_buffer_pvc_access_modes: ['ReadWriteOnce']
openshift_logging_mux_file_buffer_storage_group: '65534'

openshift_logging_mux_file_buffer_pvc_prefix: "logging-mux"
openshift_logging_mux_file_buffer_limit: 256Mi