Commit Graph

363 Commits

Author SHA1 Message Date
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
pujielan
cc2dec0f46 [REV] add process of service building from image 2018-01-25 22:10:34 +08:00
goodrain
a23c6c05e9 [ADD] add app resource exporter in worker 2018-01-23 18:07:02 +08:00
goodrain
8e63c10a95 [FIX] print version newline 2018-01-18 10:55:42 +08:00
goodrain
b48f70c83a [FIX] remake udp server port 2018-01-18 10:41:29 +08:00
goodrain
8f17be6427 [FIX] resolve node cpu leak 2018-01-18 10:40:33 +08:00
goodrain
a71c8b0c7b [FIX] import cmd package for version 2018-01-17 22:21:54 +08:00
goodrain
37306dfefd [ADD] all module add version show 2018-01-17 22:16:01 +08:00
goodrain
5aef23e50f [FIX] handle nil bug when etcd config error 2018-01-11 11:33:25 +08:00
goodrain
1d19f75476 [FIX] Merge master code to handle conflicts.
Prepare to incorporate performance analysis capabilities into the trunk.
2018-01-10 18:49:17 +08:00
goodrain
ae8efecd54 [FIX] support receive new monitor message 2018-01-05 16:49:03 +08:00
Bay
5094aba6fe [REV] optimize node check api,fix master node get memory info can't get float value 2018-01-03 18:37:20 +08:00
Bay
1b5915818e [REV] optimize init status api 2018-01-03 10:49:04 +08:00
Bay
05e6787549 [REV] use shell script version 3.4.1 2018-01-03 09:48:28 +08:00
Bay
5603519308 [FIX] optimize master node details,optimize node system image 2017-12-29 17:08:22 +08:00
Bay
8f69543861 [REV] merge from local;add prometheus api,node init/install api and status query api 2017-12-29 14:06:42 +08:00
Bay
833cdc92d2 [FIX] fix grctl up command failed,caused by master nodestatus is not null 2017-12-27 12:36:15 +08:00
Bay
01b9bbef76 [REV] optimize node reg to hosts,and optimize collect system info for master 2017-12-27 12:24:05 +08:00
Bay
9545953ee5 [REV] optimize master node info collect 2017-12-26 14:58:42 +08:00
Bay
911f65bf90 [REV] Optimize master node resource collect 2017-12-26 10:04:53 +08:00
goodrain
7f8a51517e [FIX] Merge branches taskengin 2017-12-25 19:49:32 +08:00
goodrain
a84a8ef855 [ADD] add udp server in node 2017-12-21 17:42:11 +08:00
goodrain
45a8ce23f5 [FIX] fix mqcli build bug 2017-12-20 22:00:21 +08:00
goodrain
f2eba57d8c [FIX] add test init 2017-12-20 18:39:08 +08:00
goodrain
277cfb9aea [FIX] Scheduling test modification 2017-12-20 10:23:55 +08:00
goodrain
0a3f2747c2 [FIX] Complete the basic v2 task scheduling test 2017-12-19 18:46:49 +08:00
goodrain
42afa03e72 [FIX] Merge branch 'release-3.4' 2017-12-18 18:50:10 +08:00
goodrain
82bcc68b23 [FIX] webcli register hostip not use 127.0.0.1 2017-12-18 15:37:41 +08:00
goodrain
b665fa0237 [FIX] Unified service registry logic
resolve bug #11
2017-12-18 14:44:25 +08:00
bay1ts
a9153e7437 [REV] merge from code 2017-12-15 16:49:24 +08:00
bay1ts
a6953fd108 [FIX] remove builder service reg;change deploy api from start to upgrade;update build api;add try catch in chaos 2017-12-15 14:17:02 +08:00
goodrain
1aac0de5cd [ADD] add statsd exporter module to node 2017-12-14 18:30:52 +08:00
崔斌
e198c80ed9 [REV] Add discover env - DISCOVER_URL when creating plugin pods 2017-12-12 15:25:47 +08:00
goodrain
95f5e8aebe Merge branch 'release-3.4'
# Conflicts:
#	pkg/builder/api/router.go
#	pkg/grctl/cmd/init.go
#	pkg/grctl/cmd/installStatus.go
#	pkg/grctl/cmd/node.go
2017-12-12 11:36:57 +08:00
bay1ts
76cf3e527f [REV] optimize build api proxy in api 2017-12-12 10:07:25 +08:00
goodrain
3feb81fd73 [FIX] resolve webcli keepalive bug 2017-12-11 17:51:30 +08:00
goodrain
398d30f43d [FIX] resolve a bug that the web console cannot enter 2017-12-11 17:41:49 +08:00
崔斌
803f0e1aee [ADD]Add api-addr-ssl port 2017-12-07 11:14:02 +08:00
崔斌
b998160250 [ADD]Add user token Dispatcher and token verify 2017-12-03 19:11:16 +08:00
bay1ts
ecb056a345 [REV] optimize grctl -v flag 2017-12-01 12:03:19 +08:00
ysicing
39b9c8c2d2 [FIX] Modify webcli default port 7171 2017-11-29 14:04:30 +08:00
崔斌
d806546d1a [REV] Update builder dockerfile
[REV] Update plugin upstream model

[REV] Update swagger
2017-11-28 18:58:07 +08:00
goodrain
f6761613a9 [FIX] fix the bug 2017-11-28 17:45:43 +08:00
goodrain
7b71c0b859 [FIX] debug schedulerCache 2017-11-28 16:19:35 +08:00
bay1ts
523ef09097 [REV] when add node failed add condition to node ,optimize output 2017-11-28 15:35:29 +08:00
bay1ts
aff3aada01 [REV] change node server to localhost 2017-11-27 11:29:10 +08:00
bay1ts
71d10863b0 [REV] change node server to localhost 2017-11-27 11:12:44 +08:00
bay1ts
47f8129e0e [FIX] fix can't find version info when share in cloud.add event query interface 2017-11-24 11:21:51 +08:00
goodrain
2f911a33dd [FIX] Submit a Linux test 2017-11-23 17:22:48 +08:00
goodrain
6b0fb1bda3 [FIX] fix the bug 2017-11-23 17:05:44 +08:00
goodrain
4a56a092d4 [FIX] fix the bug 2017-11-23 17:03:11 +08:00
goodrain
f91acfc2cd Merge branch 'master' of code.goodrain.com:goodrain/rainbond 2017-11-23 16:35:08 +08:00
goodrain
6ec9ed953b [FIX] change vendor 2017-11-23 16:34:56 +08:00
bay1ts
fb352fa4cb [REV] Optimize output of command list 2017-11-23 16:13:45 +08:00
ysicing
be8a57dd79 [FIX] Modify the build image error 2017-11-22 15:08:35 +08:00
ysicing
493b989145 [REV] Change builder to chaos 2017-11-22 14:55:36 +08:00
bay1ts
b9750611de [ADD] add rainbond_node sdk,add cluster init and node install command 2017-11-22 11:40:14 +08:00
bay1ts
c12fc9404d [REV] optimize builder dao,update api 2017-11-22 11:35:19 +08:00
bay1ts
0430299cbd [REV] optimize builder API 2017-11-22 10:57:35 +08:00
goodrain
6f13e31ba7 [ADD] add webcli code 2017-11-20 18:12:53 +08:00
崔斌
8424c35c10 [ADD]Add discover which can be defined by users
User can use this function to add their own env-value, this value can become effective in runtime.
2017-11-19 18:59:41 +08:00
崔斌
9ed78faf46 [ADD]Net Rules function
[DEL] delete v1 api/interface

[REV] optimize structs of api router;update swagger json
2017-11-16 19:13:14 +08:00
bay1ts
fcf0a9ba3f [REV] add log 2017-11-16 18:13:28 +08:00
bay1ts
bd35788865 [REV] builder api optimize;add service discover to builder;import unify db to eventlog;remove unused event_id;add event entity ;create event in controller level;add event status update 2017-11-16 16:30:22 +08:00
goodrain
06a1f5ba25 [FIX] remove mgo package 2017-11-15 11:00:32 +08:00
崔斌
f8656be69b [DEL]删除node中的数据库相关操作 2017-11-14 19:02:27 +08:00
bay1ts
2193018790 Merge remote-tracking branch 'origin/master' 2017-11-14 18:55:05 +08:00
bay1ts
9a5351ea1a [REV] codecheck/dockerfile构建写入console改为存入数据中心。增加model定义,数据库存储/查询实现 2017-11-14 18:54:27 +08:00
崔斌
a6721eaf49 [REV]使用通过环境变量获取的tenant_id 2017-11-14 18:45:58 +08:00
goodrain
f8bf8a7df5 Merge branch 'master' of code.goodrain.com:goodrain/rainbond 2017-11-14 16:22:09 +08:00
goodrain
4d55e3f921 [FIX] 完成动态静态任务调度执行与结果处理 2017-11-14 16:21:59 +08:00
崔斌
7f45469337 [ADD]node增加数据库manager 2017-11-14 14:23:44 +08:00
崔斌
0e3f827e79 [REV]调整discover服务代码结构 2017-11-14 10:51:37 +08:00
goodrain
be5c59e876 Merge branch 'master' of code.goodrain.com:goodrain/rainbond 2017-11-13 21:54:19 +08:00
goodrain
021dc67971 [FIX] 完成静态task自动执行,自动参数解析。 2017-11-13 21:54:11 +08:00
崔斌
9c425ebbb4 [ADD] 增加server discover server发现服务api与功能实现 2017-11-13 18:37:34 +08:00
bay1ts
ffbb44f2e6 [ADD] 应用启停时增加可选实时输出日志功能 2017-11-13 15:33:34 +08:00
bay1ts
b309c3f7f1 [ADD] 添加log,exec,event相关命令 2017-11-10 17:18:57 +08:00
bay1ts
34715b1837 Merge remote-tracking branch 'origin/master' 2017-11-10 11:57:20 +08:00
bay1ts
1807132e20 [REV] 添加协议头 2017-11-10 11:53:05 +08:00
bay1ts
4c37324f3b [ADD] 添加租户应用信息及租户使用资源信息功能 2017-11-10 10:48:00 +08:00
bay1ts
506fb0fa09 [ADD] 添加grctl基础结构,提供regionAPI 封装接口及实现,大致实现批量关闭租户应用功能 2017-11-09 17:56:12 +08:00
goodrain
11b23d52aa [FIX] 完成集群节点的管理 2017-11-09 17:32:02 +08:00
goodrain
5c0e356d54 [FIX] 数据中心配置更改完成。 2017-11-08 21:39:51 +08:00
goodrain
449e7b219d [ADD] 增加节点任务执行结果回写etcd.交由master节点进行处理 2017-11-08 12:09:47 +08:00
goodrain
d3fd2242e6 Merge branch 'master' of code.goodrain.com:goodrain/rainbond 2017-11-08 10:23:14 +08:00
goodrain
633260de96 [FIX] 重新调整代码,node支持循环任务,定时任务。 2017-11-08 10:23:05 +08:00
崔斌
cf77fe8f52 [ADD]Add 插件构建过程必要的default 配置与配置设定接口及模型 2017-11-07 19:11:49 +08:00
goodrain
e917d545d0 [ADD] init commit 2017-11-07 11:40:44 +08:00