Commit Graph

159 Commits

Author SHA1 Message Date
barnett
89f108692f [FIX] fix gateway bug 2019-03-13 20:06:11 +08:00
barnett
99e1f90c8b [ADD] add listen port chek in gateway 2019-03-13 17:33:05 +08:00
GLYASAI
c2362fcd50 [REV] change default value of connect timeout from 5 to 75 2019-03-13 14:16:39 +08:00
GLYASAI
0f886b3d35 [ADD] add or update api for gateway rule configuration 2019-03-13 13:58:30 +08:00
huangrh
7f579c435d [ADD] location rewrite 2019-03-12 11:14:22 +08:00
huangrh
5eab40d7a1 [REV] move ProxySetHeader to Proxy.Config 2019-03-10 23:33:46 +08:00
huangrh
b6bb182f62 Merge branch 'master' into cfg
# Conflicts:
#	gateway/controller/openresty/model/server.go
#	gateway/controller/openresty/rbd_endpoints.go
#	gateway/controller/openresty/service.go
#	gateway/controller/openresty/template/template.go
#	hack/contrib/docker/gateway/nginxtmp/servers.tmpl
2019-03-10 19:06:06 +08:00
huangrh
70197eb59a [ADD] location proxy 2019-03-10 18:51:10 +08:00
huangrh
9c9c6f6b1d [FIX] merge confilct error 2019-03-09 22:17:52 +08:00
黄润豪
5ce8b28c73
Merge branch 'master' into master 2019-03-09 22:08:45 +08:00
barnett
533d95dbec [REV] test change code for gateway monitor 2019-03-08 15:09:09 +08:00
barnett
1694b7ef1f [ADD] Add service access data monitoring capabilities to the gateway. 2019-03-07 21:38:47 +08:00
barnett
ea54454080 [REV] merge branch V5.0 to master 2019-03-06 09:33:33 +08:00
黄润豪
0e034ff12f
Merge branch 'master' into master 2019-03-04 14:32:33 +08:00
huangrh
b5b5c684b4 [REV] use selector to get endpoints, rather than service name
[ADD] create third-party service when starting worker

[ADD] curd for endpoints in etcd
2019-03-04 14:22:24 +08:00
barnett
bb84163cbf [FIX] fix version failure resulting in upgrade error bug 2019-03-01 22:06:34 +08:00
barnett
fd64eca5ff [FIX] fix configfile cannot be read or written bug 2019-03-01 14:27:03 +08:00
huangrh
028580d04d [FIX] http and https cant not exist at the same time 2019-02-22 11:49:27 +08:00
barnett
2616796037 [REV] Optimize code quality via go vet 2019-02-12 16:41:14 +08:00
barnett
065913a55c [REV] Optimize code quality via gofmt 2019-02-12 15:40:42 +08:00
GLYASAI
d36053c7be [FIX] blob upload unknown 2019-01-21 15:59:27 +08:00
GLYASAI
e12f4fc42c [FIX] default rule don't work with header or cookie rule 2019-01-16 15:56:40 +08:00
GLYASAI
c286ae0dba [REV] filter the wrong endpoint from etcd 2019-01-15 14:34:06 +08:00
GLYASAI
b38aab8511 [REV] change config files from list to one 2019-01-07 13:51:35 +08:00
GLYASAI
a49c89b157 [REV] make resyncPeriod a configurable parameter 2019-01-03 18:46:45 +08:00
GLYASAI
26fdf75853 [FIX] fix bug: SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line 2019-01-03 11:52:03 +08:00
GLYASAI
04ea9beed6 [FIX] fix bug: invalid number of arguments in "proxy_pass" 2018-12-29 14:56:07 +08:00
GLYASAI
512b27c070 [FIX] fix bug: push image into registry error: blob upload unknown 2018-12-29 14:29:27 +08:00
GLYASAI
5b0acb23bc [REV] adapt to "/rainbond/endpoint" changes 2018-12-28 22:23:48 +08:00
GLYASAI
0ce8187869 [ADD] add some nginx parameters 2018-12-28 15:36:16 +08:00
GLYASAI
5e15890fb4 [REV] change the way to list rainbond endpoints 2018-12-28 15:35:05 +08:00
GLYASAI
50c209cdaf [FIX] fix some typos 2018-12-28 14:32:46 +08:00
GLYASAI
f6624ee8be [REV] stop verifying clientSet 2018-12-28 09:10:13 +08:00
GLYASAI
289bb34ea3 [Fix] fix bug: unable to proxy kubeapi 2018-12-28 00:02:08 +08:00
GLYASAI
9ede03c99c [REV] make the rainbond endpoint open is optional 2018-12-26 17:40:49 +08:00
GLYASAI
d51975f545 [ADD] add server repo.goodrain.me 2018-12-26 13:45:01 +08:00
GLYASAI
655725b1cb [FIX] fix bug: cookie 502 2018-12-25 21:38:14 +08:00
GLYASAI
989e4b25ef [FIX] fix bug: 502 bad gateway 2018-12-25 21:28:03 +08:00
GLYASAI
6909d4fd16 [DEL] comment checkIngress 2018-12-25 19:04:12 +08:00
GLYASAI
e5620c9009 [ADD] add checkIngress 2018-12-25 18:51:44 +08:00
GLYASAI
f81aab868a [ADD] add least_conn 2018-12-25 12:20:04 +08:00
GLYASAI
4011971b46 [ADD] watch /rainbond/endpoint/APISERVER_ENDPOINTS 2018-12-25 11:26:22 +08:00
GLYASAI
8a39ef10fa Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-24 15:12:38 +08:00
GLYASAI
c6672037f9 [ADD] add proxy_set_header 2018-12-24 15:08:39 +08:00
barnett
df2dba200f [REV] merge branch master to 5.0 2018-12-24 15:04:35 +08:00
GLYASAI
6655d48574 [ADD] add metrcs: active server 2018-12-21 17:21:52 +08:00
GLYASAI
49d88a4965 [REV] only gen certificate if not exists 2018-12-19 17:04:20 +08:00
GLYASAI
6e5667f0fa [REV] uncomment creater=Rainbond 2018-12-18 11:14:47 +08:00
GLYASAI
9f2d2f1373 [ADD] add load balance: consistent hashing 2018-12-17 11:45:12 +08:00
GLYASAI
0e2db83e5e [ADD] add Copyright 2018-12-17 10:52:36 +08:00
GLYASAI
10b74510c3 [ADD] add error msg 2018-12-13 13:10:29 +08:00
GLYASAI
749712eb67 [ADD] add not ready address 2018-12-07 12:38:58 +08:00
GLYASAI
f1b9d5e56a [ADD]add monitor for goodrain.me 2018-12-06 12:10:59 +08:00
GLYASAI
d7255f0833 [ADD] add health check 2018-12-05 22:06:21 +08:00
GLYASAI
3b72c9b5bd [REV]use default ip 2018-12-04 23:59:08 +08:00
GLYASAI
dd43459212 [REV] remove weight from upstream name 2018-12-04 21:56:29 +08:00
GLYASAI
e5f2880119 [ADD] add external ip and internal ip for rainbond server 2018-12-04 20:43:03 +08:00
GLYASAI
6b7c6d458a [REV] put backend name and weight into a struct 2018-12-04 20:15:57 +08:00
GLYASAI
87457e7f43 [REV] do not convert "" to int 2018-12-04 20:01:39 +08:00
GLYASAI
68d8c45ee5 [REV]change glog to logrus 2018-12-04 20:00:36 +08:00
GLYASAI
ea629fb262 [REV] change logger level 2018-12-04 19:50:32 +08:00
GLYASAI
cdb6431384 [ADD] support weight in router 2018-12-04 16:59:42 +08:00
GLYASAI
08b1629a86 [FIX] fix bug: nil memory 2018-12-04 00:18:31 +08:00
GLYASAI
31c016e2aa [REV] Use "=" to split the header, instance of ":" 2018-12-03 15:21:37 +08:00
GLYASAI
8c1440c896 [FIX] fix bug: no rainbond backends 2018-12-03 14:39:05 +08:00
GLYASAI
630701afc9 [FIX] fix bug: multiple-value json.Marshal() in single-value context 2018-12-03 14:23:34 +08:00
GLYASAI
c1fd3ff1bc [ADD] print some debug message 2018-12-03 14:21:45 +08:00
GLYASAI
3b622d3c39 [REV] print some debug messages 2018-12-03 14:16:54 +08:00
GLYASAI
4eeb569304 [ADD] create cert automaticlly 2018-12-03 13:52:48 +08:00
GLYASAI
3c4e243f70 [FMT] format some code 2018-12-03 08:27:43 +08:00
GLYASAI
ef9f57cc95 [FIX] fix bug: the value of the cookie is = 2018-12-03 08:27:13 +08:00
GLYASAI
ee7acfea45 [REV]split cookie with "=" 2018-12-02 23:48:42 +08:00
GLYASAI
2d25a6ef9c [FMT] format code 2018-12-02 23:45:16 +08:00
barnett
0ad17f4888 [ADD] add gateway lua code support balancer 2018-12-02 21:09:32 +08:00
GLYASAI
cc28eca3f7 [ADD] add udp stream 2018-12-01 20:08:05 +08:00
GLYASAI
a601f432ee [REV] fix bug: nginx not ready 2018-12-01 16:51:21 +08:00
GLYASAI
cceb7e9c01 [FIX] fix bug: open() "/usr/local/openresty/nginx/html/update-upstreams" failed 2018-12-01 16:40:01 +08:00
GLYASAI
26360fd1cd [FIX] fix bug: no resolver defined to resolve registr 2018-12-01 15:02:55 +08:00
GLYASAI
1bba92a94b [ADD] include rainbond default endpoints 2018-12-01 14:43:09 +08:00
GLYASAI
dc88237914 [FIX] bug: update-upstreams is null 2018-12-01 14:27:07 +08:00
GLYASAI
121adc04c1 [FIX] bug: bad argument #1 to 'pairs' (table expected, got userdata) 2018-12-01 14:22:43 +08:00
GLYASAI
b78aa6e9a9 [REV] change the upstream tmpl for rbd endpoints 2018-12-01 13:47:12 +08:00
GLYASAI
3600186fb0 [FIX] bug: http upstream cover tcp upstream 2018-12-01 13:28:38 +08:00
GLYASAI
e224e27f23 [REV] change certificate path of goodrain.me 2018-12-01 11:37:07 +08:00
GLYASAI
6e25bbdc95 [REV] support router with weight 2018-12-01 10:27:14 +08:00
GLYASAI
f39f6fee27 [ADD] add some default rainbond endpoints 2018-12-01 10:26:35 +08:00
barnett
96be054fe3 [ADD] add support local volume code 2018-11-30 22:20:48 +08:00
GLYASAI
936e51c407 [ADD] add weight for router 2018-11-30 08:31:11 +08:00
GLYASAI
d1f72cf0b1 [ADD] add LabelSelector = "creater=Rainbond" 2018-11-27 17:17:40 +08:00
GLYASAI
a9f83d01d9 [ADD] add configurable node ip 2018-11-27 12:42:21 +08:00
GLYASAI
44dd5ca6b1 [REV] move DeletePools to the front of UpdatePools 2018-11-23 17:54:41 +08:00
GLYASAI
4bc88919d5 [REV] filter empty endpoints 2018-11-23 17:43:05 +08:00
GLYASAI
7c3ace43a1 [ADD] add EventHandler for Endpoints 2018-11-23 16:39:56 +08:00
GLYASAI
4e41e4b858 [ADD] add UpdateFunc for ingress 2018-11-23 14:34:44 +08:00
GLYASAI
f033722cfa [REV] Filter empty hosts and ports 2018-11-23 14:12:01 +08:00
GLYASAI
c5563212dd [FIX] make gateway run in container successfully 2018-11-22 21:16:00 +08:00
barnett
86d9c42210 [ADD] add gateway Dockerfile 2018-11-21 17:35:07 +08:00
GLYASAI
993efefb0d [ADD] add TenantServiceRegist which conv inner and outer service regist 2018-11-18 11:53:11 +08:00
GLYASAI
080220c6e5 [ADD] add the ability to stop gateway 2018-11-14 12:54:49 +08:00
GLYASAI
71ca08bebe [ADD] add wait for plugin to be ready 2018-11-13 20:26:41 +08:00