|
|
@ -52,28 +52,47 @@ questions: |
|
|
|
- "Generic HTTP" |
|
|
|
- "Generic TCP" |
|
|
|
- "Other" |
|
|
|
required: true |
|
|
|
group: Health Check |
|
|
|
|
|
|
|
# Nginx Ingress |
|
|
|
- variable: keepalived.check_script |
|
|
|
show_if: "haManagedService=Nginx Ingress" |
|
|
|
default: "wget http://localhost/healthz" |
|
|
|
description: "Service Healthcheck Script (runs inside the Keepalived container)" |
|
|
|
label: Check Script |
|
|
|
default: "wget -q http://localhost/healthz -O -" |
|
|
|
description: "Default Nginx Ingress healthcheck." |
|
|
|
label: Nginx Ingress Check Script |
|
|
|
type: string |
|
|
|
group: Health Check |
|
|
|
group: Hidden |
|
|
|
required: true |
|
|
|
- variable: keepalived.check_script |
|
|
|
show_if: "haManagedService=Other" |
|
|
|
show_if: "haManagedService=Generic HTTPS" |
|
|
|
default: "ss -ltn | grep :443" |
|
|
|
description: "Service Healthcheck Script (runs inside the Keepalived container)" |
|
|
|
label: Check Script |
|
|
|
description: "Uses SS to check if port 443 is open in localhost." |
|
|
|
label: Generic HTTPS Check Script |
|
|
|
type: string |
|
|
|
group: Health Check |
|
|
|
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 |
|
|
|
required: true |
|
|
|
- variable: keepalived.check_port |
|
|
|
show_if: "haManagedService=Generic TCP" |
|
|
|
default: "80" |
|
|
|
description: "Generic TCP Port" |
|
|
|
label: Check Port |
|
|
|
description: "Specify a generic TCP Port to be checked with SS." |
|
|
|
label: TCP Check Port |
|
|
|
type: int |
|
|
|
group: Health Check |
|
|
|
required: true |
|
|
|
- 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 |
|
|
|