* 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>
Init: Using CUE to implement OAM model on Kubernetes server side
* vela server
* fix refator
* lint code
* vela server
* fix refator
* lint code
* rebase upstream
* remove lister
* add vela-server sample
* fix lint error
* fix lint error
* fix check-diff error
* add test case
* add test case for application controller
* add reconciler test with ginkgo
* remove make server
* remove the kustomize scripts
* fix units test bug
* config direct
* suite test
* add application validater
Co-authored-by: lj176172 <lj176172@alibaba-inc.com>
* Autoscaler for appfile
completed spec.extension.template to support autoscale in
cli and appfile
* add alias name to cpuRequest in Cli for deploying webservice
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>
* 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>
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