Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
265031b9
Commit
265031b9
authored
Feb 21, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Health probes for self-sharding should have Connection:close (duh).
Closes #27
parent
dc510dac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
self-shard.tmpl
pkg/varnish/vcl/self-shard.tmpl
+2
-1
ingress_shard.golden
pkg/varnish/vcl/testdata/ingress_shard.golden
+2
-1
shard.golden
pkg/varnish/vcl/testdata/shard.golden
+2
-1
No files found.
pkg/varnish/vcl/self-shard.tmpl
View file @
265031b9
...
...
@@ -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}}
...
...
pkg/varnish/vcl/testdata/ingress_shard.golden
View file @
265031b9
...
...
@@ -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;
...
...
pkg/varnish/vcl/testdata/shard.golden
View file @
265031b9
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment