You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.6 KiB
99 lines
2.6 KiB
5 years ago
|
labels:
|
||
|
io.cattle.role: project
|
||
|
categories:
|
||
|
- High Availibility
|
||
|
questions:
|
||
5 years ago
|
# VRRP Basic Configuration
|
||
5 years ago
|
- variable: keepalived.virtual_ip
|
||
|
default: "192.168.1.1"
|
||
|
description: "VRRP Virtual IP Address"
|
||
|
label: Virtual IP
|
||
|
type: string
|
||
5 years ago
|
group: VRRP Configuration
|
||
5 years ago
|
required: true
|
||
5 years ago
|
- variable: keepalived.virtual_mask
|
||
|
default: 24
|
||
5 years ago
|
description: "VRRP Virtual IP Network Mask (0-255)"
|
||
5 years ago
|
label: Network Mask
|
||
|
type: int
|
||
5 years ago
|
group: VRRP Configuration
|
||
5 years ago
|
required: true
|
||
5 years ago
|
- variable: keepalived.vrid
|
||
|
default: 1
|
||
5 years ago
|
description: "VRRP Virtual Router ID (0-255)"
|
||
5 years ago
|
label: Router ID
|
||
|
type: int
|
||
5 years ago
|
group: VRRP Configuration
|
||
5 years ago
|
required: true
|
||
5 years ago
|
- variable: keepalived.interface
|
||
|
default: "eth0"
|
||
|
description: "Network Interface for VRRP Packets"
|
||
|
label: Network Interface
|
||
|
type: string
|
||
5 years ago
|
group: VRRP Configuration
|
||
5 years ago
|
required: true
|
||
5 years ago
|
- variable: keepalived.auth_pass
|
||
|
default: "agoodpwd"
|
||
5 years ago
|
description: "8 characters VRRP Authentication Password"
|
||
5 years ago
|
label: Auth Password
|
||
5 years ago
|
type: string
|
||
5 years ago
|
group: VRRP Configuration
|
||
5 years ago
|
required: true
|
||
5 years ago
|
|
||
|
# Service Kind
|
||
|
- variable: haManagedService
|
||
|
default: "Nginx Ingress Controller"
|
||
|
description: "Which HA Service should Keepalive manage?"
|
||
|
type: enum
|
||
|
label: "HA Service"
|
||
|
options:
|
||
|
- "Nginx Ingress"
|
||
|
- "Generic HTTPS"
|
||
|
- "Generic HTTP"
|
||
|
- "Generic TCP"
|
||
|
- "Other"
|
||
5 years ago
|
required: true
|
||
5 years ago
|
group: Health Check
|
||
5 years ago
|
|
||
|
# Nginx Ingress
|
||
5 years ago
|
- variable: keepalived.check_script
|
||
5 years ago
|
show_if: "haManagedService=Nginx Ingress"
|
||
5 years ago
|
default: "wget -q http://localhost/healthz -O -"
|
||
|
description: "Default Nginx Ingress healthcheck."
|
||
|
label: Nginx Ingress Check Script
|
||
5 years ago
|
type: string
|
||
5 years ago
|
group: Hidden
|
||
5 years ago
|
required: true
|
||
|
- variable: keepalived.check_script
|
||
5 years ago
|
show_if: "haManagedService=Generic HTTPS"
|
||
5 years ago
|
default: "ss -ltn | grep :443"
|
||
5 years ago
|
description: "Uses SS to check if port 443 is open in localhost."
|
||
|
label: Generic HTTPS Check Script
|
||
5 years ago
|
type: string
|
||
5 years ago
|
group: Hidden
|
||
|
required: true
|
||
|
- variable: keepalived.check_script
|
||
|
show_if: "haManagedService=Generic HTTP"
|
||
|
default: "ss -ltn | grep :80"
|
||
|
description: "Uses SS to check if port 80 is open in localhost."
|
||
|
label: Generic HTTP Check Script
|
||
|
type: string
|
||
|
group: Hidden
|
||
5 years ago
|
required: true
|
||
|
- variable: keepalived.check_port
|
||
5 years ago
|
show_if: "haManagedService=Generic TCP"
|
||
5 years ago
|
default: "80"
|
||
5 years ago
|
description: "Specify a generic TCP Port to be checked with SS."
|
||
|
label: TCP Check Port
|
||
5 years ago
|
type: int
|
||
|
group: Health Check
|
||
5 years ago
|
required: true
|
||
5 years ago
|
- variable: keepalived.check_script
|
||
|
show_if: "haManagedService=Other"
|
||
|
default: ""
|
||
|
description: "Custom healthcheck script (runs in the keepalived container)"
|
||
|
label: Custom Check Script
|
||
|
type: string
|
||
|
group: Health Check
|
||
|
required: true
|