add pihole with keepalived for backup
All checks were successful
renovate / renovate (push) Successful in 7m31s
All checks were successful
renovate / renovate (push) Successful in 7m31s
This commit is contained in:
18
clusters/default/tools/pihole/pihole-cm.yml
Normal file
18
clusters/default/tools/pihole/pihole-cm.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: keepalived-config
|
||||
namespace: tools
|
||||
data:
|
||||
keepalived.conf: |
|
||||
vrrp_instance PIHOLE_VIP {
|
||||
state BACKUP
|
||||
interface eth0
|
||||
virtual_router_id 212
|
||||
priority 100
|
||||
advert_int 1
|
||||
|
||||
virtual_ipaddress {
|
||||
192.168.1.212/24
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user