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; ...@@ -4,7 +4,8 @@ import directors;
probe vk8s_probe_varnish { probe vk8s_probe_varnish {
.request = "HEAD /vk8s_cluster_health HTTP/1.1" .request = "HEAD /vk8s_cluster_health HTTP/1.1"
"Host: vk8s_cluster"; "Host: vk8s_cluster"
"Connection: close";
{{- if .Probe.Timeout}} {{- if .Probe.Timeout}}
.timeout = {{.Probe.Timeout}}; .timeout = {{.Probe.Timeout}};
{{- end}} {{- end}}
......
...@@ -94,7 +94,8 @@ import directors; ...@@ -94,7 +94,8 @@ import directors;
probe vk8s_probe_varnish { probe vk8s_probe_varnish {
.request = "HEAD /vk8s_cluster_health HTTP/1.1" .request = "HEAD /vk8s_cluster_health HTTP/1.1"
"Host: vk8s_cluster"; "Host: vk8s_cluster"
"Connection: close";
.timeout = 2s; .timeout = 2s;
.interval = 5s; .interval = 5s;
.initial = 2; .initial = 2;
......
...@@ -4,7 +4,8 @@ import directors; ...@@ -4,7 +4,8 @@ import directors;
probe vk8s_probe_varnish { probe vk8s_probe_varnish {
.request = "HEAD /vk8s_cluster_health HTTP/1.1" .request = "HEAD /vk8s_cluster_health HTTP/1.1"
"Host: vk8s_cluster"; "Host: vk8s_cluster"
"Connection: close";
.timeout = 2s; .timeout = 2s;
.interval = 5s; .interval = 5s;
.initial = 2; .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