Commit Graph

450 Commits

Author SHA1 Message Date
黄润豪
5ce8b28c73
Merge branch 'master' into master 2019-03-09 22:08:45 +08:00
huangrh
65c8c8c861 [ADD] probe for third-party service 2019-03-09 21:54:17 +08:00
barnett
b6eed75a65 [ADD] add batch operation api 2019-03-08 19:22:22 +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
huangrh
e9078cd7c1 [ADD] string type ServiceKind 2019-03-06 15:27:28 +08:00
huangrh
5c6a2cda3c [ADD] api for updating config-file 2019-03-06 14:06:42 +08:00
barnett
ea54454080 [REV] merge branch V5.0 to master 2019-03-06 09:33:33 +08:00
huangrh
956a40561b [ADD] healthy check for third-party services 2019-03-05 22:22:02 +08:00
barnett
edfdf3338d [REV] only set startup_sequence=true Identify sequential start control 2019-03-05 15:43:52 +08:00
barnett
81c7f10ca8 [FIX] fix memory statistics bug 2019-03-05 15:13:09 +08:00
barnett
a49d3a6894 [REV] change pv volume save path and fix backup bug 2019-03-05 15:00:39 +08:00
barnett
dd80dd0515 [REV] add tenant name in pod templete labels 2019-03-04 21:16:11 +08:00
barnett
3535d10d25 [REV] config file support write permissions 2019-03-04 16:45:45 +08:00
barnett
6ebaee2bb4 [FIX] fix code failure 2019-03-04 15:53:01 +08:00
barnett
060d6d00d6 [FIX] fix dns "Have not found myself in list yet." bug 2019-03-04 15:40:08 +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
a6ab006f46 [FIX] fix worker build bug 2019-03-01 14:51:12 +08:00
barnett
fd64eca5ff [FIX] fix configfile cannot be read or written bug 2019-03-01 14:27:03 +08:00
huangrh
0b0be32528 [ADD] create corev1.Endpoints for third-party services 2019-02-28 23:10:49 +08:00
barnett
4a40fbb9cc [FIX] fix upgrade service bug 2019-02-28 16:44:16 +08:00
barnett
de1ffe72a7 [REV] chaneg default init probe image name 2019-02-28 14:54:42 +08:00
barnett
22e733a408 [ADD] add init-probe component 2019-02-28 14:52:39 +08:00
barnett
438f74fe21 [ADD] tcp mesh proxy use envoy 2019-02-25 20:04:48 +08:00
barnett
221adc8047 [ADD] envoy v2 grpc api server test code 2019-02-25 15:30:21 +08:00
barnett
2c2ac1e2db [FIX] fix plugin config apply bug 2019-02-15 18:46:11 +08:00
barnett
23702ef013 [ADD] change plugin config persistence from etcd to mysql 2019-02-15 17:20:08 +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
f75512f990 [FIX] fix cpu unit error bug 2019-01-28 17:13:38 +08:00
barnett
75438e6c05 [REV] Optimize tenant resource statistics and resource constraints 2019-01-28 16:00:51 +08:00
barnett
b18cff71de [FIX] fix es parameters do not take effect bug 2019-01-27 11:31:54 +08:00
barnett
69dda368e9 [FIX] fix app status not sync bug and add cpu set es 2019-01-25 21:11:03 +08:00
GLYASAI
730d96211b [FIX] deploment has no configmap while updating 2019-01-11 13:41:50 +08:00
GLYASAI
2a4f7c3816 [FIX] wrong number of running apps 2019-01-11 11:55:04 +08:00
GLYASAI
6480a7b693 [REV] only share configmap volume template 2019-01-09 19:14:55 +08:00
GLYASAI
62bb1d6ed4 [FIX] configmap not found 2019-01-08 17:26:59 +08:00
GLYASAI
5c8a72f292 [FIX] configmaps not found 2019-01-08 17:19:37 +08:00
GLYASAI
ad1c9a5da6 [ADD] make config file shareable 2019-01-08 15:41:55 +08:00
GLYASAI
5b52d1c692 [FIX] invalid configmap name 2019-01-08 13:55:45 +08:00
GLYASAI
345308eb2c [DEL] remove path.Dir 2019-01-08 13:50:17 +08:00
GLYASAI
cf07230f10 [FIX] Invalid value: "/tmp": must be unique 2019-01-08 13:47:57 +08:00
GLYASAI
702d0daa43 [REV] parse environment variables into configuration files 2019-01-08 12:01:55 +08:00
GLYASAI
cda030eb79 [FIX] nil map 2019-01-07 19:25:28 +08:00
GLYASAI
3672a4a81c [ADD] add some logs 2019-01-07 18:46:04 +08:00
GLYASAI
f3f2421fa3 [REV] delete config file uuid 2019-01-07 18:26:18 +08:00
GLYASAI
b48d04727b [ADD] add some logs 2019-01-07 17:55:55 +08:00
GLYASAI
d4642d8c5b [REV] revert to ead338b2 2019-01-07 17:44:58 +08:00
GLYASAI
ead338b20e [REV] split volume type 2019-01-07 17:41:40 +08:00
GLYASAI
1a17192c25 [REV] change MountPath of config file 2019-01-07 17:11:10 +08:00
GLYASAI
df967bf65f [REV] change config file name 2019-01-07 17:03:01 +08:00
GLYASAI
b38aab8511 [REV] change config files from list to one 2019-01-07 13:51:35 +08:00
GLYASAI
431a4c96c3 [ADD] add table tenant_service_config_file 2019-01-06 22:13:19 +08:00
GLYASAI
bfe16cf696 [REV] add volumes for statefulset 2019-01-04 17:13:45 +08:00
GLYASAI
b1cd012bca [ADD] add a volume of type ConfigMap 2019-01-04 14:26:29 +08:00
barnett
ca09fb4714 [FIX] fix discover url without protocol bug 2018-12-28 21:59:24 +08:00
barnett
41f150d98e [FIX] fix plugin discover url failure bug 2018-12-28 18:29:57 +08:00
barnett
0cc3bba57e [REV] add timout status in event 2018-12-28 15:32:20 +08:00
GLYASAI
b2f31e127a [ADD] add some warming messages 2018-12-24 16:29:34 +08:00
barnett
df2dba200f [REV] merge branch master to 5.0 2018-12-24 15:04:35 +08:00
barnett
f645480863 [REV] change some es env 2018-12-23 09:48:19 +08:00
GLYASAI
fc2ecea795 [DEL] remove unused pkg 2018-12-20 16:22:27 +08:00
GLYASAI
d06217a1ba [DEL] remove debug messages 2018-12-20 16:00:07 +08:00
GLYASAI
b6d99169cb [REV] no longer regist newAppService 2018-12-20 15:48:29 +08:00
GLYASAI
4d2d9ac21b [ADD] add debug messages 2018-12-20 14:51:19 +08:00
GLYASAI
479b8a4d9c [FIX] fix bug: can not stop service 2018-12-17 19:07:43 +08:00
GLYASAI
2d8fcaf64f [FIX] fix bug: cant not convert in Deployment and StatefulSet 2018-12-17 18:50:36 +08:00
GLYASAI
7ba3e8d94e [DEL] remove CHash 2018-12-17 18:32:46 +08:00
GLYASAI
d0432dd62c [ADD] add upstream-hash-by 2018-12-17 11:51:40 +08:00
barnett
d1817aa159 [ADD] support set scheduler node by env ES_SELECTNODE 2018-12-14 22:16:18 +08:00
barnett
04bfb4ea58 [FIX] support set pod is host network by env ES_HOSTNATEWORK 2018-12-14 22:03:00 +08:00
GLYASAI
499893f208 [REV] change hostPath 2018-12-14 15:54:57 +08:00
GLYASAI
7d3fb90f65 [REV] change host path 2018-12-13 18:15:14 +08:00
GLYASAI
9de25ee882 [REV] get env from podTemplate 2018-12-13 17:36:00 +08:00
GLYASAI
5772f258bd [ADD] add some envs 2018-12-13 17:06:30 +08:00
GLYASAI
8ce26801ee [REV] change DEFAULT_DOMAIN_%d to DEFAULT_DOMAIN 2018-12-13 16:53:22 +08:00
GLYASAI
3ed436f67b Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-13 16:37:22 +08:00
GLYASAI
9c4395b7df [FIX] fix bug: goodrain.me/adpter has no envs 2018-12-13 16:36:55 +08:00
barnett
2dc7da7878 [FIX] fix app status is unknow bug where service can not be delete 2018-12-13 15:28:26 +08:00
barnett
d8268e78c2 [FIX] merge code 2018-12-12 18:21:27 +08:00
barnett
943b03fea5 [FIX] fix volume file failure 2018-12-12 18:20:26 +08:00
GLYASAI
3727642049 [DEL] remove slash 2018-12-12 18:05:58 +08:00
GLYASAI
2ec51d5a7e [FIX] fix bug: slug file error! 2018-12-12 18:00:22 +08:00
GLYASAI
3036b52864 [FIX] fix bug: hostPath type check failed: ...20181212173540.tgz is not a directory 2018-12-12 17:50:48 +08:00
GLYASAI
e51a3e64de [DEL] remove some debug messages 2018-12-12 17:38:54 +08:00
GLYASAI
807dcf32fe [DEL] remove some debug messages 2018-12-12 17:26:46 +08:00
GLYASAI
3d14d72767 [FIX] fix bug: not found: kube-config 2018-12-12 16:58:04 +08:00
GLYASAI
9403cb2b4c [REV] Marshal Deployment to json 2018-12-12 16:38:35 +08:00
GLYASAI
9ce85b0001 [REV] change yaml to json 2018-12-12 16:30:50 +08:00
GLYASAI
65ff57454d [REV] change %v to %s 2018-12-12 16:27:25 +08:00
GLYASAI
70f2ec707a [FIX] fix bug: unused pkg 2018-12-12 16:17:33 +08:00
GLYASAI
0ab3807d10 [DEL] delete debug msg 2018-12-12 16:14:35 +08:00
GLYASAI
9b70b32a4d [REV] convent string to yaml 2018-12-12 16:14:03 +08:00
GLYASAI
03012eac30 Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0
# Conflicts:
#	worker/appm/conversion/version.go
2018-12-12 15:52:51 +08:00
GLYASAI
d6382d7afe [ADD] add debug msg 2018-12-12 15:48:29 +08:00
GLYASAI
79afaf97cd [REV] specified HostPathType 2018-12-12 15:42:19 +08:00
barnett
72269bc5c4 [REV] host path set type is HostPathDirectoryOrCreate 2018-12-12 13:15:01 +08:00
GLYASAI
3b85abbd70 [ADD] add debug messages 2018-12-12 12:41:48 +08:00
GLYASAI
d9e1ac3b9b [DEL] delete foundsequence 2018-12-12 12:31:57 +08:00
GLYASAI
9f835f176d [ADD] print sourceIDs 2018-12-12 11:53:07 +08:00
GLYASAI
f6b4ce854e [ADD] add debug messages 2018-12-12 10:50:44 +08:00
GLYASAI
240eaee849 [ADD] add debug messages 2018-12-12 10:30:07 +08:00
GLYASAI
3e5cc9d784 [ADD] add debug messages 2018-12-12 09:45:39 +08:00
GLYASAI
532e0e9436 [FIX] fix bug: fail to get certificate pem 2018-12-11 21:12:17 +08:00
GLYASAI
db31be1537 [REV] replace secret name with cert uuid 2018-12-11 20:49:22 +08:00
GLYASAI
b658f157cd Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-11 18:57:52 +08:00
GLYASAI
9e0ba35dc3 [FIX] fix bug: have no secret 2018-12-11 18:57:08 +08:00
barnett
a4b45245f3 Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-11 15:36:53 +08:00
barnett
dc07f830b9 [REV] change windows path 2018-12-11 15:36:49 +08:00
GLYASAI
4092bac824 [ADD] add debug messages 2018-12-11 12:22:06 +08:00
GLYASAI
407bcea9c9 Merge remote-tracking branch 'origin/V5.0' into V5.0 2018-12-11 12:11:34 +08:00
GLYASAI
a678b632d5 [ADD] add debug messages 2018-12-11 12:11:27 +08:00
barnett
b69f0fdd8b Merge branches 'V5.0' and 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-11 00:07:21 +08:00
barnett
2f7e1cfb81 [REV] grctl support write config file 2018-12-11 00:07:05 +08:00
GLYASAI
d714203fb6 [DEL] remove some debug messages 2018-12-10 22:37:10 +08:00
GLYASAI
90cf17bb0b [DEL] remove some debug messages 2018-12-10 22:32:14 +08:00
GLYASAI
9d09d3c8f5 [FIX] fix bug: imported and not used pkg 2018-12-10 22:28:40 +08:00
GLYASAI
4207174399 [FIX] fix bug: no service and ingress 2018-12-10 22:26:00 +08:00
GLYASAI
4f524e34d8 [ADD] add some debug messages 2018-12-10 22:11:07 +08:00
GLYASAI
c723fc1a9b [DEL] delete debug messages 2018-12-10 21:20:45 +08:00
GLYASAI
d2a8a2e0ad [ADD] add debug messages 2018-12-10 18:56:35 +08:00
GLYASAI
373b670d34 [FIX] fix some typos 2018-12-10 18:41:52 +08:00
GLYASAI
6aaed2ce4b [ADD] add debug messages 2018-12-10 18:29:15 +08:00
barnett
fc7880bf4b [REV] local volume scheduler node support node os conditions 2018-12-10 13:56:15 +08:00
barnett
7e50510ca6 Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-09 09:56:38 +08:00
barnett
6dd95f56d8 [REV] handle share volume path style in windows 2018-12-09 09:56:20 +08:00
GLYASAI
c0669a35cb [REV] delete unwanted ingresses and secrets while applying rule 2018-12-08 23:22:51 +08:00
GLYASAI
94e089ceb7 [REV] replace stop with delete while applying rule 2018-12-08 22:43:37 +08:00
barnett
ab21562199 [FIX] fix ingress can not cache bug 2018-12-08 14:20:29 +08:00
GLYASAI
ad80997838 [DEL]delete unnecessary debug message 2018-12-07 18:35:49 +08:00
GLYASAI
7f267dcd58 [DEL] delete debug message 2018-12-07 18:06:28 +08:00
GLYASAI
3514fe43e3 [ADD]add docs for getAllowFields 2018-12-07 18:05:53 +08:00
GLYASAI
4a798aad5b [FIX] fix bug: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden. 2018-12-07 17:47:56 +08:00
GLYASAI
e4aadc99f1 Merge remote-tracking branch 'origin/V5.0' into V5.0 2018-12-07 16:50:11 +08:00
GLYASAI
8492e97a3f [ADD] add debug messages 2018-12-07 16:46:01 +08:00
barnett
3be861ca11 [REV] do not create empty node affinity 2018-12-07 15:43:50 +08:00
barnett
5ae1abbb35 [FIX] fix start handle not timeout bug 2018-12-07 15:26:51 +08:00
barnett
82fe2be74d [FIX] fix windows selector invalid bug 2018-12-07 15:23:42 +08:00
barnett
4d84129c4c [ADD] add get deploy info api 2018-12-07 15:15:52 +08:00
GLYASAI
a32fb4eebe [FIX] fix bug: record not found 2018-12-06 16:17:28 +08:00
GLYASAI
fa30bf61ac [FIX] fix bug: record not found 2018-12-06 16:12:27 +08:00
GLYASAI
354a3734a6 Merge remote-tracking branch 'origin/V5.0' into V5.0 2018-12-06 15:51:11 +08:00
GLYASAI
f04c71423e [REV] create l7 or l4 ingress, no matter what the port.protocol is 2018-12-06 15:50:19 +08:00
barnett
d349f48ca5 [REV] add some error detail log 2018-12-06 14:33:54 +08:00
GLYASAI
104f231d36 [DEL]delete debug messages 2018-12-06 14:00:50 +08:00
GLYASAI
05869303c8 Merge remote-tracking branch 'origin/V5.0' into V5.0 2018-12-06 13:41:59 +08:00
barnett
d841ec7332 [REV] dotnet support customize runtime version and build commands 2018-12-06 13:41:43 +08:00
GLYASAI
7a4777845d [ADD]add some debug messages 2018-12-06 13:38:47 +08:00
barnett
f1961dfb73 [FIX] fix deploy model is nil bug 2018-12-06 10:52:08 +08:00
GLYASAI
5ce62973dd [FIX] fix wrong logger 2018-12-05 18:40:09 +08:00
GLYASAI
902fbb7c86 [ADD]add some debug messages 2018-12-05 18:08:37 +08:00
GLYASAI
60d2eabe3e [FIX] fix bug: nil pointer dereference 2018-12-05 17:54:54 +08:00
GLYASAI
ac50a41797 [ADD]add some debug messages 2018-12-05 17:43:51 +08:00
barnett
63921921ac [ADD] add resource auto delete method 2018-12-04 23:15:02 +08:00
barnett
4fcaf904db Merge branch 'master' of https://github.com/goodrain/rainbond 2018-12-04 20:25:19 +08:00
barnett
1d91128ca4 [REV] linux app do not scheduler to windows node 2018-12-04 20:24:59 +08:00
GLYASAI
b90cfd1655 FIX] fix bug: enable force-ssl-redirect, but with no certificate 2018-12-04 19:37:45 +08:00
GLYASAI
97c0ebbeae [REV] change default rule uuid 2018-12-04 19:05:59 +08:00
GLYASAI
b79d0c4365 [ADD] add warming messages 2018-12-04 18:49:15 +08:00
GLYASAI
1bdeda2870 [FIX] fix bug: enable force-ssl-redirect, but with no certificate 2018-12-04 18:45:57 +08:00
GLYASAI
b03084b0f1 [REV] replace ingress name with uuid 2018-12-04 18:42:16 +08:00
GLYASAI
c5aafd2765 [DEL]delete some debug messages 2018-12-04 18:15:32 +08:00
barnett
185f73f195 [FIX] support windows node selector 2018-12-04 17:25:30 +08:00
GLYASAI
e16ed6b711 [ADD] support weight in router 2018-12-04 17:11:15 +08:00
barnett
6042d5672d [FIX] fix Error with multiple ports 2018-12-04 16:45:31 +08:00
barnett
ff59a4e304 [FIX] fix build bug 2018-12-04 16:22:44 +08:00
barnett
579236269d [REV] support lable selector and affinity 2018-12-04 15:58:08 +08:00
barnett
ba0b191056 [REV] add plugin discover config url env defilne 2018-12-04 11:50:37 +08:00
GLYASAI
9442a088e5 [FIX] fix debug messages 2018-12-04 09:21:49 +08:00
GLYASAI
c63d28172f [DEL] delete some debug messages 2018-12-03 19:27:31 +08:00
GLYASAI
b119b2b52c [FIX] fix bug: never update service 2018-12-03 19:11:35 +08:00
GLYASAI
96eb86bdb4 [DEL] delete some debug messages 2018-12-03 18:58:22 +08:00
GLYASAI
1ad378ab21 [ADD] add some debug message 2018-12-03 18:54:59 +08:00
GLYASAI
5641c809b1 [FIX] fix bug: invalid ingress name 2018-12-03 18:07:00 +08:00
GLYASAI
6b53a4496c [ADD] add some debug messages 2018-12-03 17:46:29 +08:00
GLYASAI
29ca16bb52 [FIX] fix some typos 2018-12-03 17:32:34 +08:00
GLYASAI
fd360a9253 [ADD] add some debug messages 2018-12-03 17:31:59 +08:00
GLYASAI
8b9e424a78 [REV] change error message 2018-12-03 17:14:43 +08:00
GLYASAI
bad47ed830 [FIX] fix bug: ingress, secret not found 2018-12-03 17:10:19 +08:00
GLYASAI
91ab03a26f [ADD] add some debgu message 2018-12-02 22:43:35 +08:00
GLYASAI
aa32a466e5 [FIX] fix bug: metadata.resourceVersion, spec.ClusterIP invalid 2018-12-02 22:39:04 +08:00
barnett
c50dff281f [FIX] fix do not select node for local volume bug 2018-12-01 11:59:44 +08:00
barnett
f44543c00d [REV] change provisioner controller name 2018-12-01 11:25:12 +08:00
barnett
b4eebcab6f [REV] local volume support by dynamic provisioning 2018-12-01 11:16:28 +08:00
barnett
96be054fe3 [ADD] add support local volume code 2018-11-30 22:20:48 +08:00
barnett
cfa6a47f1a [REV] change statefulset name is service name 2018-11-29 22:16:44 +08:00
barnett
17132dbb4d [REV] change selector label for pvc. 2018-11-29 21:48:36 +08:00
barnett
5a46bd990b [REV] change log driver in pvc controller 2018-11-29 21:20:50 +08:00
barnett
217891516d [REV] remove some log 2018-11-29 20:57:02 +08:00
barnett
fbbc63ef3e [ADD] add rainbondssscProvisioner 2018-11-29 18:22:17 +08:00
barnett
a6d5834858 [REV] change upgrade timeout time 2018-11-29 14:11:06 +08:00
barnett
f940e64fa2 [ADD] delete old version rs 2018-11-29 13:27:25 +08:00
barnett
acd6e68f16 [ADD] add clean replicaset method 2018-11-29 12:27:27 +08:00
barnett
227fa6c546 [FIX] fix app service deploy version failure bug 2018-11-28 19:32:39 +08:00
barnett
2e934d63fe [REV] add namespace for all model 2018-11-28 18:17:24 +08:00
barnett
962ea2e858 [REV] update status handle code 2018-11-28 17:35:37 +08:00
barnett
35483f88ec [REV] do not remove app model after it closed 2018-11-28 16:49:27 +08:00
barnett
fc7a03a2a0 [REV] update waiting timeout time 2018-11-28 16:46:22 +08:00
barnett
f750a6f049 [REV] change deployment fatch api to appsv1 2018-11-28 16:31:58 +08:00
barnett
a758b71757 [REV] change selector remove version info 2018-11-28 15:37:28 +08:00