Wolfgang Kulhanek
2020-03-12 6c25b430d6555a75cf639be91233cd536318d88d
ansible/roles/ocp4-workload-logging/defaults/main.yml
@@ -3,24 +3,34 @@
ocp_username: opentlc-mgr
silent: False
_logging_elasticsearch_replicas: 1
_logging_elasticsearch_memory_request: "8Gi"
_logging_elasticsearch_storage_request: "50Gi"
# Set up Cluster Logging on regular worker nodes
ocp4_workload_logging_defaults:
  node_role: ""
  elasticsearch_replicas: 1
  elasticsearch_memory_request: "8Gi"
  elasticsearch_storage_request: "50Gi"
# Set the following to specify dedicated nodes for the logging
# The nodes need to be exist (e.g. via the role ocp4-workload-infra-nodes)
# Override the defaults by setting the overrides in
# ocp4_workload_logging_input: {}
#
# If set then the following needs to be true:
# Example: Set up Cluster Logging on dedicated nodes
# In this example `elasticsearch` nodes.
# The nodes need to be exist (e.g. via the role ocp4-workload-machinesets)
#
# The following needs to be true
# Node has a label:
#   node-role.kubernetes.io/{{ _logging_use_dedicated_nodes }}: ""
#   node-role.kubernetes.io/{{ ocp4_workload_logging.use_node_role }}: ""
#   e.g. node-role.kubernetes.io/infra: ""
# Node has taints:
#  - key: "{{ _logging_use_dedicated_nodes }}"
#  - key: "{{ ocp4_workload_logging.use_node_role }}"
#    value: reserved
#    effect: NoSchedule
#  - key: "{{ _logging_use_dedicated_nodes }}"
#  - key: "{{ocp4_workload_logging.use_node_role }}"
#    value: reserved
#    effect: NoExecute
# Example:
#   _logging_use_dedicated_nodes: "elasticsearch"
_logging_use_dedicated_nodes: ""
# ocp4_workload_logging_inputs:
#   node_role: "elasticsearch"
#   elasticsearch_replicas: 1
#   elasticsearch_memory_request: "8Gi"
#   elasticsearch_storage_request: "50Gi"