Commit 265031b9 authored by Geoff Simmons's avatar Geoff Simmons

Health probes for self-sharding should have Connection:close (duh).

Closes #27
parent dc510dac
......@@ -4,7 +4,8 @@ import directors;
probe vk8s_probe_varnish {
.request = "HEAD /vk8s_cluster_health HTTP/1.1"
"Host: vk8s_cluster";
"Host: vk8s_cluster"
"Connection: close";
{{- if .Probe.Timeout}}
.timeout = {{.Probe.Timeout}};
{{- end}}
......
......@@ -94,7 +94,8 @@ import directors;
probe vk8s_probe_varnish {
.request = "HEAD /vk8s_cluster_health HTTP/1.1"
"Host: vk8s_cluster";
"Host: vk8s_cluster"
"Connection: close";
.timeout = 2s;
.interval = 5s;
.initial = 2;
......
......@@ -4,7 +4,8 @@ import directors;
probe vk8s_probe_varnish {
.request = "HEAD /vk8s_cluster_health HTTP/1.1"
"Host: vk8s_cluster";
"Host: vk8s_cluster"
"Connection: close";
.timeout = 2s;
.interval = 5s;
.initial = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment