Preparing infra.yaml

Prepare a file named infra.yaml with the deployment configuration of your logging solution:

### Repo settings
default_repo: public
 
# Logging
logging:
  enabled: true
  version: VERSION_OF_LOGGING_SOLUTION
  fluentd:
    dedicate_node_pool: false
    num_workers: NUMBER_OF_FLUENTD_WORKERS
  output_to_filesystem:
    enabled: true
    filesystem_path: LOG_DIRECTORY
    retention_policy_days: DAYS_TO_STORE_LOGS

In that file, specify:

  • VERSION_OF_LOGGING_SOLUTION: The version of the logging solution you want to install. To obtain the released versions of the logging solution, see What's New.

  • NUMBER_OF_FLUENTD_WORKERS: The number of Fluentd workers per Fluentd instance. Each worker consumes the resources of one CPU. We recommend that you use 2 as the default value.

  • LOG_DIRECTORY: The path to the directory where log files will be stored. For example: /dedicated-disk/logs

  • DAYS_TO_STORE_LOGS: How many days logs will be stored.

Important: You must keep your infra.yaml after the initial deployment as you will need this file to change the settings of your logging solution or upgrade it to a newer version. We recommend that you keep this file in a version control system, such as Git, and commit changes as it updates.

CloudBlue, an Ingram Micro business, uses cookies to improve the usability of our site. By continuing to use this site and/or logging in you are accepting the use of these cookies. For more information, visit our Privacy Policy.