Change readiness probe for nginx ingress that works behind a CP lb

This commit is contained in:
Manuel de Brito Fontes 2016-09-16 18:23:52 -03:00
parent baf5c07446
commit 9d4dfe7609
16 changed files with 148 additions and 67 deletions

View file

@ -79,6 +79,9 @@ var (
defSSLCertificate = flags.String("default-ssl-certificate", "", `Name of the secret that contains a SSL
certificate to be used as default for a HTTPS catch-all server`)
defHealthzURL = flags.String("health-check-path", "/ingress-controller-healthz", `Defines the URL to
be used as health check inside in the default server in NGINX.`)
)
func main() {
@ -121,7 +124,7 @@ func main() {
lbc, err := newLoadBalancerController(kubeClient, *resyncPeriod,
*defaultSvc, *watchNamespace, *nxgConfigMap, *tcpConfigMapName,
*udpConfigMapName, *defSSLCertificate, runtimePodInfo)
*udpConfigMapName, *defSSLCertificate, *defHealthzURL, runtimePodInfo)
if err != nil {
glog.Fatalf("%v", err)
}