Commit Graph

238 Commits

Author SHA1 Message Date
barnett
faadcb752f [FIX] fix do not start service in windows bug 2018-12-04 19:31:25 +08:00
barnett
17644f8346 [ADD] add some windows log 2018-12-04 18:52:36 +08:00
barnett
e7737fba8f [REV] changer service daemon in node module 2018-12-04 18:28:11 +08:00
barnett
dd5a56bfde [FIX] fix etcd client is nil bug 2018-12-04 17:13:47 +08:00
barnett
efcbefce1e [FIX] fix etcd client is nil bug 2018-12-04 16:16:06 +08:00
barnett
fa82a64bb6 [ADD] kube node add os labels 2018-12-04 16:06:06 +08:00
barnett
579236269d [REV] support lable selector and affinity 2018-12-04 15:58:08 +08:00
GLYASAI
57860e7721 [FIX] fix bug: nil pointer 2018-12-04 10:02:42 +08:00
barnett
77cd220133 [ADD] add windows service manager code 2018-12-03 18:10:40 +08:00
barnett
8644b1915d [FIX] change write system config code 2018-12-01 22:28:26 +08:00
barnett
2fbf46959a [ADD] support parse NODE_UUID parameter 2018-12-01 22:07:14 +08:00
barnett
3e71ef7c50 [ADD] node module support windows build 2018-12-01 16:05:52 +08:00
barnett
7173277023 [FIX] fix stop service and update service config don't take effect bug 2018-11-26 22:49:40 +08:00
barnett
e86fd8270b [REV] change yal package 2018-11-26 19:50:35 +08:00
barnett
d791b583b2 [FIX] fix service config update invalid bug 2018-11-26 19:16:41 +08:00
barnett
6c24c3344a [ADD] add update config command in node module 2018-11-23 18:44:32 +08:00
barnett
33587a1a2f [ADD] support multiple daemon component service profiles 2018-11-23 16:19:35 +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
3ec61887fc [ADD] add set container logger is streamlog code 2018-11-21 09:31:35 +08:00
barnett
460ada211c [FIX] fix node ready status do not change bug 2018-11-20 18:46:36 +08:00
barnett
39f22c1163 [REV] update node status 2018-11-20 18:13:46 +08:00
barnett
9c57b5f14c [REV] update node status check method 2018-11-20 17:40:43 +08:00
barnett
7fd028c6ec [REV] merge branch V3.7 to master 2018-11-13 10:47:14 +08:00
barnett
531b114b1e [FIX] fix concurrent map read and map write bug ( fixed #159) 2018-11-12 19:04:50 +08:00
barnett
11377d5700 [REV] update grctl node list show 2018-11-09 17:00:05 +08:00
barnett
bf186dc5ce [REV] only support getlog for container that logger driver is json-file 2018-11-09 15:58:51 +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
barnett
4c4ac25fe5 [REV] update docker cli to new version 2018-11-05 20:34:24 +08:00
zhoujunhao
8447e22c51 [FIX] fix add node bug 2018-11-05 16:46:17 +08:00
zhoujunhao
d6dafdb1bf [DEL] Remove redundant log output 2018-11-05 14:56:07 +08:00
zhoujunhao
3fd1014ffb [ADD] add debug log output 2018-11-05 14:29:42 +08:00
barnett
c03bda3881 [REV] change client-go version to release-7.0 2018-11-01 08:42:51 +08:00
zhoujunhao
a090943f0b [REV] Optimize node status display 2018-10-31 16:37:03 +08:00
zhoujunhao
b890ded0c7 [ADD] add node install 2018-10-31 15:38:36 +08:00
zhoujunhao
e96fff5635 [FIX] 2018-10-30 15:02:31 +08:00
zhoujunhao
3aabca355b [REV] Node status list does not return details 2018-10-30 14:29:50 +08:00
barnettZQG
6d225dc897 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-10-18 12:19:13 +08:00
barnettZQG
364dc510bf [FIX] fix code server type read failure bug 2018-10-18 12:19:06 +08:00
zhoujunhao
0b144b94ff [ADD] Add cpu number information 2018-10-17 18:22:24 +08:00
zhoujunhao
2f65f80d1f [FIX] Fix the problem of inaccurate host memory 2018-10-17 17:33:52 +08:00
zhoujunhao
e1d03ad65a [FIX] Fix the problem of inaccurate host memory 2018-10-17 17:25:14 +08:00
zhoujunhao
a7640d5562 [REV] Add a default protocol if the parameter does not contain a protocol 2018-10-10 14:56:30 +08:00
zhoujunhao
600947562a [REV] Define the protocol in the configuration file 2018-10-10 11:35:40 +08:00
zhoujunhao
81ab41826e [FIX] Modify the health check return code to judge 2018-10-09 23:43:13 +08:00
zhoujunhao
b1e204f6d4 [FIX] Lock and lock the map 2018-09-27 12:19:27 +08:00
zhoujunhao
9cc452e465 [FIX] Synchronize the Ready state of the k8s node 2018-09-17 16:04:11 +08:00
zhoujunhao
b9ab76a26d [REV] Optimize judgment service as an unhealthy mechanism 2018-09-14 11:49:52 +08:00
zhoujunhao
c31d116323 [FIX] fix bug 2018-09-13 19:10:01 +08:00
zhoujunhao
883e5cc8e9 [REV] Optimize health check, repair service status display color 2018-09-13 18:57:02 +08:00
Zhang Jiajun
aef25533e4 [REV] Optimeze auto inject config for parse services. 2018-09-11 17:07:52 +08:00
Zhang Jiajun
69c6251ed8 [REV] Setup online when node start. 2018-09-11 16:48:46 +08:00
Zhang Jiajun
14a4afb020 [REV] Optimeze auto inject config for parse services. 2018-09-11 15:20:29 +08:00
Zhang Jiajun
4d10c27053 [REV] Add change tag logic for import application. 2018-09-10 17:04:21 +08:00
zhoujunhao
d5e3a07393 [FIX] Delete cache when deleting a node 2018-08-24 15:08:43 +08:00
zhoujunhao
f4c5d46dc9 [REV] Modify the installation node api 2018-08-23 17:42:17 +08:00
zhoujunhao
f44ef3ca5a [REV] Add node resource statistics in grctl 2018-08-22 19:16:54 +08:00
zhoujunhao
bff2e520e7 [ADD] add display node resources in grctl 2018-08-22 16:06:28 +08:00
Zhang Jiajun
03a9bf78bd [REV] Fix node can not automatic online. 2018-08-07 20:02:59 +08:00
Zhang Jiajun
ad4fc4945c [REV] Support automatic find sysetmctl client in os path. 2018-08-03 17:45:19 +08:00
zhoujunhao
ebcf9cac9f [FIX] Delete the cache after closing the pipe 2018-08-03 10:05:08 +08:00
Zhang Jiajun
cd92d978cf [REV] Optimize service start check. 2018-07-30 17:29:50 +08:00
zhoujunhao
1debccb5c8 [FIX] fix health check Judge logic error 2018-07-30 17:20:55 +08:00
Zhang Jiajun
f87d433ffe [REV] Add option for node controller. 2018-07-27 18:52:09 +08:00
Zhang Jiajun
39feeb97d3 [REV] Optimize service start check. 2018-07-27 18:12:52 +08:00
Zhang Jiajun
b47f24b63c [REV] Optimize node start logic. 2018-07-27 17:41:21 +08:00
Zhang Jiajun
294dc9fce5 [REV] Optimize log output for node controller. 2018-07-27 16:44:20 +08:00
Zhang Jiajun
2d68aafc0c [REV] Optimize log output for node controller. 2018-07-27 16:38:48 +08:00
Zhang Jiajun
085311033a [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 16:16:23 +08:00
Zhang Jiajun
2889772611 [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 15:59:12 +08:00
Zhang Jiajun
1701c19e4c [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 15:51:04 +08:00
Zhang Jiajun
0a123d2657 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-27 15:22:42 +08:00
Zhang Jiajun
4a37e55f37 [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 15:22:39 +08:00
zhoujunhao
8fd3fea4bf [ADD] Add enable stop acquisition status 2018-07-27 14:59:12 +08:00
zhoujunhao
b3211e87a2 [FMT] Optimized structure catalog 2018-07-27 12:55:18 +08:00
Zhang Jiajun
5747755164 [ADD] Add sub command grctl conf gen <file>. 2018-07-27 10:05:25 +08:00
Zhang Jiajun
84e62db52e [REV] When service status is death then start it. 2018-07-26 19:12:48 +08:00
Zhang Jiajun
5476b1698c [REV] When service status is death then start it. 2018-07-26 19:00:29 +08:00
Zhang Jiajun
51c02cf6db [REV] When service status is death then start it. 2018-07-26 18:36:29 +08:00
Zhang Jiajun
fa374310bd [REV] When service status is death then start it. 2018-07-26 15:54:30 +08:00
Zhang Jiajun
0a602a481f [REV] When service status is death then start it. 2018-07-26 14:48:03 +08:00
Zhang Jiajun
fb18f8b066 [REV] Optimize online and offline logic by command. 2018-07-26 14:28:46 +08:00
zhoujunhao
f4e983f4ba [FMT] Add locks to modify data operations, increase log printing 2018-07-26 11:10:39 +08:00
Zhang Jiajun
a58ef58841 [REV] Add sync node status logic in node controller. 2018-07-25 16:42:29 +08:00
Zhang Jiajun
195ca60633 [REV] Add online and offline node by command. 2018-07-25 16:31:43 +08:00
zhoujunhao
a71990c3af [ADD] Add debug output 2018-07-25 14:05:25 +08:00
Zhang Jiajun
07483bc7a0 [REV] Add online and offline node by command. 2018-07-25 12:35:37 +08:00
zhoujunhao
26bb7177ea [FIX] fix bug 2018-07-25 10:49:28 +08:00
zhoujunhao
51aea582d8 [FIX] fix bug 2018-07-24 18:24:00 +08:00
zhoujunhao
ded8c2b3f0 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-24 17:10:58 +08:00
zhoujunhao
54e3712df2 [FIX] fix bug 2018-07-24 17:10:48 +08:00
Zhang Jiajun
6a87332dff [REV] Add watcher for add service for node controller. 2018-07-24 16:33:38 +08:00
zhoujunhao
f9c1db3970 [ADD] add node status judgment 2018-07-24 16:09:51 +08:00
zhoujunhao
d384bd685b Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7
# Conflicts:
#	node/nodem/node_manager.go
2018-07-23 19:02:00 +08:00
zhoujunhao
d4e715dc7b [REV] Optimized implementation 2018-07-23 18:57:34 +08:00
barnettZQG
e1290ac562 [REV] merge code 2018-07-23 17:39:56 +08:00
barnettZQG
6fb246f6e3 [ADD] add svn support (#85) 2018-07-23 17:39:01 +08:00
zhoujunhao
8350807392 [FIX] fix bug 2018-07-23 16:39:15 +08:00
zhoujunhao
1b6521f1a0 [FIX] fix bug 2018-07-23 16:30:33 +08:00
zhoujunhao
4ea17ff1e6 [ADD] add node status update 2018-07-23 16:25:59 +08:00
Zhang Jiajun
e8d2081059 [REV] Optimize all service start sequence. 2018-07-20 18:56:07 +08:00
zhoujunhao
4c28f068e0 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-20 18:01:32 +08:00
zhoujunhao
4237c1be93 [ADD] add shell prober 2018-07-20 18:01:24 +08:00
Zhang Jiajun
1bb9d2ebc4 [ADD] Support automatic inject dependence parameters when node start service. 2018-07-20 16:00:37 +08:00
Zhang Jiajun
e9b3090fa1 [REV] Optimize service dependence process logic. 2018-07-20 13:19:01 +08:00
zhoujunhao
c34dbb8efd Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-20 12:38:09 +08:00
zhoujunhao
fb90bc719f [ADD] add tcp prober 2018-07-20 12:37:52 +08:00
Zhang Jiajun
8ed4c13b29 [REV] Optimize service restart policy when status is non healthy. 2018-07-20 12:08:59 +08:00
zhoujunhao
6f449e08b6 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-20 12:06:20 +08:00
zhoujunhao
ab0b2ab284 [ADD] add tcp peobe 2018-07-20 12:06:05 +08:00
Zhang Jiajun
ee8c54fe46 [ADD] Add synchronize service logic in node controller module. 2018-07-20 11:13:03 +08:00
Zhang Jiajun
29b0ca7fc5 [ADD] Add synchronize service logic in node controller module. 2018-07-20 10:38:07 +08:00
zhoujunhao
d31f878dd1 [FIX] fix bug 2018-07-20 10:23:35 +08:00
zhoujunhao
46722d7b93 [REV] Optimize the node component health check module 2018-07-20 00:33:54 +08:00
zhoujunhao
d97bf95e42 [ADD] add node service health check 2018-07-19 17:40:17 +08:00
zhoujunhao
deb1113a20 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-19 10:18:52 +08:00
zhoujunhao
57e4927468 [REV] Use status to identify service health status 2018-07-19 10:18:35 +08:00
Zhang Jiajun
b0a73b54dd [REV] Support specify muilti endpoint in service. 2018-07-18 21:17:30 +08:00
Zhang Jiajun
e8e3f836c6 [REV] Support specify muilti endpoint in service. 2018-07-18 20:37:22 +08:00
Zhang Jiajun
e4b4c92466 [REV] Add registry service endpoint logic after start controller. 2018-07-18 19:00:19 +08:00
Zhang Jiajun
1cba448d72 [REV] Add registry service endpoint logic after start controller. 2018-07-18 18:45:30 +08:00
Zhang Jiajun
8f7cfd896d [REV] Add registry service endpoint logic after start controller. 2018-07-18 18:34:56 +08:00
zhoujunhao
9b55338db1 [ADD] add node service health check test code 2018-07-18 15:39:12 +08:00
zhoujunhao
9e715e9597 [FMT] Format the node module code 2018-07-18 15:13:21 +08:00
Zhang Jiajun
85aedd858a [REV] Optimize generate systemd config logic. 2018-07-17 23:21:32 +08:00
zhoujunhao
e3bba633d0 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-17 19:41:00 +08:00
zhoujunhao
351916e9ff [ADD] add node health check 2018-07-17 19:40:49 +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
9a5bd730d8 [FIX] fix get node system info bug 2018-07-16 12:16:16 +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
4746eaa28d [REV] update nodem start code 2018-07-13 10:30:06 +08:00
barnettZQG
6dc588012d [REV] change node code architecture 2018-07-13 10:11:10 +08:00