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:
Patrik Lundin 2024-10-22 15:20:09 +02:00
parent 272be292ad
commit 1ddf93c330
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -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',
}
} }
} }