Browse Source
Add cilium hubble server in config (#6575)
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
pull/6592/head
Arthur Outhenin-Chalandre
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
12 additions and
0 deletions
-
roles/network_plugin/cilium/defaults/main.yml
-
roles/network_plugin/cilium/templates/cilium-config.yml.j2
|
|
@ -23,6 +23,8 @@ cilium_tunnel_mode: vxlan |
|
|
|
# Optional features |
|
|
|
cilium_enable_prometheus: false |
|
|
|
cilium_enable_hubble_metrics: false |
|
|
|
cilium_enable_hubble: false |
|
|
|
cilium_hubble_metrics: "" |
|
|
|
# Enable if you want to make use of hostPort mappings |
|
|
|
cilium_enable_portmap: false |
|
|
|
# Monitor aggregation level (none/low/medium/maximum) |
|
|
|
|
|
@ -145,3 +145,13 @@ data: |
|
|
|
|
|
|
|
native-routing-cidr: "{{ cilium_native_routing_cidr }}" |
|
|
|
auto-direct-node-routes: "{{ cilium_auto_direct_node_routes }}" |
|
|
|
|
|
|
|
# Hubble settings |
|
|
|
{% if cilium_enable_hubble %} |
|
|
|
enable-hubble: "true" |
|
|
|
hubble-metrics: "{{ cilium_hubble_metrics }}" |
|
|
|
hubble-listen-address: ":4244" |
|
|
|
{% if cilium_enable_hubble_metrics %} |
|
|
|
hubble-metrics-server: ":9091" |
|
|
|
{% endif %} |
|
|
|
{% endif %} |