add readiness probe to proxy test

This commit is contained in:
Daniel Smith
2016-02-22 17:43:25 -08:00
parent 6cecf2b357
commit 9d87b47d77
2 changed files with 29 additions and 17 deletions

View File

@@ -125,6 +125,16 @@ func proxyContext(version string) {
"tlsdest1": 460,
"tlsdest2": 462,
},
ReadinessProbe: &api.Probe{
Handler: api.Handler{
HTTPGet: &api.HTTPGetAction{
Port: intstr.FromInt(80),
},
},
InitialDelaySeconds: 1,
TimeoutSeconds: 5,
PeriodSeconds: 10,
},
Labels: labels,
CreatedPods: &pods,
}