zzxwill
cc93367b22
Fix charts/vela-core/crds/_.yaml generation issue
...
Fixed the issue of `charts/vela-core/crds/_.yaml` generation
by removing unkonwn struct in pkg/commands/show.go.
2020-10-31 13:43:10 +08:00
Jianbo Sun
c51f4d5074
Merge pull request #484 from hongchaodeng/doc-exec
...
doc: separate appfile chapter into a few sections to gradually add traits, workloads
2020-10-31 10:33:16 +08:00
Hongchao Deng
9be4316256
doc: separate appfile chapter into a few sections to gradually add traits, workloads
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-30 19:07:00 -07:00
Hongchao Deng
854e88f385
fix ingress rewrite-target
2020-10-30 17:20:02 -07:00
Hongchao Deng
f94d2128d9
Merge pull request #481 from zzxwill/cli-description
...
Refine some minor Cli description
2020-10-30 11:10:18 -07:00
root
f4f0d92a74
[Feature #443 ] should report capability not exist instead of file not found #433
2020-10-30 16:56:37 +00:00
zzxwill
85aa774dd4
Refine some Cli description
...
Refined some description and adjust cli order in `-h`
2020-10-30 23:28:02 +08:00
Hongchao Deng
629ceee307
fix
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-30 00:08:15 -07:00
Hongchao Deng
8fdf48eac1
Add appfile tutorial and fix code
...
includes:
- fix up command to save appfile to env dir
- update cue template to include cmd and config
- move design to doc/design
2020-10-29 22:41:07 -07:00
天元
f016ada842
merge vela app/svc delete to vela delete
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-10-30 11:42:27 +08:00
Hongchao Deng
0ef3d8650b
fix and clean up charts
...
currently the charts has following issues:
- cert-manager has manifests in multiple places. Should be combined into one.
Prefer pure yaml since its helm chart requires `--set installCRDs=true` flag and uninstalling CRD via helm is inconvient.
- The bootstrap of vela-core will setup metrics controller. This requires Prometheus Operator CRD. Move related CRD to vela-core chart.
- move prometheus to vela-system namespace. Remove monitoring namespace.
- remove grafana. It's already a dependency of prometheus chart.
- change default image pull policy to IfNotPresent. Should not be Always.
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-29 13:56:33 -07:00
天元
091b70deba
add route tuturiol
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-10-29 17:36:51 +08:00
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