I0604 16:03:42.214464 1 main.go:126] Using build: https://github.com/zlabjp/nghttpx-ingress-lb - git-9b0b26e I0604 16:03:42.247764 1 main.go:162] Validated kube-system/default-http-backend as the default backend I0604 16:03:42.248748 1 controller.go:1199] Starting nghttpx loadbalancer controller I0604 16:03:42.249032 1 command.go:44] Starting nghttpx process: /usr/local/bin/nghttpx --conf /etc/nghttpx/nghttpx.conf 2017-06-04T16:03:42.254Z 9 9 4b84808d NOTICE (shrpx.cc:2743) Loading configuration from /etc/nghttpx/nghttpx.conf 2017-06-04T16:03:42.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on 127.0.0.1:10902 2017-06-04T16:03:42.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on 127.0.0.1:10901 2017-06-04T16:03:42.255Z 9 9 4b84808d NOTICE (shrpx.cc:1297) Worker process [10] spawned 2017-06-04T16:03:42.256Z 9 9 4b84808d NOTICE (shrpx_worker_process.cc:431) neverbleed process [11] spawned 2017-06-04T16:03:42.256Z 9 9 4b84808d NOTICE (shrpx_connection_handler.cc:311) [LISTEN:0x7fff5a9d0030] Created worker thread #0 2017-06-04T16:03:42.256Z 9 9 4b84808d NOTICE (shrpx_connection_handler.cc:311) [LISTEN:0x7fff5a9d0030] Created worker thread #1 I0604 16:03:42.269455 1 reflector.go:198] Starting reflector *v1beta1.Ingress (30s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209 I0604 16:03:42.269558 1 reflector.go:236] Listing and watching *v1beta1.Ingress from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209 I0604 16:03:42.270018 1 reflector.go:198] Starting reflector *v1.Endpoints (16h44m11.959796914s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1210 I0604 16:03:42.270075 1 reflector.go:236] Listing and watching *v1.Endpoints from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1210 I0604 16:03:42.270387 1 reflector.go:198] Starting reflector *v1.Service (20h24m1.427718658s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1211 I0604 16:03:42.270437 1 reflector.go:236] Listing and watching *v1.Service from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1211 I0604 16:03:42.270745 1 reflector.go:198] Starting reflector *v1.Secret (17h28m59.645403626s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1212 I0604 16:03:42.270814 1 reflector.go:236] Listing and watching *v1.Secret from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1212 I0604 16:03:42.271101 1 reflector.go:198] Starting reflector *v1.ConfigMap (21h48m4.978334279s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1213 I0604 16:03:42.271141 1 reflector.go:236] Listing and watching *v1.ConfigMap from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1213 I0604 16:03:42.271451 1 reflector.go:198] Starting reflector *v1.Pod (20h54m3.001830429s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1214 I0604 16:03:42.271506 1 reflector.go:236] Listing and watching *v1.Pod from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1214 I0604 16:03:42.271810 1 reflector.go:198] Starting reflector *v1.Node (17h28m23.923439737s) from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1215 I0604 16:03:42.271852 1 reflector.go:236] Listing and watching *v1.Node from github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1215 I0604 16:03:42.310792 1 controller.go:402] Endpoints kube-system/default-http-backend added I0604 16:03:43.249198 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:03:43.249422 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:03:43.251380 1 utils.go:91] nghttpx configuration diff a//etc/nghttpx/nghttpx.conf b//etc/nghttpx/nghttpx.conf --- /tmp/672177329 2017-06-04 16:03:43.249377016 +0000 +++ /tmp/196014684 2017-06-04 16:03:43.249377016 +0000 @@ -1,6 +1,27 @@ -# A very simple nghttpx configuration file that forces nghttpx to start. +accesslog-file=/dev/stdout + +include=/etc/nghttpx/nghttpx-backend.conf + +frontend=*,80;no-tls + +# API endpoints frontend=127.0.0.1,10902;api;no-tls -# health check + + +# just listen 443 to gain port 443, so that we can always bind that address. +frontend=*,443;no-tls + + +# for health check frontend=127.0.0.1,10901;healthmon;no-tls -# logs -accesslog-file=/dev/stdout + +# default configuration by controller +workers=1 + +# from ConfigMap + + + + + + I0604 16:03:43.252063 1 command.go:100] nghttpx configuration: { "Upstreams": [ { "Name": "kube-system/default-http-backend", "Host": "", "Path": "", "Backends": [ { "Address": "10.0.0.9", "Port": "8080", "Protocol": "http/1.1", "TLS": false, "SNI": "", "DNS": false, "Affinity": "none" } ], "RedirectIfNotTLS": false } ], "TLS": false, "DefaultTLSCred": null, "SubTLSCred": null, "Workers": "1", "ExtraConfig": "", "MrubyFile": null, "HealthPort": 10901, "APIPort": 10902, "ConfDir": "/etc/nghttpx", "HTTPPort": 80, "HTTPSPort": 443, "FetchOCSPRespFromSecret": false } I0604 16:03:43.252222 1 command.go:192] Issuing API request http://127.0.0.1:10902/api/v1beta1/configrevision 127.0.0.1 - - [04/Jun/2017:16:03:43 +0000] "GET /api/v1beta1/configrevision HTTP/1.1" 200 59 "-" "Go-http-client/1.1" I0604 16:03:43.253357 1 command.go:223] nghttpx configRevision is 0 I0604 16:03:43.253493 1 command.go:118] change in configuration detected. Reloading... 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:3034) Reloading configuration 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:2743) Loading configuration from /etc/nghttpx/nghttpx.conf 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on 0.0.0.0 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on [::] 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on 127.0.0.1:10902 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on 0.0.0.0 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on [::] 2017-06-04T16:03:43.255Z 9 9 4b84808d NOTICE (shrpx.cc:854) Listening on 127.0.0.1:10901 2017-06-04T16:03:43.256Z 9 9 4b84808d NOTICE (shrpx.cc:1297) Worker process [21] spawned 2017-06-04T16:03:43.256Z 9 9 4b84808d NOTICE (shrpx_worker_process.cc:113) Graceful shutdown signal received 2017-06-04T16:03:43.256Z 9 10 620b0804 NOTICE (shrpx_worker.cc:395) [WORKER:0x7f98fd0bb000] Graceful shutdown commencing 2017-06-04T16:03:43.256Z 9 10 12825e06 NOTICE (shrpx_worker.cc:395) [WORKER:0x7f98fd0dc000] Graceful shutdown commencing 2017-06-04T16:03:43.257Z 9 9 4b84808d NOTICE (shrpx.cc:1260) Worker process shutting down momentarily 2017-06-04T16:03:43.257Z 9 9 4b84808d NOTICE (shrpx_log.cc:625) Worker process: [10] exited normally with status 0; exit status 0 I0604 16:03:43.257666 1 command.go:230] Waiting for nghttpx to finish reloading configuration 2017-06-04T16:03:43.258Z 9 9 4b84808d NOTICE (shrpx_worker_process.cc:431) neverbleed process [23] spawned 2017-06-04T16:03:43.258Z 9 9 4b84808d NOTICE (shrpx_connection_handler.cc:311) [LISTEN:0x7fff5a9cf4d0] Created worker thread #0 2017-06-04T16:03:43.259Z 9 9 4b84808d NOTICE (shrpx_connection_handler.cc:311) [LISTEN:0x7fff5a9cf4d0] Created worker thread #1 I0604 16:03:44.257911 1 command.go:192] Issuing API request http://127.0.0.1:10902/api/v1beta1/configrevision 127.0.0.1 - - [04/Jun/2017:16:03:44 +0000] "GET /api/v1beta1/configrevision HTTP/1.1" 200 59 "-" "Go-http-client/1.1" I0604 16:03:44.259699 1 command.go:223] nghttpx configRevision is 1 I0604 16:03:44.259778 1 command.go:128] nghttpx has finished reloading new configuration I0604 16:04:12.269782 1 reflector.go:276] github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209: forcing resync 127.0.0.1 - - [04/Jun/2017:16:04:20 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:04:30 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:04:40 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:04:42.270148 1 reflector.go:276] github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209: forcing resync 127.0.0.1 - - [04/Jun/2017:16:04:50 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:05:00 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:05:10 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:05:12.270498 1 reflector.go:276] github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209: forcing resync 127.0.0.1 - - [04/Jun/2017:16:05:20 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:05:30 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:05:40 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:05:42.270821 1 reflector.go:276] github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209: forcing resync I0604 16:05:47.843330 1 controller.go:362] Ingress default/echomap added I0604 16:05:47.843509 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:05:47.843603 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:05:47.843640 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:05:47.843673 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:05:47.843724 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:05:47.843746 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:05:47.843792 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:05:47.843816 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:05:47.843840 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:05:47.843872 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:05:47.843889 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:05:47.843911 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:05:47.843952 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:05:47.843976 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:05:47.845785 1 utils.go:91] nghttpx configuration diff a//etc/nghttpx/nghttpx-backend.conf b//etc/nghttpx/nghttpx-backend.conf --- /tmp/951637109 2017-06-04 16:05:47.843331728 +0000 +++ /tmp/013792592 2017-06-04 16:05:47.843331728 +0000 @@ -1,3 +1,9 @@ +# default/echoheaders-x,80;bar.baz.com/foo +backend=10.0.1.14,8080;bar.baz.com/foo;proto=http/1.1;affinity=none +# default/echoheaders-x,80;foo.bar.com/foo +backend=10.0.1.14,8080;foo.bar.com/foo;proto=http/1.1;affinity=none +# default/echoheaders-y,80;bar.baz.com/bar +backend=10.0.1.14,8080;bar.baz.com/bar;proto=http/1.1;affinity=none # kube-system/default-http-backend backend=10.0.0.9,8080;;proto=http/1.1;affinity=none I0604 16:05:47.846210 1 command.go:100] nghttpx configuration: { "Upstreams": [ { "Name": "default/echoheaders-x,80;bar.baz.com/foo", "Host": "bar.baz.com", "Path": "/foo", "Backends": [ { "Address": "10.0.1.14", "Port": "8080", "Protocol": "http/1.1", "TLS": false, "SNI": "", "DNS": false, "Affinity": "none" } ], "RedirectIfNotTLS": false }, { "Name": "default/echoheaders-x,80;foo.bar.com/foo", "Host": "foo.bar.com", "Path": "/foo", "Backends": [ { "Address": "10.0.1.14", "Port": "8080", "Protocol": "http/1.1", "TLS": false, "SNI": "", "DNS": false, "Affinity": "none" } ], "RedirectIfNotTLS": false }, { "Name": "default/echoheaders-y,80;bar.baz.com/bar", "Host": "bar.baz.com", "Path": "/bar", "Backends": [ { "Address": "10.0.1.14", "Port": "8080", "Protocol": "http/1.1", "TLS": false, "SNI": "", "DNS": false, "Affinity": "none" } ], "RedirectIfNotTLS": false }, { "Name": "kube-system/default-http-backend", "Host": "", "Path": "", "Backends": [ { "Address": "10.0.0.9", "Port": "8080", "Protocol": "http/1.1", "TLS": false, "SNI": "", "DNS": false, "Affinity": "none" } ], "RedirectIfNotTLS": false } ], "TLS": false, "DefaultTLSCred": null, "SubTLSCred": null, "Workers": "1", "ExtraConfig": "", "MrubyFile": null, "HealthPort": 10901, "APIPort": 10902, "ConfDir": "/etc/nghttpx", "HTTPPort": 80, "HTTPSPort": 443, "FetchOCSPRespFromSecret": false } I0604 16:05:47.846488 1 command.go:139] Issuing API request http://127.0.0.1:10902/api/v1beta1/backendconfig 127.0.0.1 - - [04/Jun/2017:16:05:47 +0000] "POST /api/v1beta1/backendconfig HTTP/1.1" 200 31 "-" "Go-http-client/1.1" 2017-06-04T16:05:47.847Z 9 21 12825e06 NOTICE (shrpx_worker.cc:407) [WORKER:0x7f98fd0d4000] Replace downstream I0604 16:05:47.847579 1 command.go:175] API request returned response body: {"status":"Success","code":200} I0604 16:05:47.847632 1 command.go:178] API request has completed successfully 2017-06-04T16:05:47.847Z 9 21 620b0804 NOTICE (shrpx_worker.cc:407) [WORKER:0x7f98fd0d2000] Replace downstream 127.0.0.1 - - [04/Jun/2017:16:05:50 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:06:00.208974 1 controller.go:1343] Update Ingress default/echomap .Status.LoadBalancer.Ingress to [{"35.187.165.128" ""}] I0604 16:06:00.213826 1 controller.go:372] Ingress default/echomap updated I0604 16:06:00.213983 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:00.214032 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:00.214092 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:00.214124 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:00.214167 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:00.214189 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:00.214206 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:00.214242 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:00.214268 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:00.214287 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:00.214318 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:00.214341 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:00.214366 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:00.214402 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:00.214611 1 controller.go:745] No need to reload configuration. 127.0.0.1 - - [04/Jun/2017:16:06:00 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:06:10 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:06:12.271040 1 reflector.go:276] github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209: forcing resync I0604 16:06:12.271508 1 controller.go:372] Ingress default/echomap updated I0604 16:06:12.271594 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:12.271646 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:12.271668 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:12.271740 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:12.271798 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:12.271819 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:12.271836 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:12.271874 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:12.271900 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:12.271919 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:12.271949 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:12.271972 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:12.271998 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:12.272034 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:12.272295 1 controller.go:745] No need to reload configuration. 127.0.0.1 - - [04/Jun/2017:16:06:20 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:06:28.707993 1 controller.go:372] Ingress default/echomap updated I0604 16:06:28.708175 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:28.708292 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:28.708332 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:28.708378 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:28.708410 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:28.708430 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:28.708463 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:28.708486 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:28.708523 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:28.708543 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:28.708559 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:28.708580 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:28.708620 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:28.708643 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:28.708889 1 controller.go:745] No need to reload configuration. I0604 16:06:29.184105 1 controller.go:372] Ingress default/echomap updated I0604 16:06:29.248842 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:29.248999 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:29.249026 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:29.249074 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:29.249105 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:29.249180 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:29.249207 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:29.249245 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:29.249269 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:29.249289 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:29.249321 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:29.249343 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:29.249371 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:29.249410 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:29.249656 1 controller.go:745] No need to reload configuration. 127.0.0.1 - - [04/Jun/2017:16:06:30 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:06:40 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" I0604 16:06:42.271412 1 reflector.go:276] github.com/zlabjp/nghttpx-ingress-lb/pkg/controller/controller.go:1209: forcing resync I0604 16:06:42.271477 1 controller.go:372] Ingress default/echomap updated I0604 16:06:42.271504 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:42.271512 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:42.271518 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:42.271534 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:42.271550 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:42.271554 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:42.271558 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:42.271565 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:42.271572 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:42.271576 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:42.271579 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:42.271585 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:42.271596 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:42.271603 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:42.271772 1 controller.go:745] No need to reload configuration. I0604 16:06:47.525308 1 controller.go:1343] Update Ingress default/echomap .Status.LoadBalancer.Ingress to [{"35.187.165.128" ""}] I0604 16:06:47.531139 1 controller.go:372] Ingress default/echomap updated I0604 16:06:47.531281 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:47.531326 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:47.531351 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:47.531381 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:47.531428 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:47.531448 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:47.531479 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:47.531502 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:47.531529 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:47.531576 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:47.531594 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:47.531615 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:47.531657 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:47.531680 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:47.531900 1 controller.go:745] No need to reload configuration. I0604 16:06:49.506689 1 controller.go:372] Ingress default/echomap updated I0604 16:06:49.506876 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;foo.bar.com/foo, host=foo.bar.com, path=/foo I0604 16:06:49.506930 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:49.506953 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:49.506998 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:49.507062 1 controller.go:938] Found rule for upstream name=default/echoheaders-y,80;bar.baz.com/bar, host=bar.baz.com, path=/bar I0604 16:06:49.507099 1 controller.go:950] obtaining port information for service default/echoheaders-y I0604 16:06:49.507117 1 controller.go:1085] getting endpoints for service default/echoheaders-y and port 80 target port 8080 protocol TCP I0604 16:06:49.507139 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:49.507182 1 controller.go:938] Found rule for upstream name=default/echoheaders-x,80;bar.baz.com/foo, host=bar.baz.com, path=/foo I0604 16:06:49.507201 1 controller.go:950] obtaining port information for service default/echoheaders-x I0604 16:06:49.507217 1 controller.go:1085] getting endpoints for service default/echoheaders-x and port 80 target port 8080 protocol TCP I0604 16:06:49.507254 1 controller.go:1156] endpoints found: [{Address:10.0.1.14 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:49.507280 1 controller.go:1085] getting endpoints for service kube-system/default-http-backend and port 80 target port 8080 protocol TCP I0604 16:06:49.507333 1 controller.go:1156] endpoints found: [{Address:10.0.0.9 Port:8080 Protocol:http/1.1 TLS:false SNI: DNS:false Affinity:none}] I0604 16:06:49.507542 1 controller.go:745] No need to reload configuration. 127.0.0.1 - - [04/Jun/2017:16:06:50 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:07:00 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1" 127.0.0.1 - - [04/Jun/2017:16:07:10 +0000] "GET /healthz HTTP/1.1" 200 0 "-" "Go-http-client/1.1"