Ballot Content Cache
- Benjamin Allot
- Monitoring
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 8 | 08 Apr 2021 |
juju deploy ballot-content-cache
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
blacklist_ports | string
Comma-separated list of TCP port numbers to skip over when generating internal servers used between haproxy and nginx. Used when a large number of sites may interfere with existing unit services, subordinate charms, etc.
-
cache_inactive_time | string
Maximum age/time inactive objects are stored in cache. If unspecified, use the upstream defaults (currently 10m).
-
cache_max_size | string
Maximum size of content cache storage. If unspecified, the maximum cache storage size will be set to 75% of the total disk space, using a 1GB minimum size.
-
cache_path | string
Default: /var/lib/nginx/proxy
Path or directory to store cached objects.
-
enable_prometheus_metrics | boolean
Default: True
Export metrics for the number of requests and the number of cache hits. Prometheus metrics are exposed at /metrics on port 9145.
-
log_retention | int
Default: 30
Number of log files to retain during rotation.
-
max_connections | int
Configure maximum number of connections per site on frontend HAProxy. Defaults to auto-calculate (0).
-
nagios_context | string
Default: juju
This string is prefixed to the hostname when writing exported nagios config fragments.
-
nagios_servicegroups | string
A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
-
sites | string
YAML-formatted virtual hosts/sites. See the README.md for more details and examples.
-
sites_secrets | string
YAML-formatted dictionary of secrets/keys. e.g. site1.local: locations: "/": origin-headers: X-Origin-Key: my-origin-secret-key signed-url-hmac-key: my-signed-url-secret-key
-
tls_cipher_suites | string
Override default ciphers used for TLS/SSL termination (OpenSSL format).
-
worker_connections | int
Default: 768
Sets the maximum number of simultaneous connections that can be opened by an Nginx worker process.
-
worker_processes | int
Sets the number of Nginx worker processes. Setting to '0' (auto) will set based on available CPU cores.