Jianbo Sun
8e0641baca
Merge pull request #470 from captainroy-hy/vela-portforward
...
vela port-forward
2020-10-29 15:34:29 +08:00
Hongchao Deng
4426133c43
Fix vela install to include all dependencies ( #467 )
...
* Fix vela install to include all dependencies
rewrite server dependency component install:
- Don't rely on crd name. Continue installing all charts.
- Rewrite signal handler to uninstall dependencies before exiting.
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-29 15:24:02 +08:00
roy wang
32daa8f280
vela port-forward
...
add unit test and e2e test
refresh cli doc of vela port-forward
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-29 16:21:33 +09:00
Hongchao Deng
b52fc92e93
change podspec workload to deployment in built-in templates ( #458 )
...
* change podspec workload to deployment in built-in templates
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-28 13:28:27 +08:00
roy wang
69944f9dad
change term "component" to "service" in commands
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-27 19:31:24 +09:00
Jianbo Sun
d2452ad8ef
Merge pull request #446 from wonderflow/oam-runtime
...
upgrade oam-k8s-runtime dependency
2020-10-27 17:06:01 +08:00
Hongchao Deng
ac9a2a2b81
fix e2e
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-27 01:38:10 -07:00
天元
4c70136ba1
upgrade oam-k8s-runtime dependency
2020-10-27 15:32:42 +08:00
Hongchao Deng
f962dc0f11
fix ut
2020-10-26 23:38:11 -07:00
Hongchao Deng
95823cdcdb
fix
2020-10-26 23:19:59 -07:00
Hongchao Deng
cff6a74430
capability: use def name as name
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
Hongchao Deng
e9186fa8eb
fix plugin test
2020-10-26 20:51:16 -07:00
Hongchao Deng
3d17464c44
fix trait definition
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
Hongchao Deng
eed2e2f219
fix
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
Hongchao Deng
80cf81e4d5
update templates
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
Jianbo Sun
ea836ee2eb
Merge pull request #438 from wonderflow/scale
...
Implement Autoscaler Trait
2020-10-27 10:45:00 +08:00
天元
0990e6fa64
fix autoscaler
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-10-27 10:19:26 +08:00
roy wang
410eb2be2b
refact cmds from comp-centric into app-centric style
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-26 15:05:37 +09:00
zzxwill
fecf1a710d
Implement Autoscaler Trait
...
Support Cron type and resource usages (cpu) type
scalling
integrate with OAM by getting child deployment resource via OAM util library
support scaling PodSpecWorkload
support deployment scaling
remove unnecessary comment
support KEDA cron + resource metrics with Keda context
fix ownerreference issue
reorg imports
address part of commemts and refactor code
revert ownerRef settings as somehome leaving spec.replicas doesn't work
2020-10-26 13:39:31 +08:00
Jianbo Sun
297131d23d
Merge pull request #435 from captainroy-hy/cap-template-URI
...
fix getting CUE template from remote
2020-10-26 12:33:04 +08:00
Jianbo Sun
6cf7a30dd4
Merge pull request #436 from hongchaodeng/master
...
make default appfile as vela.yaml
2020-10-26 12:31:56 +08:00
Hongchao Deng
192f435cfc
make default appfile as vela.yaml
2020-10-25 19:34:28 -07:00
roy wang
879427176d
fix getting CUE template through URI
...
fix e2e-test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-25 23:42:32 +09:00
roy wang
be6122edc3
vela exec
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-25 14:56:37 +09:00
Hongchao Deng
941f5a973a
add unit test for config cmd
2020-10-23 19:50:07 -07:00
Hongchao Deng
b11ccee60d
add unit test for config in appfile
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-23 19:28:50 -07:00
Hongchao Deng
1b82e3ae2a
vela config command
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-23 13:49:10 -07:00
Hongchao Deng
f2825f2181
remove image constraint
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-23 13:14:14 -07:00
Hongchao Deng
c4a8d31073
fix naming
2020-10-22 17:05:30 -07:00
Jianbo Sun
e286862c59
Merge pull request #422 from mosesyou/feature-up-file
...
add support for `vela up` specify file path
2020-10-22 23:09:35 +08:00
mosesyou
faaaf5fd59
add support for vela up specify file path
2020-10-22 14:35:41 +08:00
天元
3082b7b9dd
fix label not int
2020-10-22 12:22:50 +08:00
roy wang
de28c06af5
wait until runtime ready during vela install
...
check runtime ready before vela dashboard
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-21 17:43:24 +09:00
Hongchao Deng
20a5457d5f
refactor pkg/application to use Appfile ( #402 )
...
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* fix build
* fix workload
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* rebase
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* e2e
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* update design
* add test coverage for appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* comment
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-21 13:01:46 +08:00
Jianbo Sun
df495d9c04
Update pkg/commands/logs.go
...
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2020-10-20 23:24:47 +08:00
天元
a195d25546
support vela logs
2020-10-20 20:45:28 +08:00
天元
04fcad21d4
refactor command and add vela generate-doc for cli
2020-10-20 14:54:02 +08:00
Zheng Xi Zhou
13dea58e35
Refine help and error message ( #345 )
...
* Refine help and error message
refined error message for `vela app run`
and correct help message for `vela comp ls`
To fix #320
* fix make issue
2020-10-20 14:34:19 +08:00
Hongchao Deng
38dc6fe73e
fix bugs on pkg/appfile ( #409 )
...
* fix bugs on pkg/appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* fix
2020-10-20 13:55:57 +08:00
Jianbo Sun
1cc8a3980c
Merge pull request #387 from wonderflow/route1
...
give route trait new discovery port way with podspecable design
2020-10-18 11:24:38 +08:00
Hongchao Deng
b08c6b9441
Appfile: Extensible, User-friendly Application Config Format ( #390 )
...
* design doc
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* Support deployment via appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* design update
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* comments
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* update
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* refactor
* add multi services example in design doc
2020-10-18 11:22:17 +08:00
天元
3d2bd9a898
add a design doc for route trait, along with fix and tests
2020-10-16 20:50:08 +08:00
天元
1166c5b526
covert certmanager to v1 and use wonderflow/cert-manager-api to reduce dependency collision
2020-10-15 11:52:40 +08:00
天元
d9302ff982
add args for vela install and fix E2E with fresh image build
2020-10-14 23:22:15 +08:00
天元
395e2d55f7
bootstrap application deployment for app level rollout/traffic management
2020-10-14 11:41:31 +08:00
天元
f3eed5f283
fix make core-run panic
2020-10-13 19:35:01 +08:00
Jianbo Sun
1479109324
move chart build to source file, allow chart CRD switching to V1 of cert-manager ( #382 )
...
* add chart_source
* generate chart to fake file
* switching to V1 of cert-manager
make exec time longer
2020-10-13 17:20:59 +08:00
Hongchao Deng
af91fdf21e
cue: rename 'data' to 'output'
2020-10-12 21:02:33 -07:00
silenceper
1f3548eee4
fix check resource exists ( #373 )
...
* fix check resource exists
* fix go lint
* add tests, fix DoesCRDExist
* remove init func
* fix should return err
2020-10-13 07:54:19 +08:00
Jianbo Sun
eaac01b58c
Merge pull request #366 from wonderflow/descirption
...
add description for workload and trait
2020-10-10 14:47:45 +08:00