remove duplication
This commit is contained in:
parent
e8d81034b8
commit
df79cd8e58
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ service/nginx-errors ClusterIP 10.0.0.12 <none> 80/TCP 10s
|
||||||
|
|
||||||
## Ingress controller configuration
|
## Ingress controller configuration
|
||||||
|
|
||||||
If you do not already have an instance of the the NGINX Ingress controller running, deploy it according to the
|
If you do not already have an instance of the NGINX Ingress controller running, deploy it according to the
|
||||||
[deployment guide][deploy], then follow these steps:
|
[deployment guide][deploy], then follow these steps:
|
||||||
|
|
||||||
1. Edit the `nginx-ingress-controller` Deployment and set the value of the `--default-backend` flag to the name of the
|
1. Edit the `nginx-ingress-controller` Deployment and set the value of the `--default-backend` flag to the name of the
|
||||||
|
|
|
@ -50,7 +50,7 @@ func main() {
|
||||||
notFound := newHTTPServer(fmt.Sprintf(":%d", *port), notFound())
|
notFound := newHTTPServer(fmt.Sprintf(":%d", *port), notFound())
|
||||||
metrics := newHTTPServer(fmt.Sprintf(":%d", *healthPort), metrics())
|
metrics := newHTTPServer(fmt.Sprintf(":%d", *healthPort), metrics())
|
||||||
|
|
||||||
// start the the healthz and metrics http server
|
// start the healthz and metrics http server
|
||||||
go func() {
|
go func() {
|
||||||
err := metrics.ListenAndServe()
|
err := metrics.ListenAndServe()
|
||||||
if err != http.ErrServerClosed {
|
if err != http.ErrServerClosed {
|
||||||
|
|
Loading…
Reference in a new issue