Commit Graph

438 Commits

Author SHA1 Message Date
barnett
eae5a9611a [REV] select node by rainbond_node_ip label in local volume provisioner 2018-12-01 13:37:49 +08:00
barnett
96be054fe3 [ADD] add support local volume code 2018-11-30 22:20:48 +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
GLYASAI
993efefb0d [ADD] add TenantServiceRegist which conv inner and outer service regist 2018-11-18 11:53:11 +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
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
zhoujunhao
ffe36c5010 [REV] Determine whether a node exists when deleting a node 2018-11-06 10:36:24 +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
5b6ad21fb7 [REV] Merge service status when getting cluster information 2018-11-05 15:03:14 +08:00
zhoujunhao
d6dafdb1bf [DEL] Remove redundant log output 2018-11-05 14:56:07 +08:00
zhoujunhao
1cf5800e2a [ADD] Verify that kubelet displays exception information when an error occurs 2018-11-05 14:51:48 +08:00
zhoujunhao
2447afc439 [REV] Merging k8s three service states into kubelet when getting node details 2018-11-05 14:47:45 +08:00
zhoujunhao
b316bb0055 [REV] 2018-11-05 14:36:38 +08:00
zhoujunhao
3fd1014ffb [ADD] add debug log output 2018-11-05 14:29:42 +08:00
zhoujunhao
3be3b59b65 [REV] 2018-11-02 18:00:14 +08:00
zhoujunhao
6fe3d7ecb0 [REV] Optimize the method of deleting three k8s indicators 2018-11-02 17:55:08 +08:00
zhoujunhao
7caa072fd2 [REV] rev merging three k8s metrics into kubelet 2018-11-02 17:48:22 +08:00
zhoujunhao
9ab21c3123 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-11-02 17:36:13 +08:00
zhoujunhao
a124016df0 [ADD] Merging three k8s metrics into kubelet 2018-11-02 17:36:06 +08:00
ysicing zheng
7d989be763 [FMT] support default uuid install 2018-11-02 14:20:09 +08:00
zhoujunhao
1f25c7c216 [FIX] fix delete node bug 2018-11-01 17:05:50 +08:00
barnett
c03bda3881 [REV] change client-go version to release-7.0 2018-11-01 08:42:51 +08:00
zhoujunhao
309c8b984b [REV] Optimize grctl node status display 2018-10-31 18:35:44 +08:00
zhoujunhao
454452d8a1 [REV] 2018-10-31 17:32:39 +08:00
zhoujunhao
88ab367cb6 [FIX] Fix status display issues 2018-10-31 17:23:33 +08:00
zhoujunhao
fcba04ca47 [REV] Optimize installation status display 2018-10-31 16:50:48 +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
02cff8fa0c [REV] Nodes are not set to be unhealthy when they go offline 2018-10-30 19:42:12 +08:00
zhoujunhao
935cb338f8 [FIX] Fix bug with null pointer 2018-10-30 15:59:25 +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
zhoujunhao
58ef012d23 [FIX] Modify the method to get the GET request parameters 2018-10-29 20:31:53 +08:00
zhoujunhao
eda0b61fcd [REV] 2018-10-29 20:15:42 +08:00
zhoujunhao
54a7ddf080 [ADD] Add node fuzzy search 2018-10-29 19:50:44 +08:00
zhoujunhao
082702deac Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-24 18:46:05 +08:00
zhoujunhao
36da7740cb [ADD] add all node health summary 2018-10-24 18:35:54 +08:00
barnettZQG
c221724bc6 Merge branch 'V3.7' 2018-10-24 10:20:33 +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
4411f6e1aa Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-10 18:18:36 +08:00
barnettZQG
c5d705f7ad [REV] change node api log, only debug mode will print request log 2018-10-10 18:06:57 +08:00
zhoujunhao
c925af872b Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-10 14:57:29 +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
fead23583a Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-10 11:36:00 +08:00
zhoujunhao
600947562a [REV] Define the protocol in the configuration file 2018-10-10 11:35:40 +08:00
zhoujunhao
4efa1529a4 Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-09 23:44:01 +08:00
zhoujunhao
81ab41826e [FIX] Modify the health check return code to judge 2018-10-09 23:43:13 +08:00
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