Browse Source
Add cilium hubble export dynamic content
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
pull/12101/head
ChengHao Yang
4 months ago
Failed to extract signature
2 changed files with
13 additions and
0 deletions
-
roles/network_plugin/cilium/defaults/main.yml
-
roles/network_plugin/cilium/templates/values.yaml.j2
|
@ -159,6 +159,14 @@ cilium_hubble_tls_generate: false |
|
|
cilium_hubble_export_file_max_backups: "5" |
|
|
cilium_hubble_export_file_max_backups: "5" |
|
|
cilium_hubble_export_file_max_size_mb: "10" |
|
|
cilium_hubble_export_file_max_size_mb: "10" |
|
|
|
|
|
|
|
|
|
|
|
cilium_hubble_export_dynamic_enabled: false |
|
|
|
|
|
cilium_hubble_export_dynamic_config_content: |
|
|
|
|
|
- name: all |
|
|
|
|
|
fieldMask: [] |
|
|
|
|
|
includeFilters: [] |
|
|
|
|
|
excludeFilters: [] |
|
|
|
|
|
filePath: "/var/run/cilium/hubble/events.log" |
|
|
|
|
|
|
|
|
### Capacity of Hubble events buffer. The provided value must be one less than an integer power of two and no larger than 65535 |
|
|
### 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) |
|
|
### (ie: 1, 3, ..., 2047, 4095, ..., 65535) (default 4095) |
|
|
# cilium_hubble_event_buffer_capacity: 4095 |
|
|
# cilium_hubble_event_buffer_capacity: 4095 |
|
|
|
@ -99,6 +99,11 @@ hubble: |
|
|
export: |
|
|
export: |
|
|
fileMaxBackups: {{ cilium_hubble_export_file_max_backups }} |
|
|
fileMaxBackups: {{ cilium_hubble_export_file_max_backups }} |
|
|
fileMaxSizeMb: {{ cilium_hubble_export_file_max_size_mb }} |
|
|
fileMaxSizeMb: {{ cilium_hubble_export_file_max_size_mb }} |
|
|
|
|
|
dynamic: |
|
|
|
|
|
enabled: {{ cilium_hubble_export_dynamic_enabled }} |
|
|
|
|
|
config: |
|
|
|
|
|
content: |
|
|
|
|
|
{{ cilium_hubble_export_dynamic_config_content | to_nice_yaml(indent=10) | indent(10) }} |
|
|
|
|
|
|
|
|
ipam: |
|
|
ipam: |
|
|
mode: {{ cilium_ipam_mode }} |
|
|
mode: {{ cilium_ipam_mode }} |
|
|