Browse Source
Add new cilium options for native routing (#6519)
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
pull/6550/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
|
|
@ -40,3 +40,12 @@ cilium_enable_legacy_services: false |
|
|
|
# Deploy cilium even if kube_network_plugin is not cilium. |
|
|
|
# This enables to deploy cilium alongside another CNI to replace kube-proxy. |
|
|
|
cilium_deploy_additionally: false |
|
|
|
|
|
|
|
# Auto direct nodes routes can be used to advertise pods routes in your cluster |
|
|
|
# without any tunelling (with `cilium_tunnel_mode` sets to `disabled`). |
|
|
|
# This works only if you have a L2 connectivity between all your nodes. |
|
|
|
# You wil also have to specify the variable `cilium_native_routing_cidr` to |
|
|
|
# make this work. Please refer to the cilium documentation for more |
|
|
|
# information about this kind of setups. |
|
|
|
cilium_auto_direct_node_routes: false |
|
|
|
cilium_native_routing_cidr: "" |
|
|
@ -142,3 +142,6 @@ data: |
|
|
|
enable-legacy-services: "{{cilium_enable_legacy_services}}" |
|
|
|
|
|
|
|
kube-proxy-replacement: "{{ cilium_kube_proxy_replacement }}" |
|
|
|
|
|
|
|
native-routing-cidr: "{{ cilium_native_routing_cidr }}" |
|
|
|
auto-direct-node-routes: "{{ cilium_auto_direct_node_routes }}" |