yangsoon
e8a8981ef5
delay controller sync time ( #1285 )
2021-03-24 21:23:49 +08:00
Hongchao Deng
baff3d77c4
AppDeployment: Add API types, necessary labels, and utilities
2021-03-23 22:33:54 -04:00
Jianbo Sun
acf497b1c7
make CUE inner kube package as a standalone package && clean code ( #1263 )
2021-03-23 16:30:49 +08:00
kushthedude
e978e26c25
feat: add debug-flag for enabling logs in core-run
...
Signed-off-by: kushthedude <kushthedude@gmail.com>
2021-03-19 22:29:29 +05:30
wyike
ccc5826616
Remove 3 standard controller (route autoscaler metrics ) ( #1172 )
...
* delete 4 standard controllers related code
delete related yaml
delete setup controller
add back podspecworkload controller
try to fix e2e
update related docs
fix failed test
fix docs problem
remove useless scheme
up timeout for e2e-test
change doc structure
* fix go mod
2021-03-12 14:57:59 +08:00
Ryan Zhang
1048b399fd
rename appRollout and add more fine tune tests ( #1166 )
...
* rename appRollout and add more fine tune tests
* improve rollout
* do not advance AC if we are not rolling
* fix e2e test bug
* fix the test
2021-03-11 15:56:38 +08:00
WYike
994ef23c0c
modify controller,webhook,api,chart ( #1085 )
...
solve failed test
add compatibility test for old crd
add app ns for cli
modify compatibility test
solve compatibility problem
add testing for GetDefinition func with cluster scope CRD
generate code for compatibility-test
move testdata generate to makefile
optimize ci pipeline for compatibility-test
2021-03-04 23:14:18 -08:00
Jianbo Sun
198c836849
cherry-pick( #1136 ) fix revision enable workload check and prevent GC if replica>0 ( #1141 )
...
* fix revision enable workload check and prevent GC if replica>0
* fix ci and vet
2021-03-04 18:52:48 -08:00
Ryan Zhang
abf9270473
manual e2e test example with bug fixes
2021-03-01 01:00:27 -08:00
天元
580110ed44
fix apply only once observedGeneration should mark after meet all dependency requirements && add log for apply only once
2021-02-24 17:31:31 +08:00
Jianbo Sun
dd222ac876
refactor cli/dashboard/apiserver to reference folder ( #1084 )
...
* refactor cli/dashboard/apiserver to reference folder
* address comments
2021-02-23 13:03:38 +08:00
Ryan Zhang
d3511415c2
add webhooks to the rollout plan and use AC as App snapshot ( #1031 )
...
* add webhooks
* app controller change
* add component revision and appconfig revision and test
* solidify the component revision logic and fix component revisoin bugs
* fix command cli e2e failure
* fix the bug caused by rawExtention
* fix UT test
* retry on component not found
* lint
* revert component revision create order
2021-02-19 12:11:26 -08:00
roy wang
47ab481eee
implement ApplyOnceOnlyForce
...
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com>
2021-02-06 12:58:32 +09:00
Ryan Zhang
15020660c9
cloneset controller draft
2021-02-04 17:01:22 -08:00
天元
61c256a97c
remove unused dependency installation as we have reduce 3rd party dependency , they will be installed as capability from registry
2021-01-28 14:55:25 +08:00
Ryan Zhang
e664831ff6
application deployment
2021-01-25 22:17:35 -08:00
Jianbo Sun
97f45ae859
code refactor ( #935 )
...
* code refactor
* update boilerplate.go.txt
2021-01-26 10:26:41 +08:00
Weiping Cai
75ecf2f301
support env and config storage driver ( #850 )
...
* support env and config storage driver
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
* use driver.LocalDriverName to replace str
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2021-01-25 16:26:42 +08:00
Ryan Zhang
adbe1f9368
add the rollout code framework
2021-01-20 13:08:00 -08:00
Jianbo Sun
8d0595ed4e
Update cmd/core/main.go
2020-12-31 17:13:13 +08:00
天元
01bd05d0a5
add test for component revision hook
2020-12-31 16:41:55 +08:00
天元
3cb172f7ff
minor fix
2020-12-15 13:55:36 +08:00
天元
c018b4e722
fix log
2020-12-05 15:15:02 +08:00
天元
21cae61f93
build version into vela-core and lock helm version on release
2020-12-04 16:45:37 +08:00
Zheng Xi Zhou
06585fea92
Support disable installation of builtin capabilities ( #687 )
...
* Support disable installation of builtin capabilities
Added vela core bootstrap flag `--enable-caps` to support no
installation for builtin capabiliteis
Feature #658
* revert flag to "disable-cpas"
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* Address comments
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2020-12-04 10:03:25 +08:00
天元
26b4e3c2d5
merge main.go
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 11:08:58 +08:00
天元
6480873e81
change import headers
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 11:08:54 +08:00
天元
2e975e678c
merge code: apis,pkg all moved
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 11:07:50 +08:00
roy wang
6303d311c8
fix lint issues in /pkg/*
...
fix lint issues in /cmd/*
Signed-off-by: roy wang <seiwy2010@gmail.com>
2020-11-26 17:18:54 +09:00
天元
be8403dc0d
standardize project structure: move v1alpha1 into standard.oam.dev group
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-25 21:46:31 +08:00
天元
fc805214c7
standardize project structure: change api to apis
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-25 17:28:09 +08:00
fengxsong
899e7e1647
correct usage of flag 'log-file-path'
2020-11-24 15:34:55 +08:00
天元
3c233d3a9b
fix lint
2020-11-23 15:55:46 +08:00
天元
42c9e68512
fix go sec and remove unnecessary code
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-18 10:34:22 +08:00
天元
5066320a2f
start promethus instance on installation
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-03 16:15:46 +08:00
Siyu Wang
2cfa7b7ec7
Fix invalid defer in waitWebhookSecretVolume
...
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-11-02 20:13:30 +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
天元
4c70136ba1
upgrade oam-k8s-runtime dependency
2020-10-27 15:32:42 +08:00
天元
0990e6fa64
fix autoscaler
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-10-27 10:19:26 +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
天元
04fcad21d4
refactor command and add vela generate-doc for cli
2020-10-20 14:54:02 +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
天元
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
roy wang
53fc9e5b71
add ready/health probes
...
add waiting for webhook secret ready
add unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com>
2020-10-13 18:57:58 +09: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
天元
189175c4db
using Environment intead of ENV fixes #350
2020-10-09 08:21:31 +08:00
Ryan Zhang
3f468e4752
improve helm install
2020-10-02 19:29:31 -07:00
zzxwill
28c3c683a0
Implement component related API
...
Update app list/show, implmented
component show
2020-09-26 21:41:15 +08:00
天元
5ac7265474
vela init to create and run application in one command
2020-09-22 20:07:53 +08:00
天元
3af41f6515
add production certificate issuer and fix route trait
2020-09-18 19:06:51 +08:00
天元
1b9ee5c882
add route trait as vela apigate
2020-09-16 19:42:01 +08:00
Ryan Zhang
dfeff25a31
install dependencies
2020-09-15 22:04:52 -07:00
zzxwill
bc3169a1b5
Rename `vela env switch` to `vela env set`
...
Renaming and update cli documentation
Fix #235
2020-09-11 19:46:45 +08:00
天元
1e4a1159b5
clean up
2020-09-11 17:52:14 +08:00
天元
044df63770
change go package to oam-dev/kubevela
2020-09-11 12:29:12 +08:00
天元
12ecb89bc4
release
2020-09-10 20:33:37 +08:00
天元
1354b4afa4
add golintci and make it happy
2020-09-10 14:57:36 +08:00
Ryan Zhang
fe05ee22de
manually verified
2020-09-01 22:11:16 -07:00
Ryan Zhang
4f270614d7
first step
2020-09-01 00:38:42 -07:00
Ryan Zhang
5f22a8de8a
import trait-injector ( #223 )
...
* import trait-injector
* fix merge error
2020-08-28 16:33:19 +08:00
zzxwill
1845f70c3d
Implement `vela logs`
...
Based on modifed `stern` project, tail logs of pods
of an application
2020-08-28 11:16:25 +08:00
Sun Jianbo
4e86f0d916
Merge pull request #213 from cloud-native-application/import-controllers
...
bootstrap vela core
2020-08-27 16:01:20 +08:00
天元
c23b61b2b2
update readme and beautiful help
2020-08-27 13:27:45 +08:00
Ryan Zhang
291a9e628e
add all the controllers
2020-08-26 21:52:51 -07:00
Ryan Zhang
2478c1a9ae
add the metrics trait
2020-08-26 21:52:26 -07:00
天元
da1831efef
add kubebuilder framework back and import oam-k8s-runtime
2020-08-26 15:38:52 +08:00
天元
40da5a1961
use unix command style and refactor to new design
2020-08-24 19:04:04 +08:00
Zheng Xi Zhou
3916d2d83f
Implement API `api/envs/default/apps/ ( #147 )
...
* Implement API `api/envs/default/apps/
implement API `api/envs/default/apps/ and refactor code
* address comments from @wonderflow and @ryan
* fix code rebase issue
* temporary comment BeforeSuite in integration/integration_suite_test.go to fix make issue
2020-08-17 11:01:31 +08:00
天元
fb73e27de3
fix e2e test
2020-08-14 15:51:51 +08:00
天元
8910384946
minor fixes
2020-08-14 12:47:14 +08:00
天元
2caf373b53
support app:run
2020-08-13 18:05:49 +08:00
天元
1baa6a09d1
support vela cap:remove
2020-08-12 17:08:14 +08:00
天元
df2ad85c9c
do some refactor for code as we change addon to capability
2020-08-12 13:37:20 +08:00
天元
2f94c17890
support vela addon:install
2020-08-12 13:31:31 +08:00
Zheng Xi Zhou
85c0f93bb3
Merge pull request #137 from cloud-native-application/gin-route
...
RESTful framework
2020-08-12 12:10:02 +08:00
Ryan Zhang
b8ef48f728
working version of the RESTful server with samples
2020-08-11 20:45:02 -07:00
Zheng Xi Zhou
8b7f2e1a6e
Show trait type in `app:ls` ( #136 )
...
* Show trait type in `app:ls`
Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90
* Update pkg/cmd/status.go
Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
* followed comments to move some basic traits related functions to system.go
Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
2020-08-11 15:14:14 +08:00
Ryan Zhang
06ed5e4cc1
RESTful framework
2020-08-10 22:53:44 -07:00
guoxudong
5c46477523
Fix failure of bash autocomplete script ( #135 )
...
* fix auto-completion
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-11 12:20:14 +08:00
zzxwill
7d3d6c02eb
Fix help message overridden issue
...
Help message of all subcommands are overridden by
root command. Fix issue #124 , #127
2020-08-10 16:23:07 +08:00
zzxwill
36318ac5aa
Fix typo
...
Rename wrongly spelled `platform`
2020-08-10 14:07:15 +08:00
天元
2a37a6dda7
add addon:update and refactor addon code
2020-08-10 00:08:49 +08:00
天元
6c1ad6c516
fix vela system:init info
2020-08-09 18:34:01 +08:00
erdun
28042ed0b9
show command
2020-08-08 01:34:43 +08:00
天元
9834ee23e2
pretty help
2020-08-07 23:39:45 +08:00
天元
41536fe2cd
add refresh and use local cache instead request cluster every time
2020-08-07 19:56:46 +08:00
guoxudong
5cbd0bef98
add auto-completion command
...
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-07 17:08:24 +08:00
天元
772ea69fa2
remove kube flags
2020-08-07 15:08:35 +08:00
天元
8418534a43
rename rudrx/rudr to vela
2020-08-07 13:40:20 +08:00
Herman Zhu
e6d4b85e39
feat(admin): support `ruder admin:init` and `ruder admin:info` ( #75 )
...
* feat(admin): support `ruder admin:init` and `ruder admin:info`
Support `ruder admin:init` and `ruder admin:info`
Fixes #12
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
* feat(admin): support `ruder admin:init` and `ruder admin:info`
Support `ruder admin:init` and `ruder admin:info`
Fixes #12
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-08-07 13:02:23 +08:00
Sun Jianbo
27d14c3fbb
Merge pull request #96 from zzxwill/addon
...
Implement `addon:config` and `addon:ls`
2020-08-07 10:34:15 +08:00
天元
84d18e43af
fix env init don't create namespace
2020-08-06 16:03:53 +08:00
zzxwill
d2fc983d30
Implement `addon:config` and `addon:ls`
...
Store addon center configuration in ~/.rudr/addon_config;
list workloaddefinitions and traitdefinitions, and check
wheter they are intalled.
2020-08-06 14:43:33 +08:00
天元
ae08333efa
use cue template instead of parameter
2020-08-06 11:58:13 +08:00
Sun Jianbo
72ea2c8782
Merge pull request #73 from zzxwill/unbind
...
Detach trait
2020-08-06 00:16:54 +08:00
zzxwill
fda918ba39
Refine README and add command app:xxx
2020-08-05 21:33:46 +08:00
zzxwill
38b906c0f0
use command `rudr <TraitType>:detach to detach a trait`
2020-08-05 20:06:00 +08:00
zzxwill
7272069bff
remove old detach command from main
2020-08-05 20:06:00 +08:00
zzxwill
0496bff6ea
Detach trait
...
detach trait from an application
2020-08-05 20:06:00 +08:00
zzxwill
bd1fd83c20
address comments from @Wonderflow
2020-08-04 21:16:52 +08:00
zzxwill
01ade795e3
implement `rudr status`
...
Implement `rudr status <APPLICATION-NAME>` to show the status
of the application, its workloads and traits
2020-08-04 21:16:52 +08:00
天元
1b4e79eea6
refactor trait from rudr bind to rudr <trait-type> appname
2020-08-01 21:46:19 +08:00
天元
728ebb33b2
refactor rudr run to rudr <workload>:run
2020-08-01 13:14:06 +08:00
天元
dcf311cd4a
clean up docs and test
2020-07-31 12:18:17 +08:00
天元
89601bee18
support rudr env
2020-07-31 10:34:17 +08:00
zzxwill
318f9e59ae
Correct rebase issue and add e2e test
2020-07-30 23:31:01 +08:00
zzxwill
e91dceac4b
Make modification for latest xxxdefinition.spec.extension
2020-07-29 22:40:39 +08:00
zzxwill
b4065b1174
Move template to definition Extension field
...
As we plan to deprecate template, move template
to workloaddefinition and traitdefinition respectively.
2020-07-29 22:33:40 +08:00
天元
bc52589ab6
init rudr workloads
2020-07-29 18:56:13 +08:00
Herman Zhu
a9f9bc055c
feat(init): Add `rudr init` ( #43 )
...
* feat(init): Add `rudr init`
Support `rudr init` which will check/install oam-k8s-runtime into
cluster
Fixes #12
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
* feat(init): Add `rudr init`
Support `rudr init` which will check/install oam-k8s-runtime into cluster
Fixes #12
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
* feat(init): add version flag
Add version flag
Fixes #12
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
* feat(init): create native resource WorkloadDefinition
Create native resource WorkloadDefinition
Fixes : #12
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-07-29 15:54:21 +08:00
guoxudong
51f9ff4c61
add delete cmd ( #48 )
...
* add delete cmd
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-07-27 10:43:47 +08:00
zzxwill
66d0bdb61b
Implement list applications
...
List appliations and support --application/-a
to filter applicatin lists
2020-07-23 21:40:30 +08:00
erdun
76ad168ccf
fix run bug
2020-07-23 13:08:09 +08:00
erdun
e625745604
add UT
2020-07-21 11:13:47 +08:00
erdun
4875cd2aab
move init code to cobra
2020-07-20 00:17:39 +08:00
zzxwill
20fe71ccb3
Implement `rudr bind`
...
Implement trait binding based on `rudr run`
2020-07-17 13:40:50 +08:00
zzxwill
fff36b6a5a
List traits
...
Support `rudr traits` and `rudr traits --workload NAME`
2020-07-12 23:16:47 +08:00
天元
4f13b58663
init rudrx
2020-07-07 00:12:13 +08:00