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,14 +1,17 @@
|
||||||
# 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',
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
sunet::docker_compose { 'sunet-cdn-l4lb':
|
if $cilium_enabled {
|
||||||
content => template('cdn/l4lb/docker-compose.yml.erb'),
|
sunet::docker_compose { 'sunet-cdn-l4lb':
|
||||||
service_name => 'cdn-l4lb',
|
content => template('cdn/l4lb/docker-compose.yml.erb'),
|
||||||
compose_dir => '/opt/sunet-cdn/compose/l4lb',
|
service_name => 'cdn-l4lb',
|
||||||
compose_filename => 'docker-compose.yml',
|
compose_dir => '/opt/sunet-cdn/compose/l4lb',
|
||||||
description => 'SUNET CDN l4lb',
|
compose_filename => 'docker-compose.yml',
|
||||||
|
description => 'SUNET CDN l4lb',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue