|
1 | 1 | ---
|
2 |
| -# Install NGINX Agent. |
| 2 | +# Install the NGINX Agent. |
3 | 3 | # Requires access to either the NGINX stub_status or the NGINX Plus REST API.
|
4 | 4 | nginx_agent_enable: false
|
5 | 5 |
|
6 |
| -# Specify the NGINX Agent data plane key/token. |
7 |
| -# This is required to authenticate the NGINX Agent with the NGINX One SaaS control plane available in F5 Distributed Cloud. |
8 |
| -# Default is null. |
9 |
| -nginx_agent_data_plane_key: null |
10 | 6 |
|
11 |
| -# Specify the control plane server host and port. |
| 7 | +######################################################################################################################## |
| 8 | +# The following parameters let you configure the static configuration file of NGINX Agent. # |
| 9 | +# By default, the config produced is as close a match to the default config provided by NGINX Agent upon installation. # |
| 10 | +######################################################################################################################## |
| 11 | + |
| 12 | +# Configure the NGINX Agent. |
| 13 | +nginx_agent_configure: false |
| 14 | + |
| 15 | +# Specify the NGINX Agent API host and port. Optionally, specify the path to the cert and key. |
| 16 | +# Default is not enabled. |
| 17 | +# nginx_agent_api: |
| 18 | +# host: 127.0.0.1 |
| 19 | +# port: 8081 |
| 20 | +# cert: /path/to/cert |
| 21 | +# key: /path/to/key |
| 22 | + |
| 23 | +# Specify the control plane server host, port, and data plane key/token. |
| 24 | +# The data plane key is required to authenticate NGINX Agent with the NGINX One SaaS control plane available in F5 Distributed Cloud. |
12 | 25 | # Default is the NGINX One SaaS control plane available in F5 Distributed Cloud.
|
13 |
| -nginx_agent_server_host: agent.connect.nginx.com |
14 |
| -nginx_agent_server_port: 443 |
| 26 | +# nginx_agent_server: |
| 27 | +# host: agent.connect.nginx.com |
| 28 | +# port: 443 |
| 29 | +# data_plane_key: '' |
| 30 | + |
| 31 | +# Enable TLS communication between data plane and control plane. |
| 32 | +# Optionally, specify the path to the TLS certificate, key, and CA certificate to enable mTLS. |
| 33 | +# nginx_agent_tls: |
| 34 | +# enable: true |
| 35 | +# skip_verify: false |
| 36 | +# cert: /path/to/cert |
| 37 | +# key: /path/to/key |
| 38 | +# ca: /path/to/ca |
| 39 | + |
| 40 | +# Specify the log level and path. |
| 41 | +# Default is info for the log level and /var/log/nginx-agent/ for the log path. |
| 42 | +nginx_agent_log: |
| 43 | + level: info |
| 44 | + path: /var/log/nginx-agent/ |
| 45 | + |
| 46 | +# Specify NGINX specific options within NGINX Agent. |
| 47 | +# Default is to not exclude any logs, to use the default socket path and to not treat warnings as errors. |
| 48 | +nginx_agent_nginx: |
| 49 | + exclude_logs: '""' |
| 50 | + socket: '"unix:/var/run/nginx-agent/nginx.sock"' |
| 51 | + # treat_warnings_as_errors: false |
| 52 | + |
| 53 | +# Specify how often NGINX Agent polls the dataplane. |
| 54 | +# Default is 30s for poll interval and 24h for report interval. |
| 55 | +nginx_agent_dataplane_status: |
| 56 | + poll_interval: 30s |
| 57 | + report_interval: 24h |
| 58 | + |
| 59 | +# Specify how often NGINX Agent reports metrics to the control plane. |
| 60 | +# Default is 20 for the buffer/bulk size, 1m for report interval, 15s for collection interval and aggregated for mode. |
| 61 | +nginx_agent_metrics: |
| 62 | + bulk_size: 20 |
| 63 | + report_interval: 1m |
| 64 | + collection_interval: 15s |
| 65 | + mode: aggregated |
| 66 | + |
| 67 | +# NGINX Open Source default config paths. |
| 68 | +# Default can be seen below. |
| 69 | +# nginx_agent_config_dirs: '"/etc/nginx:/usr/local/etc/nginx:/usr/share/nginx/modules"' |
| 70 | + |
| 71 | +# Internal NGINX Agent queue size. |
| 72 | +# Default is 100. |
| 73 | +# nginx_agent_queue_size: 100 |
| 74 | + |
| 75 | +# NGINX Agent features. |
| 76 | +# Default is an empty list. See https://docs.nginx.com/nginx-agent/configuration/configuration-overview/ for more details. |
| 77 | +# nginx_agent_features: [] |
| 78 | + |
| 79 | +# NGINX Agent extensions. |
| 80 | +# Default is an empty list. To enable NGINX App Protect reporting within NGINX Agent, use the 'nginx-app-protect' extension as below. |
| 81 | +# nginx_agent_extensions: ['nginx-app-protect'] |
| 82 | + |
| 83 | +# NGINX Agent NGINX App Protect settings. |
| 84 | +# Default is not enabled. |
| 85 | +# nginx_agent_app_protect: |
| 86 | +# report_interval: 15s |
| 87 | +# precompiled_publication: true |
| 88 | + |
| 89 | + |
| 90 | +############################################################################################# |
| 91 | +# The following parameters let you configure the dynamic configuration file of NGINX Agent. # |
| 92 | +# By default, nothing is configured. # |
| 93 | +############################################################################################# |
| 94 | + |
| 95 | +# Configure the NGINX Agent dynamic configuration file. |
| 96 | +# NOTE: This will only run if the NGINX Agent dynamic configuration file has not yet been modified externally. |
| 97 | +# If you want to force push a dynamic configuration file, use the 'nginx_agent_configure_dynamic_force' parameter below. |
| 98 | +# Default is false. |
| 99 | +nginx_agent_configure_dynamic: false |
| 100 | +# Force pushing a new dynamic configuration file to NGINX Agent. |
| 101 | +# NOTE: This will overwrite any changes made to the dynamic configuration file by a control plane, and might lead to unexpected behavior. |
| 102 | +# Default is false. |
| 103 | +nginx_agent_configure_dynamic_force: false |
15 | 104 |
|
16 |
| -# Enable TLS communication between data plane and control plane |
17 |
| -# Default is true. |
18 |
| -nginx_agent_tls_enable: true |
19 |
| -nginx_agent_tls_skip_verify: false |
| 105 | +# Specify the NGINX Agent instance group and tags. |
| 106 | +# nginx_agent_instance_group: my_instance_group |
| 107 | +# nginx_agent_tags: [ansible, dev, qa] |
0 commit comments