Commit Graph

179 Commits

Author SHA1 Message Date
GLYASAI
634ca63cd1 [REV] distinguish old and new pods 2019-08-23 13:30:32 +08:00
GLYASAI
1656cf6624 [FIX] error skiping metric for host 2019-06-24 13:56:48 +08:00
barnett
4bfd85290b [FIX] fix delete resource name is empty bug 2019-05-30 09:33:21 +08:00
GLYASAI
4c598f230e [FIX] duplicate gateway backends 2019-05-14 19:39:06 +08:00
GLYASAI
eea31177a3 Merge branch 'r-http-pools' into rbd-endpoints 2019-04-16 12:21:42 +08:00
GLYASAI
5e90098c02 [FIX] No updates to the running http endpoints 2019-04-16 12:21:11 +08:00
GLYASAI
19767af977 [ADD] compare old and new rbd-endpoints 2019-04-15 18:35:29 +08:00
huangrh
1bd0893280 [REV] move the logic of ForceSSLRedirect from servers.tmpl to the gateway controller. 2019-04-02 16:19:30 +08:00
huangrh
2320e1d962 [REV] find the associated endpoints by the name of the service 2019-03-31 02:17:07 +08:00
barnettZQG
1d484c9827
Merge pull request #257 from GLYASAI/rulecfg
[FIX] invalid ingress
2019-03-28 15:50:45 +08:00
huangrh
c27cc382ca [REV] allow empty value for nginx proxy_set_header 2019-03-28 11:21:59 +08:00
huangrh
ce57b9afcd [FIX] merge error 2019-03-27 12:09:14 +08:00
huangrh
de76bf7a82 [REV] update the judgment of the equality of nginx configuration files 2019-03-25 20:24:26 +08:00
barnett
9c01057d37 change version and change code style 2019-03-21 14:48:46 +08:00
barnett
8523e77712 [FIX] fix target port wrong bug 2019-03-21 14:15:07 +08:00
barnettZQG
77636b543b
Merge pull request #242 from GLYASAI/V5.1
FIX gateway upstream bug and service upgrade bug
2019-03-20 14:12:52 +08:00
GLYASAI
8e43c8db6e [FIX] wrong upstreams for gateway tcp 2019-03-20 13:46:44 +08:00
barnett
95d211d135 [FIX] fix gateway check valid date bug 2019-03-18 18:49:00 +08:00
GLYASAI
feb1e1ba64 [REV] change gateway configuration
[FIX] fix some bug
2019-03-14 21:10:14 +08:00
GLYASAI
9d9e56a8c6 [FIX] make proxy_set_header work 2019-03-14 16:00:45 +08:00
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