Commit Graph

371 Commits

Author SHA1 Message Date
barnettZQG
1dc22cc25c [REV] merge branch 3.7 to master 2018-10-08 12:25:05 +08:00
zhoujunhao
b1e204f6d4 [FIX] Lock and lock the map 2018-09-27 12:19:27 +08:00
zhoujunhao
ad9683b6ee [REV] Tips when adding unhealthy 2018-09-20 17:25:48 +08:00
zhoujunhao
65e29e5983 [FIX] fix bug 2018-09-20 14:18:35 +08:00
barnettZQG
e20d509a25 Merge branch 'V3.7' 2018-09-19 18:52:10 +08:00
zhoujunhao
9cc452e465 [FIX] Synchronize the Ready state of the k8s node 2018-09-17 16:04:11 +08:00
zhoujunhao
39b9673d6a [FIX] Fix the problem that the node k8s state is out of sync with the current state(fixed #118) 2018-09-17 11:55:46 +08:00
zhoujunhao
83bf5c3f5e [FIX] There is only one node, the node is not set to unschedulable (fixed #112) 2018-09-14 15:23:16 +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
barnettZQG
6d02da1eaa [REV] support set zeus https listenner port 2018-09-07 16:38:17 +08:00
barnettZQG
17a9475abf [REV] update node code for nil bug 2018-09-06 01:13:21 +08:00
barnettZQG
57fe44460b [REV] merge branch V3.7 to master 2018-09-02 23:17:56 +08:00
zhoujunhao
2d3ec0c390 [ADD] add apply exception event query 2018-08-31 15:24:25 +08:00
zhoujunhao
304f2f7abc [FMT] 2018-08-29 17:20:37 +08:00
zhoujunhao
b44f9ebd6e [ADD] 2018-08-29 17:14:37 +08:00
zhoujunhao
9acde33a92 Merge branch 'V3.7' of https://github.com/goodrain/rainbond
# Conflicts:
#	node/core/service/node_service.go
2018-08-27 12:51:54 +08:00
zhoujunhao
615f7bfac4 [ADD] add installation log download 2018-08-27 12:28:36 +08:00
zhoujunhao
e0f7976c4b [REV] Adjust node installation status query 2018-08-24 18:24:38 +08:00
zhoujunhao
ee2afcc226 [REV] 2018-08-24 18:04:09 +08:00
zhoujunhao
b4d476c4ed [REV] Optimize node installation node to remove api 2018-08-24 17:16:20 +08:00
zhoujunhao
c874a5b992 [REV] 2018-08-24 17:01:18 +08:00
zhoujunhao
911abf74d7 [REV] Add debug output 2018-08-24 16:31:38 +08:00
zhoujunhao
a5903543ba [FIX] 2018-08-24 16:21:36 +08:00
zhoujunhao
59c7a7ccd7 [FIX] fix bug 2018-08-24 16:12:08 +08:00
zhoujunhao
4a082735f8 [REV] 2018-08-24 15:56:30 +08:00
zhoujunhao
c1dbb18899 [REV] 2018-08-24 15:22:32 +08:00
zhoujunhao
d5e3a07393 [FIX] Delete cache when deleting a node 2018-08-24 15:08:43 +08:00
zhoujunhao
dd3c96d82a [FIX] Delete a node in the cache when deleting a node 2018-08-24 14:43:38 +08:00
zhoujunhao
a9c3cd922c [ADD] add debug print 2018-08-24 12:44:03 +08:00
zhoujunhao
576a45c83c [REV] Return detailed error output 2018-08-24 12:32:04 +08:00
zhoujunhao
9e03b2b10e [REV] 2018-08-23 19:25:15 +08:00
zhoujunhao
f4c5d46dc9 [REV] Modify the installation node api 2018-08-23 17:42:17 +08:00
zhoujunhao
56adf09ca2 Merge branch 'V3.7' of https://github.com/goodrain/rainbond
# Conflicts:
#	api/region/node.go
#	grctl/cmd/node.go
#	node/api/model/model.go
#	node/nodem/client/node.go
2018-08-23 10:36:28 +08:00
zhoujunhao
6063bdbabf [FIX] fix bug 2018-08-23 10:30:12 +08:00
zhoujunhao
f44ef3ca5a [REV] Add node resource statistics in grctl 2018-08-22 19:16:54 +08:00
zhoujunhao
a5d5ea09d5 [REV] Method for optimizing node resource calculation 2018-08-22 18:18:14 +08:00
zhoujunhao
cc009f28fa [FIX] fix bug 2018-08-22 17:24:13 +08:00
zhoujunhao
c7da6975dc [REV] Replace node resource query api 2018-08-22 16:45:25 +08:00
zhoujunhao
7495caa285 [FIX] 2018-08-22 16:11:07 +08:00
zhoujunhao
bff2e520e7 [ADD] add display node resources in grctl 2018-08-22 16:06:28 +08:00
zhoujunhao
5c88773b21 [ADD] add display node resources in grctl 2018-08-22 16:00:53 +08:00
Zhang Jiajun
928fa56053 [REV] Fix cannot make unscheduable node issue. 2018-08-15 15:59:39 +08:00
barnettZQG
8661fd2e75 [REV] merge branch v3.7 2018-08-15 10:15:31 +08:00
zhoujunhao
dace6adc33 [REV] Optimize the ability to view application exception events in grctl 2018-08-08 12:18:48 +08:00
Zhang Jiajun
03a9bf78bd [REV] Fix node can not automatic online. 2018-08-07 20:02:59 +08:00
zhoujunhao
9100046962 [FIX] fix bug 2018-08-07 19:56:25 +08:00
Zhang Jiajun
12f25a89fb [REV] Fix node can not automatic online. 2018-08-07 15:52:12 +08:00
zhoujunhao
0e4a0e5d0a [FIX] fix bug 2018-08-07 15:17:06 +08:00
Zhang Jiajun
865956ce8e [REV] Fix node can not automatic online. 2018-08-07 15:15:43 +08:00
zhoujunhao
b52bd9f55d [ADD] add grctl show notification event 2018-08-07 14:28:15 +08:00
barnettZQG
84f6c5be21 [ADD] merge branch v3.7 2018-08-07 09:40:41 +08:00
Zhang Jiajun
04d22d82f6 [REV] Fix can not down compute issue. 2018-08-06 12:07:13 +08:00
Zhang Jiajun
91aaacb537 [REV] Fix can not down compute issue. 2018-08-06 11:49:12 +08:00
zhoujunhao
92f63ef1cf [FMT] Format the evaluate module code 2018-08-06 11:47:08 +08:00
zhoujunhao
8e0ede6a35 [FIX] fix bug 2018-08-06 11:20:41 +08:00
zhoujunhao
223d31f818 [ADD] add find bug print 2018-08-06 11:10:15 +08:00
zhoujunhao
b17fcaae1a [ADD] Add print K8s node information 2018-08-06 10:54:38 +08:00
zhoujunhao
e6cdfdd4f2 [REV] Optimized state display 2018-08-06 10:41:32 +08:00
zhoujunhao
9c70e49e2d [REV] Optimize grctl display and node status 2018-08-05 01:06:34 +08:00
Zhang Jiajun
ad4fc4945c [REV] Support automatic find sysetmctl client in os path. 2018-08-03 17:45:19 +08:00
zhoujunhao
ccefb52e77 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-08-03 10:05:18 +08:00
zhoujunhao
ebcf9cac9f [FIX] Delete the cache after closing the pipe 2018-08-03 10:05:08 +08:00
Zhang Jiajun
fb26451f0c [REV] When manage node is less one, can not execute offline operation. 2018-08-03 09:31:55 +08:00
Zhang Jiajun
b120bac241 [REV] Optimize node disable scheduling logic. 2018-08-02 23:19:10 +08:00
zhoujunhao
5325f8eac5 [ADD] add Get alarm rules and modify status display styles in grctl 2018-08-01 12:29:06 +08:00
Zhang Jiajun
f65fc72672 [REV] Optimize time interval for check node status. 2018-07-31 16:18:44 +08:00
Zhang Jiajun
41c89a4360 [REV] Optimize log output for node master. 2018-07-31 14:57:02 +08:00
zhoujunhao
b9d8e4d24f [FIX] Fix null pointer error 2018-07-31 14:50:46 +08:00
zhoujunhao
431b895a33 [FIX] fix bug 2018-07-31 14:45:30 +08:00
zhoujunhao
178fff7590 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-31 14:39:48 +08:00
zhoujunhao
46442d2ebf [FIX] fix node status bug 2018-07-31 14:39:40 +08:00
Zhang Jiajun
55e2850f9d [REV] Add check node status and automatic disableSchedul. 2018-07-31 14:38:34 +08:00
zhoujunhao
f4afdde88f [FIX] fix node status bug 2018-07-31 14:26:47 +08:00
zhoujunhao
613ccf5d60 [REV] Optimize the state of the node 2018-07-30 19:56:51 +08:00
zhoujunhao
f67d40138f Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-30 17:41:53 +08:00
zhoujunhao
4129b43221 [FIX] Fix node status judgment bug 2018-07-30 17:41:37 +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
zhoujunhao
1a983ff258 [FIX] fix bug 2018-07-28 02:01: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
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
zhoujunhao
c836e57fed Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-26 17:06:06 +08:00
zhoujunhao
06158c4c7d [ADD] add builder service monitor 2018-07-26 17:05:50 +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
32461aa924 Optimize online offline logic and add rest api of node healthy. 2018-07-26 14:28:51 +08:00
Zhang Jiajun
fb18f8b066 [REV] Optimize online and offline logic by command. 2018-07-26 14:28:46 +08:00
zhoujunhao
40b74f974b [ADD] add service health status api 2018-07-26 14:17:54 +08:00
zhoujunhao
f4e983f4ba [FMT] Add locks to modify data operations, increase log printing 2018-07-26 11:10:39 +08:00
zhoujunhao
9ec3c9d206 [FMT] Optimize node state judgment 2018-07-25 19:07:08 +08:00
zhoujunhao
6e05cb74b1 [FIX] fix bug 2018-07-25 18:39:27 +08:00
zhoujunhao
0aa91a64df [FIX] fix bug 2018-07-25 18:08:17 +08:00
zhoujunhao
b649baa416 [FIX] fix bug 2018-07-25 18:06:40 +08:00
zhoujunhao
05502740ef [FIX] fix bug 2018-07-25 17:35:53 +08:00
zhoujunhao
793509eb44 [FIX] fix bug 2018-07-25 17:33:01 +08:00
zhoujunhao
5c0649bfdc Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7
# Conflicts:
#	node/masterserver/node/cluster.go
2018-07-25 17:04:01 +08:00
zhoujunhao
5433d75593 [ADD] add node status 2018-07-25 17:00:17 +08:00
Zhang Jiajun
937c3b9973 [REV] Fix import error. 2018-07-25 16:57:48 +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
b50ea7265c [ADD] Define constant 2018-07-25 16:25:15 +08:00
zhoujunhao
0388635b63 [FMT] Delete extra print operations 2018-07-25 15:56:59 +08:00
zhoujunhao
72ddcb3e6a [FIX] fix bug 2018-07-25 15:20:58 +08:00
zhoujunhao
a71990c3af [ADD] Add debug output 2018-07-25 14:05:25 +08:00
zhoujunhao
e7d15d333f Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-25 12:36:19 +08:00
zhoujunhao
612c72da4b [REV] remove lock 2018-07-25 12:36:10 +08:00
Zhang Jiajun
07483bc7a0 [REV] Add online and offline node by command. 2018-07-25 12:35:37 +08:00
zhoujunhao
3bdc9c36fc [FIX] fix bug 2018-07-25 12:25:06 +08:00
zhoujunhao
b8f2c851fb [REV] Optimize the lock problem 2018-07-25 12:15:58 +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
35b2d72595 [REV] update management node status judgment 2018-07-24 17:41:46 +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
barnettZQG
73c0e678d2 [FIX] fix envoy sds discover bug(port not consistent) 2018-07-18 13:56:28 +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
f130f9c9c4 [REV] update grctl code,add show tenant resource command 2018-07-16 15:30:53 +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
dfee3abf01 [REV] merge master branch 2018-07-13 10:35:03 +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
barnettZQG
eb735a7ff4 Merge branch 'V3.6' 2018-07-10 17:07:59 +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
121f9eee43 [REV] merge branch v3.6 2018-07-03 19:01:25 +08:00
barnettZQG
f091fdd461 [REV] update req kubeapi QPS to 100 2018-07-03 18:06:50 +08:00
zhoujunhao
a3ac641b06 Merge branch 'master-dev' of https://github.com/goodrain/rainbond 2018-07-03 10:54:22 +08:00
barnettZQG
b9986749fa [FIX] fix 80 port conflict bug in envoy listener 2018-06-29 21:58:25 +08:00
zhoujunhao
6bd2a9571e no message 2018-06-27 16:01:44 +08:00
zhoujunhao
895e1ebf8f [FIX] fix bug 2018-06-27 15:58:59 +08:00
zhoujunhao
04754b76b7 [FIX] fix bug 2018-06-27 15:44:04 +08:00
zhoujunhao
6f1327124d [FIX] fix resource calculation bug 2018-06-27 14:07:51 +08:00
zhoujunhao
1f5d208dcc [ADD] fix bug 2018-06-27 13:12:04 +08:00
zhoujunhao
9a195ab946 [ADD] add pod status 2018-06-26 14:11:25 +08:00
zhoujunhao
64543d4c41 [ADD] add disk usage information 2018-06-22 16:04:30 +08:00