Commit graph

160 commits

Author SHA1 Message Date
Nick Sardo
61a03033f7 Merge pull request #386 from itamaro/patch-1
Fix glbc usage string
2017-03-07 15:08:17 -08:00
Tony Li
7000924dc5 GCE pre-shared cert fixes (#395)
* pick up changes to the external cert referenced by lb

* less prone way to check if cert should be deleted
2017-03-07 15:05:21 -08:00
Tim St. Clair
1023056c3b
Rebase GLBC on busybox 2017-03-07 13:49:43 -08:00
Tony Li
e1d1445370 GCE/GKE "pre-shared" TLS cert (#291)
* add allow-named-tls annotation

* works for setting tls

* fix logs (mostly)

* add ssl cert annotation

* return an error when cert not found

* use annotation if specified, otherwise use spec

* add TODO on naming

* use the annotation key from k8s

* add unit test for HTTPS LB w/ cert annotation

* refactor logic and check for error

* move annotation to controller package

* remove todo for function naming
2017-03-07 13:42:41 -08:00
Itamar Ostricher
6f3139a79e Fix glbc usage string
1. Typo in `glbc` binary name
2. Typo in `running-in-cluster` flag
3. Remove non-existing flag `--default-backend-node-port`
2017-03-07 12:09:12 +02:00
Christian Bell
68097e96dc Better logging and address review comments 2017-03-02 10:54:32 -08:00
Christian Bell
b259c9b349 First stab at extending the "uid" configmap to store firewall
rule information.
2017-02-28 10:49:31 -08:00
Piotr Szczesniak
fd7990de67 Expose Prometheus metrics in glbc controller 2017-02-25 18:30:00 +01:00
Manuel Alejandro de Brito Fontes
8f23451c24 Merge pull request #221 from tonglil/typos
Typo: unittesting -> unit testing
2017-02-25 08:12:53 -03:00
Manuel Alejandro de Brito Fontes
712b60f197 Merge pull request #222 from tonglil/fix-log-message
Change arg ordering in log message
2017-02-25 08:12:41 -03:00
Manuel Alejandro de Brito Fontes
3f2592128c Merge pull request #224 from tonglil/check-error
Check for error getting cert
2017-02-25 08:12:25 -03:00
bprashanth
7e02e9adaa Add more assignees and approvers 2017-02-17 10:47:56 -08:00
Tony Li
5f8a40d392 update makefile docker command 2017-02-16 14:49:35 -08:00
bprashanth
9b305f1954 Flip version to 0.9.1 2017-02-08 19:31:59 -08:00
bprashanth
3f618d7dca Add unittest 2017-02-08 19:31:55 -08:00
bprashanth
bc8b658a5c Be more specific about the type of error to retry on 2017-02-08 17:27:53 -08:00
bprashanth
24d9aada11 Set balancing mode 2017-02-08 15:15:48 -08:00
Tony Li
fbdacb2a67 comment on skipping the error check 2017-02-03 18:23:07 -05:00
Tony Li
404e0712db check for error getting cert 2017-02-03 17:24:24 -05:00
Tony Li
881ddba90d change arg ordering in log message 2017-02-03 15:13:08 -05:00
Jeff Grafton
bc020f1370 Always docker --pull when building to fetch latest base images 2017-02-01 19:04:23 -08:00
bprashanth
7d709d5e93 Match named port between container and probe
We were previous matching the target port with the readiness probe, and
hence dropping the case where the container port and the probe had the
same name, but the target port did not.
2017-01-27 14:22:44 -08:00
Tony Li
0278034bcf unittesting -> unit testing 2017-01-26 15:17:12 -05:00
Justin Ryan
96df5b3d55 Clarify usage of Ingress backend.servicePort 2017-01-25 09:52:50 -05:00
fate-grand-order
0cd3663def fix typo
Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
2017-01-16 13:58:54 +08:00
Tim Hockin
717594ae2a Merge pull request #124 from bprashanth/default_backend_ig_delete
Only delete default backend when there are no loadbalancers
2017-01-10 22:55:41 -08:00
bprashanth
a6b0405480 Move IG GC out of backend pool and into cluster manager 2017-01-10 03:49:08 -08:00
bprashanth
9d85c9b163 Send an event if default backend doesn't have a NodePort 2017-01-10 03:49:05 -08:00
Prashanth B
f90e9eeb7c Merge pull request #117 from thockin/dont-sync-unchanged-urlmaps
GCE: Don't update URL Map if unchanged
2017-01-09 20:25:48 -08:00
Tim Hockin
0950910e29 GCE: Don't update URL Map if unchanged 2017-01-09 11:41:50 -08:00
Tim Hockin
c3b7631b01 Log node-sync details 2017-01-04 16:59:03 -08:00
Tim Hockin
d1f13a3ad4 Fix a typo in logs 2017-01-04 16:58:47 -08:00
Tim Hockin
4e5efe56de rename for clarity 2017-01-04 13:13:02 -08:00
Manuel de Brito Fontes
61dad19f8e Fix lint errors 2016-12-28 07:30:58 -03:00
bprashanth
5fcd42f7dc Bump up glbc version to match release 2016-12-12 19:16:33 -08:00
bprashanth
5fde50d3c9 Fix unittests 2016-12-07 11:53:16 -08:00
Prashanth B
cd07b0b06d Merge pull request #21 from bprashanth/default_backend_retry
Refactor default backend handling and add better events
2016-12-07 11:26:07 -08:00
Manuel de Brito Fontes
f7011d22f8 Update godeps 2016-11-29 18:10:06 -03:00
Manuel de Brito Fontes
ed9a416b01 Split implementations from generic code 2016-11-23 21:17:49 -03:00
bprashanth
8c4d951df3 Bump up glbc version 2016-11-22 18:42:00 -08:00
bprashanth
d2312229dd Don't retry on instance group not found 2016-11-22 18:31:34 -08:00
bprashanth
d7fb15d972 Better events and timeouts for health checks 2016-11-22 18:31:07 -08:00
bprashanth
b789b78837 Log urlmap 2016-11-22 16:44:08 -08:00
bprashanth
6260eeeed4 Re-order default backend deletion calls 2016-11-22 16:39:08 -08:00
Manuel de Brito Fontes
0dbe499a3b Fix lint errors 2016-11-11 19:46:09 -03:00
Manuel de Brito Fontes
96f8ec419d Remove gce data race in tests 2016-11-11 18:25:42 -03:00
Manuel de Brito Fontes
827fcf10dd Fix lint errors 2016-11-11 18:23:02 -03:00
Manuel de Brito Fontes
4d1887310b Update GCE ingress controller 2016-11-11 18:22:35 -03:00
bprashanth
294ff58f63 Clarify ingress docs 2016-11-08 10:25:35 -08:00
bprashanth
190c9a277a Bump glbc version in Makefile 2016-10-03 10:12:25 -07:00
bprashanth
98af96514e Don't index ingress.status.ip if empty. 2016-10-03 10:11:43 -07:00
bprashanth
e30bbdfe2c Don't reconcile health checks after first create. 2016-09-23 14:22:22 -07:00
bprashanth
d99efea804 Don't consider pods cross namespace for health checks 2016-09-22 14:56:50 -07:00
bprashanth
3c703356ee Fix log level so we log debug output by default. 2016-09-21 18:37:52 -07:00
bprashanth
8c770ba384 Bump glbc version to 0.8.0 2016-09-21 17:33:14 -07:00
bprashanth
5d653fc10c Clarify ingress limitation around large clusters. 2016-09-09 13:28:32 -07:00
Jan Chaloupka
8053699360 Remove "All rights reserved" from all the headers 2016-09-08 13:02:39 +02:00
Manuel de Brito Fontes
d43021b3f1 Update gce node return types 2016-08-25 14:08:29 -03:00
Kubernetes Submit Queue
01cf346b6f Merge pull request #1435 from mml/k8s-ig-dead-code
Automatic merge from submit-queue

Delete dead code in cluster_manager.



<!-- Reviewable:start -->
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/contrib/1435)
<!-- Reviewable:end -->
2016-08-12 14:13:33 -07:00
Kubernetes Submit Queue
34a469fa1b Merge pull request #1363 from bprashanth/ing_uid
Automatic merge from submit-queue

Use existing uid if one is found

Without this if we create some ingresses we will get eg: a forwarding rule like "foo-uid". Now if we restart 
the ingress controller, and while it's down delete the configmap where it stores its uid, it will come back, see an existing ingress, but wrongly record the uid as "empty string". This will cause the ingress to ignore the old forwarding rule, backends etc.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/contrib/1363)
<!-- Reviewable:end -->
2016-08-12 11:03:58 -07:00
bprashanth
fc50762257 Poll and notice changes to cluster UID 2016-08-11 18:03:00 -07:00
Kubernetes Submit Queue
dfc322c2a2 Merge pull request #1503 from bprashanth/backends
Automatic merge from submit-queue

Don't clobber backends.

If a parallel ingress controller updates the backend service with another instance group, don't clobber it, just make sure the instance group you put in is there.
2016-08-11 17:13:50 -07:00
bprashanth
114dbd3575 Don't clobber backends inserted by other controllers. 2016-08-10 19:23:31 -07:00
Matt Liggett
1b5d8fe011 Delete dead code in cluster_manager. 2016-08-10 15:50:25 -07:00
bprashanth
7e674d5f24 Bump glbc image. 2016-08-10 14:09:08 -07:00
Prashanth Balasubramanian
c479d3e261 Bump glbc version 2016-08-08 19:10:09 -07:00
bprashanth
1a890fe7db Continue to ingore non-gce ingress in lister. 2016-08-08 12:47:37 -07:00
Siva Manivannan
c2d56dc685 GCE ingress http-only annotation naming fix 2016-08-02 00:10:24 -05:00
Prashanth Balasubramanian
632d4ae45c Fix health check link 2016-07-29 14:54:01 -07:00
Prashanth B
1aaa63e0be Merge pull request #1350 from aledbf/nginx-backlog
[nginx-ingress-controller]: Improve performance (listen backlog=net.core.somaxconn)
2016-07-12 08:18:53 -07:00
Manuel de Brito Fontes
a34124be9d Update gce NodeCondition parameter 2016-07-11 23:43:36 -04:00
Prashanth Balasubramanian
94ea4ab247 GCE Ingress docs update 2016-07-08 11:15:27 -07:00
Prashanth Balasubramanian
8bbf869030 Add an annotation to ignore non-gce ingresses 2016-06-29 15:49:02 -07:00
Prashanth Balasubramanian
cb05e7b18e Don't adopt complex http probes for health checks 2016-06-29 15:02:27 -07:00
Prashanth Balasubramanian
58d5638888 Firewall updates only on port change 2016-06-29 15:02:27 -07:00
Prashanth Balasubramanian
5db8389fb3 Rate limit requeues on error 2016-06-29 15:02:27 -07:00
Prashanth Balasubramanian
acf87ef9d5 Pass in nil instead of the interface 2016-06-29 15:02:22 -07:00
Piotr Szczesniak
72fe8dc293 Merge pull request #1249 from bprashanth/ing
Reduce number of backends in basic ingress example
2016-06-22 21:28:39 +02:00
Prashanth Balasubramanian
834ddb6813 Quota modification 2016-06-22 08:58:04 -07:00
Prashanth Balasubramanian
9bb2aa7d8f Fix log statement 2016-06-21 15:07:11 -07:00
Prashanth Balasubramanian
6fa9fd2828 Bump up image version for glbc 2016-06-21 15:00:04 -07:00
Prashanth Balasubramanian
423433bc5f Update image on ingress example 2016-06-20 15:18:34 -07:00
Prashanth Balasubramanian
61558f4d19 Get rid of default-zone everywhere. 2016-06-08 11:24:06 -07:00
Prashanth Balasubramanian
3bed62f51e Forget oldSSL cert after first cleanup 2016-06-03 10:44:55 -07:00
Prashanth Balasubramanian
9abd4e0ea6 append / to healthcheck url 2016-06-03 10:39:29 -07:00
Prashanth Balasubramanian
22c6e5ddd7 Unittests 2016-06-03 10:39:29 -07:00
Prashanth Balasubramanian
f84ca54831 Readiness probe health check 2016-06-03 10:39:29 -07:00
Prashanth Balasubramanian
32ac61e7e3 Teach l7 controller about zones 2016-06-03 10:39:29 -07:00
Prashanth Balasubramanian
5d83fa45c2 Pipe through custom GCE config file path 2016-05-27 14:55:08 -07:00
Prashanth Balasubramanian
c2696bdd36 New UID allocation logic 2016-05-27 14:54:38 -07:00
Prashanth Balasubramanian
24fb4b70aa Cluster UID store/retrieval 2016-05-27 14:54:38 -07:00
Prashanth Balasubramanian
0d4f49e50e Change int <->int32 for godeps 2016-05-09 12:06:09 -07:00
Prashanth Balasubramanian
d3a51031c3 Bump version 2016-04-21 11:46:23 -07:00
Prashanth Balasubramanian
fc6d9a47fd Update certificates on secret update 2016-04-21 11:46:23 -07:00
Prashanth Balasubramanian
fe026b73f0 Add a use-real-cloud flag to allow the controller to run on the master 2016-04-21 11:46:23 -07:00
Prashanth Balasubramanian
8084341920 Simpler firewall rules 2016-04-21 11:46:23 -07:00
Prashanth B
b658ba8cac Merge pull request #706 from joonathan/patch-1
Updated with correction for Ingress TLS spec
2016-04-06 10:09:26 -07:00
Prashanth Balasubramanian
2afc21c021 Bump up glbc version. 2016-04-04 14:42:18 -07:00
Prashanth Balasubramanian
73afef4bec Retry GCE client creation. 2016-04-04 14:09:31 -07:00
Prashanth Balasubramanian
8d59739bb1 List from cloud and resync InMemoryPool. 2016-04-04 14:03:38 -07:00