Commit Graph

438 Commits

Author SHA1 Message Date
barnett
6b0713ccc4 merge 5.1 branch code 2019-06-25 22:01:03 +08:00
GLYASAI
9af4d32594 [FIX] clean manager does not work 2019-06-20 17:38:55 +08:00
barnett
c797894103 add service ratelimit support 2019-06-14 15:19:53 +08:00
barnett
95d211d135 [FIX] fix gateway check valid date bug 2019-03-18 18:49:00 +08:00
barnett
9c4132ba02 [FIX] fix startup sequence control bug 2019-03-17 14:08:42 +08:00
barnett
380f5430f5 [REV] change init-probe and add healthy check for endpoint host in xds 2019-03-14 20:46:52 +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
huangrh
fc244b8fd1 [REV] change prober 2019-03-12 09:59:09 +08:00
黄润豪
5ce8b28c73
Merge branch 'master' into master 2019-03-09 22:08:45 +08:00
huangrh
7af1d64519 [REV] change the update of third-party service Endpoints from synchronous to asynchronous 2019-03-08 14:46:11 +08:00
barnett
1694b7ef1f [ADD] Add service access data monitoring capabilities to the gateway. 2019-03-07 21:38:47 +08:00
huangrh
956a40561b [ADD] healthy check for third-party services 2019-03-05 22:22:02 +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
22e733a408 [ADD] add init-probe component 2019-02-28 14:52:39 +08:00
barnett
e833155dc8 [REV] envoy mesh test 2019-02-26 16:20:45 +08:00
barnett
221adc8047 [ADD] envoy v2 grpc api server test code 2019-02-25 15:30:21 +08:00
barnett
68246110a8 [ADD] add envoy controller grpc api 2019-02-21 21:55:56 +08:00
barnett
fa53f1b403 [REV] change some code style 2019-02-15 10:06:25 +08:00
barnett
7a76feff7d [FIX] fix code bug in node client 2019-02-12 16:59:03 +08:00
barnett
510f901d4b [DEL] remove deprecated code 2019-02-12 16:57:18 +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
barnett
75438e6c05 [REV] Optimize tenant resource statistics and resource constraints 2019-01-28 16:00:51 +08:00
barnett
098ad6857f [ADD] support set cadvisor listen port in monitor 2019-01-25 19:00:48 +08:00
GLYASAI
97c23e6609 [FIX] fix bug: resyncPeriod too small 2019-01-07 12:10:26 +08:00
GLYASAI
a49c89b157 [REV] make resyncPeriod a configurable parameter 2019-01-03 18:46:45 +08:00
barnett
7e7f09b3fa [REV] change api unsafe port listen localhost 2018-12-28 17:49:10 +08:00
barnettZQG
f3a36ea029
Merge pull request #170 from GLYASAI/V5.0
do some change and fix some bugs
2018-12-28 16:44:15 +08:00
GLYASAI
50c209cdaf [FIX] fix some typos 2018-12-28 14:32:46 +08:00
barnett
82b30ab29d [ADD] node module add auto-scheduler parameter 2018-12-28 13:51:23 +08:00
GLYASAI
79ef70bb1e [REV] kube-apiserver is not enabled by default 2018-12-26 19:22:38 +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
80cf7e11b7 [REV] change keepalive-requests 2018-12-25 20:33:12 +08:00
GLYASAI
4011971b46 [ADD] watch /rainbond/endpoint/APISERVER_ENDPOINTS 2018-12-25 11:26:22 +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
shangshanzhishui
7dda22158e add default tenantname config 2018-12-21 13:29:47 +08:00
barnett
02ae7ecce5 [FIX] fix build error in windows 2018-12-15 11:04:42 +08:00
barnett
c716cbf5ca [FIX] fix windowsutil exist but Process not exist bug 2018-12-12 17:52:20 +08:00
barnett
8d0dc63cf7 [REV] remove node windows debug service 2018-12-08 18:05:35 +08:00
barnett
1c960f3692 [ADD] grctl support specify node id where add node 2018-12-08 17:00:19 +08:00
barnett
8a781ae6e0 [REV] change grctl some command 2018-12-08 12:58:40 +08:00
barnett
751666361e [REV] change windows util logger 2018-12-08 10:51:38 +08:00
barnett
b16a54b5b0 [REV] change docker client api package 2018-12-07 14:24:14 +08:00
barnett
5add69a90f [ADD] windowsutil add read command log feature 2018-12-07 11:48:29 +08:00
barnett
8c63807fb0 [REV] Solve the problem of symbol translation under Windows 2018-12-07 11:13:12 +08:00
barnett
8c87dff5fa [ADD] node module add log file support 2018-12-06 22:01:57 +08:00
barnett
2706176ffe [ADD] add remove service method 2018-12-06 19:48:12 +08:00
barnett
7350274e66 [FIX] debug log file write 2018-12-06 19:22:24 +08:00
barnett
baadfae366 [FIX] fix log file do exist bug 2018-12-06 19:09:22 +08:00
barnett
ca80db1d57 [ADD] add log file for windowsutil 2018-12-06 18:56:16 +08:00
barnett
c042a2ec42 [REV] add stdout and stdin for windowsutil 2018-12-06 17:47:01 +08:00
barnett
4359fd2df9 [FIX] set check after parse 2018-12-06 17:33:25 +08:00
barnett
ccc4527bb1 [FIX] fix build windowsutil failure bug 2018-12-06 17:30:39 +08:00
barnett
b041f49cff [REV] exit after context cancel 2018-12-06 17:28:12 +08:00
barnett
48e2df2c61 [ADD] add windows service util. 2018-12-06 17:26:46 +08:00
barnett
d6037a4326 [ADD] node module support windows service 2018-12-06 16:45:08 +08:00
barnett
28ae27a94d [REV] change node api /all-node-health 2018-12-05 22:51:44 +08:00
GLYASAI
d7255f0833 [ADD] add health check 2018-12-05 22:06:21 +08:00
barnett
a9fdcdb683 [REV] update node status handle code 2018-12-05 18:18:38 +08:00
GLYASAI
99afa3470e [REV]change name of rbd server ip 2018-12-04 20:46:40 +08:00
GLYASAI
e5f2880119 [ADD] add external ip and internal ip for rainbond server 2018-12-04 20:43:03 +08:00
barnett
17644f8346 [ADD] add some windows log 2018-12-04 18:52:36 +08:00
barnett
1f199866ed [ADD] add node service unregister method 2018-12-04 18:38:47 +08:00
barnett
a8f214beca [REV] Unified message queuing code 2018-12-04 18:08:51 +08:00
barnett
ebf9636823 [ADD] Add the processing flow after the application is built 2018-12-04 15:09:00 +08:00
barnett
2eb8263ed9 [REV]change mq client code 2018-12-04 13:43:15 +08:00
barnett
77cd220133 [ADD] add windows service manager code 2018-12-03 18:10:40 +08:00
barnett
0ad17f4888 [ADD] add gateway lua code support balancer 2018-12-02 21:09:32 +08:00
barnett
842c01337a [ADD] add static build support 2018-12-01 16:56:03 +08:00
GLYASAI
f39f6fee27 [ADD] add some default rainbond endpoints 2018-12-01 10:26:35 +08:00
GLYASAI
5ef70112a9 [REV] change the default topic to builder 2018-11-30 18:00:36 +08:00
GLYASAI
0b33bd4c73 [REV] set the topic based on the type of operating system 2018-11-30 17:38:08 +08:00
barnett
fbbc63ef3e [ADD] add rainbondssscProvisioner 2018-11-29 18:22:17 +08:00
GLYASAI
453fe2c26c [ADD] add minimum external port 2018-11-28 17:01:58 +08:00
barnett
8db3d0c418 [FIX] fix gateway ingress and scret without lables bug 2018-11-27 18:16:18 +08:00
GLYASAI
782f84db6c [REV] change change the default value of node ip to 0.0.0.0 2018-11-27 13:50:17 +08:00
GLYASAI
a9f83d01d9 [ADD] add configurable node ip 2018-11-27 12:42:21 +08:00
barnett
6c24c3344a [ADD] add update config command in node module 2018-11-23 18:44:32 +08:00
barnett
670e083bc3 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-23 16:19:45 +08:00
barnett
33587a1a2f [ADD] support multiple daemon component service profiles 2018-11-23 16:19:35 +08:00
GLYASAI
c5563212dd [FIX] make gateway run in container successfully 2018-11-22 21:16:00 +08:00
barnett
ec6cb037fd [REV] change all db name and remove kube client from api module 2018-11-22 14:33:29 +08:00
barnett
0d6ab85493 [REV] update logger step info code 2018-11-21 18:25:12 +08:00
barnett
86d9c42210 [ADD] add gateway Dockerfile 2018-11-21 17:35:07 +08:00
barnett
88300d137e [REV] change create etcd cli code in node module 2018-11-21 14:10:16 +08:00
barnett
56cfadd2a9 [ADD] add gateway Dockerfile and attachment 2018-11-21 13:30:40 +08:00
barnett
c6182157c4 [REV] update app runtime collector for prometheus 2018-11-21 11:25:19 +08:00
barnett
2600844473 [REV] remove event log zmq server. 2018-11-20 11:34:03 +08:00
barnett
606411aa5e [ADD] add upgrade and scaling contro and change app status get method 2018-11-19 18:56:28 +08:00
barnett
757a6f8938 [ADD] add runtime server and app status manage.update grpc vendor 2018-11-17 18:08:33 +08:00
barnett
cae1e2053e [ADD] add new start process for new app runtime 2018-11-16 18:16:55 +08:00
GLYASAI
080220c6e5 [ADD] add the ability to stop gateway 2018-11-14 12:54:49 +08:00
barnett
2935ee9191 [ADD] change worker leader select by kubeapi 2018-11-13 17:45:04 +08:00
barnett
7fd028c6ec [REV] merge branch V3.7 to master 2018-11-13 10:47:14 +08:00
barnett
5f2627505b [REV] change webcli regist method 2018-11-13 09:16:20 +08:00
GLYASAI
f2e405a94c [ADD] add update upstreams dynamically 2018-11-11 22:09:54 +08:00
barnett
ba7402fd13 [ADD] add tcp stream logger plugin 2018-11-09 12:27:53 +08:00
barnett
9232c74ff4 [ADD] add logger support 2018-11-08 18:13:59 +08:00
GLYASAI
fd752dfe6d [ADD] add gateway module 2018-11-08 17:22:26 +08:00
barnett
4c4ac25fe5 [REV] update docker cli to new version 2018-11-05 20:34:24 +08:00
zhoujunhao
134f6598ba [FIX] Fix bubg with hostid exceeding index 2018-10-10 18:18:13 +08:00
zhoujunhao
8d4c34b52f [REV] Use the startup parameters to control the cleanup module 2018-10-10 15:32:50 +08:00
barnettZQG
c4c20069e5 [REV] change write pem key file type 2018-08-14 16:44:57 +08:00
zhoujunhao
4b29edc5a7 [REV] Modify the docking alertmanager configuration parameter name 2018-08-03 10:34:02 +08:00
barnettZQG
bd74e1f509 [ADD] support add domain in certutil 2018-08-02 22:53:37 +08:00
zhoujunhao
61b86386c6 [REV] Modify initialization parameters 2018-08-02 19:39:02 +08:00
zhoujunhao
898d6da6fb [FIX] fix bug 2018-08-02 19:22:44 +08:00
zhoujunhao
7e8e83c1b8 [REV] Set the alertmanager url to null by default 2018-08-02 17:31:37 +08:00
zhoujunhao
0c10370263 [REV] Modify the configuration of the alertmanage 2018-08-02 17:11:01 +08:00
barnettZQG
3b9d3f1fff [REV] change grctl config file path 2018-08-02 12:24:15 +08:00
barnettZQG
e8b1c44007 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-08-02 12:17:07 +08:00
barnettZQG
c69cef862d [ADD] add certutil 2018-08-02 12:16:50 +08:00
zhoujunhao
db83fdebab [REV] Optimize how grctl adds rules 2018-08-02 12:08:15 +08:00
zhoujunhao
30713eb483 [FIX] fix webcli exporter port bug 2018-08-01 22:57:02 +08:00
zhoujunhao
72bdc270b7 [ADD] add webcli exporter and default alerting rules 2018-08-01 22:35:51 +08:00
zhoujunhao
425bd5198a [ADD] add default rules 2018-08-01 18:49:31 +08:00
Zhang Jiajun
6f9e6242c6 [ADD] Support enventlog id automatic discovery. 2018-08-01 15:42:15 +08:00
zhoujunhao
faef2dc77a [REV] Optimize api implementation 2018-07-31 17:14:18 +08:00
zhoujunhao
87a4e8fb5c [FIX] add get rules url 2018-07-31 16:44:57 +08:00
zhoujunhao
0e943d8c01 [ADD] add get and set ruler api 2018-07-31 16:09:46 +08:00
zhoujunhao
813c411b97 [REV] optimization prometheus export 2018-07-29 21:50:07 +08:00
zhoujunhao
cea804bf2d Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-27 19:10:24 +08:00
zhoujunhao
ba12d437ad [ADD] add grctl cluster info 2018-07-27 19:10:15 +08:00
Zhang Jiajun
f87d433ffe [REV] Add option for node controller. 2018-07-27 18:52:09 +08:00
zhoujunhao
04e06157b2 [FIX] fix builder and worker prometheus export bug 2018-07-27 17:43:53 +08:00
zhoujunhao
339d3de8a2 [ADD] add worker service monitor 2018-07-26 18:02:06 +08:00
zhoujunhao
06158c4c7d [ADD] add builder service monitor 2018-07-26 17:05:50 +08:00
Zhang Jiajun
195ca60633 [REV] Add online and offline node by command. 2018-07-25 16:31:43 +08:00
Zhang Jiajun
07483bc7a0 [REV] Add online and offline node by command. 2018-07-25 12:35:37 +08:00
Zhang Jiajun
6a87332dff [REV] Add watcher for add service for node controller. 2018-07-24 16:33:38 +08:00
barnettZQG
7917a340de Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-19 19:10:46 +08:00
barnettZQG
bc3f610d96 [FIX] nodemanager stop 2018-07-18 13:43:59 +08:00
Zhang Jiajun
d4f17f72f9 [ADD] Support dynamic generate config for components template. 2018-07-17 19:18:39 +08:00
barnettZQG
a89780b7cc [FIX] fix hostuuid file bug and rev grctl cluster command 2018-07-17 17:56:27 +08:00
barnettZQG
881fb3ea7a [REV] add cmd for cluster and change some api client 2018-07-17 16:18:19 +08:00
Zhang Jiajun
504133f769 [ADD] Add rainbond components controller logic for noed. 2018-07-16 19:50:17 +08:00
barnettZQG
d5f8bdaf45 [REV] change build local build grctl and node 2018-07-16 15:56:31 +08:00
barnettZQG
a217cf54c2 [REV] update node monitor code 2018-07-16 11:56:48 +08:00
barnettZQG
c33ad9f223 [REV] change node code 2018-07-13 17:58:06 +08:00
barnettZQG
dfee3abf01 [REV] merge master branch 2018-07-13 10:35:03 +08:00
zhoujunhao
63db34866d Merge branch 'V3.7-dev' of https://github.com/goodrain/rainbond into V3.7 2018-07-13 10:16:24 +08:00
barnettZQG
6dc588012d [REV] change node code architecture 2018-07-13 10:11:10 +08:00
zhoujunhao
36016d1a9c [ADD] add webcli exporter 2018-07-12 18:00:10 +08:00
zhoujunhao
fce063fbcd [ADD] add webcli service health check 2018-07-12 16:58:52 +08:00
zhoujunhao
9811e12943 [ADD] add eventlog service health check 2018-07-12 14:30:55 +08:00
zhoujunhao
47e8cfd188 [ADD] add monitor api 2018-07-11 17:59:58 +08:00
zhoujunhao
cf621c74c0 [FIX] fix bug 2018-07-11 16:16:35 +08:00
zhoujunhao
9e12157285 [ADD] add worker health check 2018-07-10 17:27:50 +08:00
zhoujunhao
3ba698058d [add] add worker healthcheck 2018-07-10 16:01:16 +08:00
zhoujunhao
b833e816b3 [ADD] add healthcheck 2018-07-10 14:36:36 +08:00
barnettZQG
ff1ff248c3 [FIX] fix the bug that inconsistent name of envoy listener 2018-07-10 11:32:23 +08:00
barnettZQG
2c3e1e8805 [REV] cache service and endpoint in node 2018-07-09 23:16:04 +08:00
barnettZQG
8b08969da5 [REV] change list kube api to SharedInformerFactory 2018-07-09 22:42:10 +08:00
barnettZQG
cce8312e8f [REV] update version 2018-06-15 13:31:39 +08:00
Zhang Jiajun
46f60c727c [REV] Fix parse for flag etcd-endpoints. 2018-06-13 17:44:21 +08:00
zhoujunhao
ab92750774 [ADD] add clean data 2018-06-08 22:43:37 +08:00
Zhang Jiajun
ba0649bfc7 [REV] Optimize prometheus exit logic. 2018-06-05 14:02:01 +08:00
Zhang Jiajun
06faf79dc3 [REV] Take initiative to exit when prometheus occur unexpectedly for monitor. 2018-06-05 12:40:43 +08:00
Zhang Jiajun
5d98769e2f [REV] Add options list for monitor, change discover version to v2 for monitor prometheus. 2018-06-04 20:52:37 +08:00
Zhang Jiajun
4470bf64ee [ADD] New feature monitoring component. 2018-06-02 10:45:11 +08:00
Zhang Jiajun
85cf0fa7d5 [ADD] New monitoring component. 2018-05-31 17:08:47 +08:00
barnett
2637f072e3 [REV] merge code 2018-05-18 23:42:51 +08:00
barnett
7b395dcd29 [REV] update watch etcd implement code 2018-05-18 23:40:19 +08:00
barnett
a4a9983d0a [REV] update node code for etcd 2018-05-14 19:27:57 +08:00
barnett
d2ecf5eb6e [REV] update node etcd endpoint 2018-05-14 19:00:22 +08:00
barnett
e52785a300 [REV] update discover eventlog server config 2018-05-14 11:53:06 +08:00
barnett
d6ccb3cbd3 [REV] change filepath for read hostID (fixed #60) 2018-04-24 17:14:58 +08:00
barnett
287f8bdc9e [REV] update package api design,remove pkg dir (fixed #57) 2018-04-24 16:44:59 +08:00
barnett
9c49d2edaa [REV] update worker master select when etcd error 2018-04-17 23:04:08 +08:00
barnett
27aa47ff52 [REV] update worker master select code 2018-04-17 22:25:29 +08:00
barnett
2d39a744b7 [REV] add debug option for entrance 2018-04-12 18:22:17 +08:00
barnett
b7f7454004 [REV] The mq grpc server is realized automatically by client. 2018-04-11 19:28:42 +08:00
barnett
f58faa24d8 [REV] change watch etcd with background ctx to cancel ctx 2018-04-11 18:52:25 +08:00
barnett
a6748e4884 [REV] complete worker HA and node master HA (Fixed #61) 2018-04-11 18:08:08 +08:00
barnett
9655f9979b [REV] worker support HA
master node auto elect and switch (#61)
2018-04-11 16:49:37 +08:00
barnett
f228056a82 [ADD] add some doc file 2018-04-09 23:19:18 +08:00
barnett
d0f513b6af [REV] api support pprof by debug 2018-04-09 11:58:16 +08:00
barnett
2e13d49b69 [REV] move the app instance cache package to app runtime sync 2018-04-09 10:46:40 +08:00
barnett
4c8cd0dde3 [REV] api query app status from appruntime client 2018-04-03 18:21:46 +08:00
barnett
3a0586984f [REV] Recoding application status module, based on GRPC implementation decoupling with worker 2018-04-02 19:22:07 +08:00
goodrain
17d5fc2d32 [FIX] update grctl config 2018-03-20 19:18:01 +08:00
goodrain
7aee180cce [REV] update code style 2018-03-14 14:33:31 +08:00
goodrain
52d586ad18 [REV] update code style about license 2018-03-14 14:12:26 +08:00
goodrain
4e14c2cf01 [REV] update license style 2018-03-14 14:07:12 +08:00
goodrain
ffac817032 [ADD] add service specified dep volume. resource query from prometheus 2018-03-13 16:55:53 +08:00
goodrain
96c4889b07 [FIX] api support request log separation with system log 2018-03-07 16:50:47 +08:00
goodrain
1d20fdfe71 [ADD] add service share code 2018-03-04 22:48:50 +08:00
goodrain
b7b6670018 [ADD] add get builder publickey api 2018-03-02 17:26:57 +08:00
goodrain
52927093c5 [FIX] merge master 2018-02-26 18:15:01 +08:00
goodrain
1f13a6a3ec [ADD] builder add pprof 2018-02-24 11:04:38 +08:00
goodrain
d426e2cca9 [FIX] fix show git version 2018-02-24 10:46:52 +08:00
goodrain
f7938d2f13 [ADD] worker and builder support pprof 2018-02-23 15:24:53 +08:00
goodrain
807f9b86dc [ADD] merge master branch 2018-02-05 13:40:08 +08:00
pujielan
7290f9e99f [REV] Add db init 2018-01-30 18:14:29 +08:00
pujielan
ec70e978ae [DEL] Remove unused packages 2018-01-30 18:06:04 +08:00
pujielan
5bdc8601c6 [REV] add process of service building from source code 2018-01-30 18:02:08 +08:00