Set ELB timeout annotation for the service. (#114)

By default the ELB terminates the idle connection after 60 seconds. Increase this interval to a more reasonable one of 1 h.
This commit is contained in:
Oleksii Kliukin
2017-05-12 11:41:35 +02:00
committed by Murat Kabilov
parent 2370659c69
commit 49cb395aed
2 changed files with 15 additions and 12 deletions
+1
View File
@@ -262,6 +262,7 @@ func (c *Cluster) genService(allowedSourceRanges []string) *v1.Service {
Labels: c.labelsSet(),
Annotations: map[string]string{
constants.ZalandoDnsNameAnnotation: c.dnsName(),
constants.ElbTimeoutAnnotationName: constants.ElbTimeoutAnnotationValue,
},
},
Spec: v1.ServiceSpec{