Commit Graph

511 Commits

Author SHA1 Message Date
GLYASAI
afa1b70835 Merge branch 'noaddress' into privilege 2020-01-19 09:46:05 +08:00
GLYASAI
41295150c7 support privileged 2020-01-19 09:45:44 +08:00
GLYASAI
34e3a4bfa6 Fix wrong usage of context 2020-01-18 21:26:46 +08:00
barnettZQG
6ab0b926c2 change third app health check code 2020-01-09 15:56:59 +08:00
barnettZQG
0a08e1e685 fix issues #547 2020-01-08 13:34:18 +08:00
barnettZQG
14187d84c9 Fix 3rd party component health detection issues #580 2020-01-07 21:31:26 +08:00
凡羊羊
28ed9d784b merge V5.2 2020-01-06 13:58:54 +08:00
凡羊羊
50e4ebacfd add etcd args 2019-12-24 22:41:19 +08:00
凡羊羊
86b7cf7de3 prepare volume 2019-12-19 18:03:46 +08:00
panda-zxs
13bce09909 add get volume type list with page 2019-12-18 18:20:03 +08:00
凡羊羊
da628f8b3f fix merge 2019-12-18 15:40:31 +08:00
凡羊羊
8e5db939c8 update volume type 2019-12-18 15:37:18 +08:00
panda-zxs
af2127c18d fix update volume type 2019-12-18 14:40:05 +08:00
panda-zxs
d2165ae2d4 add update volumetype 2019-12-18 14:08:30 +08:00
凡羊羊
35b585f4f1 update GetVolumeTypeByType func in db 2019-12-18 13:41:41 +08:00
凡羊羊
1dfbc1598a change volumeType struct 2019-12-18 11:12:18 +08:00
凡羊羊
1537af9ce7 fix merege 2019-12-18 10:53:19 +08:00
凡羊羊
5c54cae794 update volume, step 1 2019-12-18 10:49:37 +08:00
panda-zxs
7491be0df3 UpdateVolumeType 2019-12-18 10:18:26 +08:00
凡羊羊
23425b1af8 merge from v5.2 2019-12-12 17:40:40 +08:00
凡羊羊
e6387584e5 add volume type model and update create volume 2019-12-12 11:59:02 +08:00
barnettZQG
cd70a0e7a8 Merge branch 'V5.1' 2019-12-10 19:03:34 +08:00
GLYASAI
2f0ea5241d update ingress after updating the certificate 2019-12-10 17:56:47 +08:00
barnettZQG
7507b5c6f8 fix update service probe error bug 2019-12-09 18:19:32 +08:00
GLYASAI
f9c3b1eb14 ignore circular dependencies 2019-12-09 00:14:26 +08:00
GLYASAI
14e6ad04c6 explicitly dependent services in startup sequence 2019-12-06 11:24:45 +08:00
黄润豪
c6df516031
Merge branch 'master' into gc 2019-12-03 23:04:06 +08:00
凡羊羊
60f05e1669 support alicloud-disk 2019-12-02 16:03:39 +08:00
GLYASAI
cebd3601d6 delete metrics 2019-11-28 17:21:05 +08:00
凡羊羊
45c76f788c add best volume api and update volume provider api 2019-11-27 14:53:14 +08:00
凡羊羊
fab7df456e provider add filter 2019-11-25 20:03:26 +08:00
凡羊羊
5541369ca4 add volume-provider api and fix some volume bugs 2019-11-25 13:30:30 +08:00
凡羊羊
9a48eec45d worker add ceph claim support 2019-11-21 17:07:58 +08:00
glyasai
de889339f4 horizontal scaling munually 2019-11-21 15:19:00 +08:00
glyasai
17f1451384 cpu request and limit 2019-11-20 16:16:12 +08:00
凡羊羊
6a1132b1df update volume create process 2019-11-18 19:22:17 +08:00
glyasai
ad86a91866 retrieve/save scaling records 2019-11-14 18:39:45 +08:00
glyasai
240daa9f26 refresh xpa task 2019-11-13 18:48:51 +08:00
glyasai
8d847bde95 create/delete hpa during app starting/stopping 2019-11-13 17:00:02 +08:00
glyasai
e3b9fe5011 create/update autoscaler rule 2019-11-13 11:05:25 +08:00
黄润豪
14c1a76d87
Merge branch 'master' into bakcloud 2019-11-08 19:40:07 +08:00
glyasai
b84610c337 support s3 2019-11-08 19:37:34 +08:00
凡羊羊
d88bafc901 Merge branch 'master' into unhealthcluster 2019-11-06 18:41:07 +08:00
glyasai
940cb6d685 delete tenant 2019-11-06 10:26:27 +08:00
glyasai
7e8471c028 delete tenant metadata 2019-11-05 11:43:10 +08:00
glyasai
0d76e11680 expected 0 arguments, got 1 2019-11-04 14:08:01 +08:00
glyasai
3c123b68f9 remove persistent data 2019-10-31 17:29:45 +08:00
glyasai
7ce0be0c6d delete service metadata 2019-10-29 18:36:15 +08:00
glyasai
4bb8a9b37f [REV] restore with plugin info 2019-10-15 16:05:32 +08:00
glyasai
660f790ffe [ADD] metadata with plugin info 2019-10-13 19:56:13 +08:00
黄润豪
df1f896de7
Merge branch 'master' into license 2019-09-19 20:06:12 +08:00
凡羊羊
5779a6eaa1 add third-part endpoint as sync event type 2019-09-19 19:09:03 +08:00
曾庆国
a7dc565364 gateway support multiple ip #417 2019-09-18 17:56:52 +08:00
glyasai
edca0b62b7 [DEL] remove sqlite3 2019-09-17 19:24:41 +08:00
凡羊羊
b76dff86a8 modify orm size 2019-09-10 12:59:03 +08:00
凡羊羊
3b4f50b325 modify event.request_body size to 1024 2019-09-10 12:53:50 +08:00
GLYASAI
b516fdda7d [FIX] wrong status for oom event 2019-09-01 14:10:24 +08:00
GLYASAI
6bdab4c924 [ADD] record abnormal deletion 2019-08-29 17:27:25 +08:00
GLYASAI
8b90939357 Merge remote-tracking branch 'goodrain/master' into podevent
# Conflicts:
#	util/k8s/k8s.go
2019-08-29 14:17:19 +08:00
GLYASAI
a0545bcbec [REV] record pod event in master 2019-08-29 14:15:46 +08:00
GLYASAI
249f2ab9c5 [FIX] no branch for code info 2019-08-27 11:29:23 +08:00
黄润豪
34542886e8
Merge branch 'master' into podevent 2019-08-26 17:34:24 +08:00
GLYASAI
de69339d4a [ADD] record OOMKilled 2019-08-26 16:21:48 +08:00
凡羊羊
7e5f2090b8 fix event list sort bugs, 'order by start_time desc, id desc' 2019-08-26 10:43:11 +08:00
曾庆国
2e602105a4 change event judge 2019-08-24 19:02:24 +08:00
凡羊羊
dcb66556cc add sort by start_time when query event 2019-08-23 22:20:35 +08:00
凡羊羊
9c652698ab modify events api and format some code 2019-08-23 20:33:38 +08:00
凡羊羊
6a032e74b4
Merge branch 'master' into feature/aboutEvent 2019-08-23 15:52:19 +08:00
GLYASAI
cebec7babc [REV] move log_option.go to package event 2019-08-23 14:41:56 +08:00
凡羊羊
4a6b2cc0e2 modify query event log content, and fix some bugs 2019-08-23 14:21:51 +08:00
GLYASAI
dac4a40f89 [REV] add start time for app status 2019-08-23 13:34:36 +08:00
GLYASAI
c209b5e7f5 [ADD] record pod changed log 2019-08-23 13:34:36 +08:00
凡羊羊
f30b520ada exporter new api, get event log by eventID 2019-08-22 19:51:46 +08:00
凡羊羊
abe522b0a5 update event endtime and delete codeversion 2019-08-22 18:18:26 +08:00
凡羊羊
443dbc45ee fix page bugs 2019-08-22 17:41:21 +08:00
凡羊羊
40adac9991 make event log in middleware 2019-08-22 16:07:26 +08:00
GLYASAI
86d6ca4df8 [REV] parse image repositry 2019-08-22 14:20:08 +08:00
GLYASAI
b89b176c4e [ADD] start and finish time for build version 2019-08-16 11:18:00 +08:00
凡羊羊
e7295e0b69 modify TenantServiceEnvVar struct set AttrValue gorm size = 1024 2019-08-07 11:17:12 +08:00
凡羊羊
dab4bd07f9 [FIX] fix issue(#338) bug, modify tenant service env max size to 1024 2019-08-05 11:04:17 +08:00
barnett
d4a49a18f1 change some code 2019-08-04 22:14:02 +08:00
barnett
fe8eba1fa8 add tenant query api 2019-08-01 17:19:22 +08:00
barnett
36fa6a6eb1 fix env update bug and builder container
exist bug
2019-07-02 16:08:31 +08:00
barnett
6b0713ccc4 merge 5.1 branch code 2019-06-25 22:01:03 +08:00
barnettZQG
5746841301
Merge pull request #308 from GLYASAI/RAINBOND-1004
[FIX] failed to restore backup
2019-06-25 17:58:03 +08:00
barnettZQG
35628f512a
Merge pull request #307 from GLYASAI/RAINBOND-993
[FIX] can not share image with chinese tag
2019-06-25 17:57:12 +08:00
GLYASAI
900ba5667b [FIX] failed to restore backup 2019-06-24 18:09:50 +08:00
GLYASAI
5d02b9fa38 [FIX] can not share image with chinese tag 2019-06-24 16:48:43 +08:00
GLYASAI
9af4d32594 [FIX] clean manager does not work 2019-06-20 17:38:55 +08:00
GLYASAI
21a0a6f456 [FIX] wrong type in unit test 2019-06-20 13:39:39 +08:00
barnett
c797894103 add service ratelimit support 2019-06-14 15:19:53 +08:00
GLYASAI
4874e1c9c6 [FIX] container init-probe does not exit normally 2019-05-20 11:43:28 +08:00
GLYASAI
103ad550ee [FIX] failed to add endpoint with port 2019-05-17 10:40:46 +08:00
barnett
a7f1718c01 [REV] merge v5.1 to master 2019-05-16 10:35:47 +08:00
barnettZQG
0682652674
Merge pull request #287 from GLYASAI/endtime
[FIX] data too long for colume 'end_time'
2019-05-15 06:03:51 -05:00
GLYASAI
3e8e957ea2 [ADD] convert rules to envs 2019-05-15 18:42:49 +08:00
GLYASAI
62f7c3e7e0 [FIX] data too long for colume 'end_time' 2019-05-13 18:08:30 +08:00
GLYASAI
b274cada72 [FIX] do not decision build type for service 2019-05-09 13:59:15 +08:00
GLYASAI
71268496e0 [FIX] failed to restore volume 2019-05-08 00:22:35 +08:00
GLYASAI
222076588b [REV] add ErrRecordAlreadyExist for creating version info 2019-05-06 20:43:58 +08:00
黄润豪
f5204be141
Merge branch 'master' into master 2019-05-04 19:28:12 +08:00
GLYASAI
3aa42fd75e [ADD] restore api for envs, ports and etc 2019-05-04 19:26:18 +08:00
huangrh
8967cbaaf7 [FIX] error syncing pvc 2019-04-08 16:15:26 +08:00
barnett
fa831cabf0 fix probe disable invalid bug 2019-03-31 13:03:38 +08:00
huangrh
62b9f8df86 [FIX] probe not found 2019-03-28 15:39:32 +08:00
huangrh
0bcd99b818 [FIX] gorm ignore zero value("") when updating 2019-03-25 15:16:25 +08:00
barnett
9c01057d37 change version and change code style 2019-03-21 14:48:46 +08:00
GLYASAI
17c3d70b97 [FIX] certificate file(*.pem) not found 2019-03-20 15:51:55 +08:00
GLYASAI
327f0914a3 [ADD] delete related talbes when deleting service 2019-03-16 21:34:07 +08:00
GLYASAI
feb1e1ba64 [REV] change gateway configuration
[FIX] fix some bug
2019-03-14 21:10:14 +08:00
GLYASAI
d0415a0042 [REV] remove configmap for third-party service 2019-03-14 11:12:17 +08:00
GLYASAI
d30d0fe9af [ADD] list config by rule id 2019-03-13 14:40:30 +08:00
GLYASAI
0f886b3d35 [ADD] add or update api for gateway rule configuration 2019-03-13 13:58:30 +08:00
huangrh
fdf4b1cc8c [ADD] create ingress annotation about nginx config 2019-03-11 01:07:10 +08:00
黄润豪
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
barnett
a49d3a6894 [REV] change pv volume save path and fix backup bug 2019-03-05 15:00:39 +08:00
huangrh
6344843de0 [FIX] merge error 2019-03-04 14:52:42 +08:00
黄润豪
0e034ff12f
Merge branch 'master' into master 2019-03-04 14:32:33 +08:00
barnett
9173e1e520 [ADD] add plugin config backup and restore 2019-03-01 15:13:14 +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
22e733a408 [ADD] add init-probe component 2019-02-28 14:52:39 +08:00
barnettZQG
21eb9f00e3
Merge pull request #223 from GLYASAI/master
[ADD] api for thrid-party service
2019-02-27 21:06:24 +08:00
huangrh
a859e0dd29 [ADD] failure action for service probe 2019-02-27 10:11:20 +08:00
huangrh
da71fcc5de [FIX] gorm can't create zero values 2019-02-27 09:30:39 +08:00
huangrh
b1db6090db [REV] change discovery configuration request struct 2019-02-27 09:30:25 +08:00
huangrh
912babfa6a [ADD] api for listing third-party service endpoints 2019-02-26 14:16:22 +08:00
barnett
438f74fe21 [ADD] tcp mesh proxy use envoy 2019-02-25 20:04:48 +08:00
huangrh
74ff40f7cb [ADD] static endpoints or discovery configuration when create service 2019-02-25 01:07:37 +08:00
huangrh
078b687f85 [ADD] api for fetching or updating third-party service probe 2019-02-24 21:18:06 +08:00
huangrh
371e41a8a9 [ADD] endpoints api: add, update and delete 2019-02-24 05:13:54 +08:00
barnett
68246110a8 [ADD] add envoy controller grpc api 2019-02-21 21:55:56 +08:00
barnettZQG
b75afe013a
update app backup version 2019-02-20 22:40:02 +08:00
barnett
2c2ac1e2db [FIX] fix plugin config apply bug 2019-02-15 18:46:11 +08:00
barnett
cf90637513 [ADD] add auto create table tenant_plugin_version_config 2019-02-15 17:38:31 +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
GLYASAI
dc081e9662 [FIX] only return success version info 2019-01-25 14:37:30 +08:00
GLYASAI
45f0d48dd6 [REV] change the length of certificate and private_key to contains more characters 2019-01-16 00:15:33 +08:00
GLYASAI
6480a7b693 [REV] only share configmap volume template 2019-01-09 19:14:55 +08:00
GLYASAI
ca7047db0f [ADD] add volume type for AddVolumeDependencyStruct 2019-01-08 14:43:32 +08:00
GLYASAI
f3f2421fa3 [REV] delete config file uuid 2019-01-07 18:26:18 +08:00
GLYASAI
431a4c96c3 [ADD] add table tenant_service_config_file 2019-01-06 22:13:19 +08:00
GLYASAI
b1cd012bca [ADD] add a volume of type ConfigMap 2019-01-04 14:26:29 +08:00
barnettZQG
f3a36ea029
Merge pull request #170 from GLYASAI/V5.0
do some change and fix some bugs
2018-12-28 16:44:15 +08:00
barnett
0cc3bba57e [REV] add timout status in event 2018-12-28 15:32:20 +08:00
GLYASAI
47cf4fce33 [ADD] delete gateway resources when deleting service 2018-12-28 12:33:37 +08:00
GLYASAI
197a3688e1 [ADD] add UpdateModel for model.IPPool 2018-12-19 10:07:56 +08:00
GLYASAI
a8409eeb75 [ADD] add ip pool 2018-12-19 10:00:50 +08:00
GLYASAI
62b2e89230 [FIX] fix bug: unable to update IPPort 2018-12-18 20:55:12 +08:00
GLYASAI
e261076b2a [ADD] add delete IPPort 2018-12-18 19:15:21 +08:00
GLYASAI
9fe5177f0b [ADD] add updating gateway_ip_port 2018-12-18 18:19:48 +08:00
GLYASAI
d8c5f0b087 [ADD] checks if the ip and port for TCP is available 2018-12-18 16:58:13 +08:00
GLYASAI
c5c8bee41e [ADD] add IPPort 2018-12-18 15:48:42 +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
0a47ab415c [FIX] fix windows app do not shceduler bug 2018-12-07 15:00:07 +08:00
GLYASAI
965dc98077 [REV] swap labe_value and label_key which value is node-selector 2018-12-04 17:55:45 +08:00
GLYASAI
e16ed6b711 [ADD] support weight in router 2018-12-04 17:11:15 +08:00
barnett
07301343e6 [FIX] fix Unknown column 'host_path' in 'field list' bug 2018-12-04 16:55:58 +08:00
GLYASAI
9573c3ae65 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-12-04 16:38:42 +08:00
GLYASAI
f525df5a0a [ADD] add windows topic 2018-12-04 16:38:00 +08:00
barnett
42c1cd24d4 [REV] change update deploy version code 2018-12-04 16:35:17 +08:00
barnett
f11269d882 [DEL] delete label LabelKeyNodeAntyAffinity 2018-12-04 16:10:52 +08:00
GLYASAI
8f190a8be7 Merge remote-tracking branch 'origin/master' 2018-12-04 16:02:34 +08:00
barnett
579236269d [REV] support lable selector and affinity 2018-12-04 15:58:08 +08:00
GLYASAI
bf00ad8986 [REV] change LabelStruct and delete service label 2018-12-04 15:54:47 +08:00
GLYASAI
dd3656b4f3 [REV] change label request from LabelStruct to LabelsStruct 2018-12-04 15:20:59 +08:00
barnett
ebf9636823 [ADD] Add the processing flow after the application is built 2018-12-04 15:09:00 +08:00
GLYASAI
daa8503108 [ADD] add api for deleting label 2018-12-04 13:35:27 +08:00
GLYASAI
70ac3863e5 [REV] change label for linux node 2018-12-04 11:54:43 +08:00
GLYASAI
d9c6421786 [REV] change RuleExtensionKey 2018-12-04 00:25:16 +08:00
GLYASAI
a7afea7a42 [FIX] fix bug: unsupported destination, should be slice or struct 2018-12-03 17:02:19 +08:00
GLYASAI
5ef70112a9 [REV] change the default topic to builder 2018-11-30 18:00:36 +08:00
GLYASAI
0b33bd4c73 [REV] set the topic based on the type of operating system 2018-11-30 17:38:08 +08:00
GLYASAI
58a250664c [ADD] add AddOrUpdate for certificate 2018-11-29 18:12:26 +08:00
GLYASAI
d8e237d537 [REV] not check ErrRecordNotFound 2018-11-28 19:31:18 +08:00
GLYASAI
2ac0c93b9d [REV] change the restriction to add lb mapping port 2018-11-28 18:19:45 +08:00
GLYASAI
801dff55cb [REV] change error msg 2018-11-28 18:05:15 +08:00
GLYASAI
d510773d25 [REV] get tcp rule by sid, cport -> get tcp rule by uuid 2018-11-28 17:59:46 +08:00
barnett
42aeae9c66 [FIX] fix builder service id is empty bug 2018-11-27 10:55:01 +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
6c2fc4eb2b [FIX] bug: reflect.Value.Set using unaddressable value 2018-11-26 20:37:50 +08:00
GLYASAI
6d5c1eff9c [REV] enable empty ingress for outer service 2018-11-26 19:21:41 +08:00
GLYASAI
428e4bda26 [ADD] add validation for updating tcp rule 2018-11-26 11:30:58 +08:00
GLYASAI
5b9e8db0ae [ADD] add api -- GetAvailablePort 2018-11-26 02:19:08 +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
ec6cb037fd [REV] change all db name and remove kube client from api module 2018-11-22 14:33:29 +08:00
GLYASAI
6bb5216e10 [ADD] add uuid for TcpRuleStruct 2018-11-22 10:38:55 +08:00
GLYASAI
0a20990804 [ADD] add uuid for http rule 2018-11-22 09:34:00 +08:00