Browse Source

Add cilium hubble export file max backups & size mb

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
pull/12101/head
ChengHao Yang 4 months ago
parent
commit
b771d73fe0
Failed to extract signature
2 changed files with 6 additions and 3 deletions
  1. 6
      roles/network_plugin/cilium/defaults/main.yml
  2. 3
      roles/network_plugin/cilium/templates/values.yaml.j2

6
roles/network_plugin/cilium/defaults/main.yml

@ -156,6 +156,9 @@ cilium_hubble_install: false
### Enable auto generate certs if cilium_hubble_install: true
cilium_hubble_tls_generate: false
cilium_hubble_export_file_max_backups: "5"
cilium_hubble_export_file_max_size_mb: "10"
### Capacity of Hubble events buffer. The provided value must be one less than an integer power of two and no larger than 65535
### (ie: 1, 3, ..., 2047, 4095, ..., 65535) (default 4095)
# cilium_hubble_event_buffer_capacity: 4095
@ -333,6 +336,3 @@ cilium_certgen_args:
cilium_enable_host_firewall: false
cilium_policy_audit_mode: false
cilium_hubble_export_file_max_backups: "5"
cilium_hubble_export_file_max_size_mb: "10"

3
roles/network_plugin/cilium/templates/values.yaml.j2

@ -96,6 +96,9 @@ hubble:
tag: {{ cilium_hubble_ui_image_tag }}
metrics:
enabled: {{ cilium_hubble_metrics }}
export:
fileMaxBackups: {{ cilium_hubble_export_file_max_backups }}
fileMaxSizeMb: {{ cilium_hubble_export_file_max_size_mb }}
ipam:
mode: {{ cilium_ipam_mode }}

Loading…
Cancel
Save