Created
April 18, 2018 17:49
-
-
Save tychota/74ed43c71922d129ae0e379fa4cea412 to your computer and use it in GitHub Desktop.
Keepalived
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Configuration File for keepalived | |
global_defs { | |
router_id LVS_DEVEL | |
} | |
vrrp_script check_apiserver { | |
// ... | |
} | |
vrrp_instance VI_1 { | |
state MASTER | |
interface wg0 | |
virtual_router_id 51 | |
priority 101 | |
authentication { | |
auth_type PASS | |
auth_pass redacted | |
} | |
virtual_ipaddress { | |
78.47.redacted dev eth0 | |
10.0.1.100 dev wg0 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Configuration File for keepalived | |
global_defs { | |
router_id LVS_DEVEL | |
} | |
vrrp_script check_apiserver { | |
// ... | |
} | |
vrrp_instance VI_1 { | |
state MASTER | |
interface wg0 | |
virtual_router_id 51 | |
priority 101 | |
authentication { | |
auth_type PASS | |
auth_pass redacted | |
} | |
unicast_src_ip 10.0.1.1 | |
unicast_peer { | |
10.0.1.2 | |
10.0.1.3 | |
} | |
virtual_ipaddress { | |
78.47.redacted dev eth0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment