Commit Graph

381 Commits

Author SHA1 Message Date
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
barnett
57bd871fdb [REV] sleep 3 second after stop in restart pipeline 2018-11-27 18:17:46 +08:00
barnett
8db3d0c418 [FIX] fix gateway ingress and scret without lables bug 2018-11-27 18:16:18 +08:00
barnett
5fede170c7 [FIX] fix waiting stop or start complete failure bug 2018-11-27 17:23:45 +08:00
barnett
e14f9ba93f [FIX] fix k8s service exist failure bug 2018-11-27 17:14:21 +08:00
barnett
5366f416ff Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-27 17:02:48 +08:00
barnett
3484a0f217 [REV] change app cache rules 2018-11-27 17:02:32 +08:00
GLYASAI
0cc7eca7e7 [REV] accept all protocol as tcp, but http 2018-11-27 16:22:08 +08:00
barnett
ce480958f6 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-27 16:19:27 +08:00
barnett
4978195059 [ADD] add app service string() method 2018-11-27 16:19:24 +08:00
GLYASAI
2b8543ac77 Merge branch master 2018-11-27 16:07:11 +08:00
GLYASAI
6df4eac461 [REV] change the business logic of apply rule controller 2018-11-27 15:41:25 +08:00
barnett
fe165fc4fd [REV] change app status judge conditions 2018-11-27 15:34:53 +08:00
barnett
1d2b5b27c6 [FIX] fix statefulset app status bug 2018-11-27 14:52:44 +08:00
barnett
a81abd5277 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-27 14:50:54 +08:00
barnett
5a6321ba3a [FIX] fix service name is empty bug 2018-11-27 14:50:30 +08:00
GLYASAI
40e3b358c0 [REV] if there is no tcp rule, then create a default ingress 2018-11-27 11:49:06 +08:00
barnett
7da5b89fd2 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-27 11:31:34 +08:00
barnett
13529c0c19 [REV] change patch type to MergePatchType 2018-11-27 11:31:17 +08:00
GLYASAI
163133ef9a [REV] if there is no http rule, then create a default ingress 2018-11-27 11:15:57 +08:00
barnett
c78013fac1 [REV] update app undeploy status judge conditions 2018-11-27 10:34:58 +08:00
barnett
70997e1f1a [REV] rollback change to upgrade pipeline and add undeploy app status 2018-11-27 10:15:53 +08:00
GLYASAI
6d5c1eff9c [REV] enable empty ingress for outer service 2018-11-26 19:21:41 +08:00
barnett
d791b583b2 [FIX] fix service config update invalid bug 2018-11-26 19:16:41 +08:00
barnett
1352bf1842 [FIX] fix name is neither a standard finalizer name bug 2018-11-26 18:15:53 +08:00
barnett
31fff5c3b9 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-26 18:12:07 +08:00
barnett
2dd4c754e2 [REV] handle app status faliure because of start faliure. 2018-11-26 18:11:49 +08:00
GLYASAI
41288c6315 [ADD] send apple rule task 2018-11-26 18:08:16 +08:00
barnett
10beaa1ce2 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-26 17:59:30 +08:00
barnett
fe5aaf1feb [ADD] automatically compare upgrade changes with new resources 2018-11-26 17:59:24 +08:00
GLYASAI
953b28fb5c [ADD] add applyRuleController 2018-11-26 16:40:47 +08:00
GLYASAI
e6e82ea9cf [REV] save lb port when adding tcp rule 2018-11-26 02:36:38 +08:00
GLYASAI
5df9edc552 [FMT] rename, Http to HTTP, Tcp to TCP 2018-11-23 20:39:34 +08:00
GLYASAI
6c4c974da3 [REV] change the implementation of ApplyRules 2018-11-23 20:15:38 +08:00
barnett
2e0a3fde20 [REV] remove event log message db model 2018-11-22 16:22:44 +08:00
barnett
7a7e64b355 [DEL] remove old runtime sync code 2018-11-22 10:44:12 +08:00
GLYASAI
0a20990804 [ADD] add uuid for http rule 2018-11-22 09:34:00 +08:00
GLYASAI
1e4e5b0f37 [ADD] add api for adding tcp rule 2018-11-21 19:51:40 +08:00
GLYASAI
b3ece8e0b0 [FIX] rename GetRuleExtensionByServiceID to GetRuleExtensionByRuleID 2018-11-21 18:35:04 +08:00
barnett
0d6ab85493 [REV] update logger step info code 2018-11-21 18:25:12 +08:00
GLYASAI
086aa7b058 [ADD] add default domain for ingress 2018-11-21 15:51:23 +08:00
barnett
56cfadd2a9 [ADD] add gateway Dockerfile and attachment 2018-11-21 13:30:40 +08:00
barnett
8eea0849f7 [FIX] fix logger is nil bug 2018-11-21 12:04:02 +08:00
barnett
25fc30014e [ADD] add restart controller in app runtime 2018-11-21 11:58:16 +08:00
barnett
fc243ffbe3 [REV] change app size log and master start don't block 2018-11-21 11:32:29 +08:00
barnett
c6182157c4 [REV] update app runtime collector for prometheus 2018-11-21 11:25:19 +08:00
barnett
a5ecfecf5b Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-21 09:31:59 +08:00
barnett
3ec61887fc [ADD] add set container logger is streamlog code 2018-11-21 09:31:35 +08:00
GLYASAI
22e5c87219 [FIX] add unit test for AnalystToExec 2018-11-21 09:11:20 +08:00
barnett
02d77859e5 [FIX] fix last event log status failure 2018-11-20 19:19:05 +08:00
GLYASAI
c37cf03e10 Merge remote-tracking branch 'origin/master' 2018-11-20 17:44:43 +08:00
GLYASAI
5f73688f53 [ADD] add unit test for ApplyHttpRule with certificate 2018-11-20 17:44:25 +08:00
barnett
f8ab20b7f9 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-20 17:41:04 +08:00
barnett
9c57b5f14c [REV] update node status check method 2018-11-20 17:40:43 +08:00
GLYASAI
6a5e3c5028 [FIX] fix bug: invalid ingress name 2018-11-20 17:16:34 +08:00
GLYASAI
e81480d739 [FIX] fix bug: failure create secret 2018-11-20 17:09:01 +08:00
GLYASAI
2d7eb86edc [FIX] fix bug unsupported destination should be slice or struct 2018-11-20 13:13:06 +08:00
barnett
05299d722b [REV] update build version 2018-11-20 11:04:13 +08:00
barnett
c552e9b2fa [REV] merge code 2018-11-19 18:57:11 +08:00
barnett
606411aa5e [ADD] add upgrade and scaling contro and change app status get method 2018-11-19 18:56:28 +08:00
GLYASAI
91c15f10d8 [FMT] correct lable to label and rename streamRule to tcpRule 2018-11-19 15:31:13 +08:00
GLYASAI
5da2542eae [REV] update gateway model 2018-11-19 15:17:44 +08:00
barnett
e81095334b Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-19 14:16:37 +08:00
barnett
55fa1801f0 [REV] change get common labels method 2018-11-19 14:16:21 +08:00
GLYASAI
01219e929d [Add] add unit test for AppServiceBuild_ApplyHttpRule 2018-11-19 14:09:14 +08:00
GLYASAI
b98e089c83 [ADD] add unit test for ApplyStreamRule 2018-11-18 19:31:12 +08:00
GLYASAI
993efefb0d [ADD] add TenantServiceRegist which conv inner and outer service regist 2018-11-18 11:53:11 +08:00
barnett
757a6f8938 [ADD] add runtime server and app status manage.update grpc vendor 2018-11-17 18:08:33 +08:00
barnett
cae1e2053e [ADD] add new start process for new app runtime 2018-11-16 18:16:55 +08:00
barnett
b9fef62853 [ADD] add start service code for new runtime 2018-11-15 17:09:10 +08:00