天元
0990e6fa64
fix autoscaler
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-10-27 10:19:26 +08: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
Zheng Xi Zhou
af724ad58a
Update appliesToWorkloads field in traitdefinition ( #368 )
...
* Update appliesToWorkloads field in traitdefintion
updated appliesToWorkloads fileds in traitdefinition
for three workloads, webservice, task and backend.
fix issue #346
* remove duplication
2020-10-10 14:27:34 +08:00
天元
590918af32
add description for workload and trait
2020-10-10 10:15:30 +08:00
roy wang
8b3bda82f7
add e2e test for vela init
...
modify e2e setup to wait oam-runtime pod running
add k8sclient in e2e test
refine tracking status of vela init
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-09 19:36:33 +09:00
roy wang
6aafb90acd
track status changing in vela init
...
fix e2e-test
update oam-k8s-runtime dependency to latest tag
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-09 18:41:53 +09:00
天元
189175c4db
using Environment intead of ENV fixes #350
2020-10-09 08:21:31 +08:00
天元
e4570e22ae
fix podspec workload not create service anymore
2020-10-08 16:09:04 +08:00
天元
c9a28309b2
fix trait detach not work
2020-10-08 16:08:42 +08:00
天元
e922666d5f
rename 'vela comp run' to 'vela comp deploy'
2020-10-08 15:46:30 +08:00
Ryan Zhang
61544a0be6
rename containerized to podspecworkload
2020-10-06 00:25:16 -07:00
Ryan Zhang
d0d8d77337
fix the test
2020-10-02 20:26:50 -07:00
Ryan Zhang
3f468e4752
improve helm install
2020-10-02 19:29:31 -07:00
zzxwill
8a15d19348
Refine and fix API
...
- fixed trait attach issue
- allow leaving out `/` to make API more friendly
- merge similar struct
2020-09-29 19:30:52 +08:00
Ryan Zhang
6863ac02a1
add back the test after the cue templates are updated ( #328 )
...
* add back the test
* enhance e2e test
2020-09-28 17:51:06 +08:00
silenceper
24c30e65fb
Determine whether it is necessary to create a service ( #333 )
...
* Determine whether it is necessary to create a service
* add checkContainerPortsSpecified func
* add check workload is nil
2020-09-28 10:08:51 +08:00
silenceper
c4dd02761a
support delete multi env ( #331 )
...
* support delete multi env
* fix golint
2020-09-27 15:44:46 +08:00
silenceper
453976e28f
use return instead of break
2020-09-27 14:31:03 +08:00
zzxwill
e1a2edb604
fix naming issue
2020-09-27 11:35:46 +08:00