Disable cilium by default
We will go for IPVS for now which can deal with the l4lb hosts being multihomed.
This commit is contained in:
parent
272be292ad
commit
1ddf93c330
|
@ -1,9 +1,11 @@
|
||||||
# Configure the SUNET CDN l4lb service
|
# Configure the SUNET CDN l4lb service
|
||||||
class cdn::l4lb(
|
class cdn::l4lb(
|
||||||
|
Bool $cilium_enabled = false,
|
||||||
String $cilium_version = 'v1.16.1',
|
String $cilium_version = 'v1.16.1',
|
||||||
String $cilium_devices = 'enp129s0f1np1',
|
String $cilium_devices = 'enp129s0f1np1',
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
if $cilium_enabled {
|
||||||
sunet::docker_compose { 'sunet-cdn-l4lb':
|
sunet::docker_compose { 'sunet-cdn-l4lb':
|
||||||
content => template('cdn/l4lb/docker-compose.yml.erb'),
|
content => template('cdn/l4lb/docker-compose.yml.erb'),
|
||||||
service_name => 'cdn-l4lb',
|
service_name => 'cdn-l4lb',
|
||||||
|
@ -11,4 +13,5 @@ class cdn::l4lb(
|
||||||
compose_filename => 'docker-compose.yml',
|
compose_filename => 'docker-compose.yml',
|
||||||
description => 'SUNET CDN l4lb',
|
description => 'SUNET CDN l4lb',
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue