Files
kubevela/design/api/vela-controller-params-reference.md
T
+2 7103f8ff52 Feat: merge master into apiserver (#2660)
* Feat(rollout): fill rolloutBatches if empty when scale up/down (#2569)

* Feat: fill rolloutBatches if empty

* Fix: fix unit-test

* Test: add more test

Fix: lint

Fix: fix lint

* Update release.yml (#2537)

* Feat: add registry, merge registry and cap center (#2528)

* Feat: add registry command

* Refactor: comp/trait command combine with registry

* Feat: refactor `vela comp/trait`

* Fix: import

* Fix: fix if type is autodetects.core.oam.dev

* Fix: fix list from url

* Fix: test

* Feat: add test

* Fix: remove dup test

* Fix: test

* Fix: test

* Fix: fix label filter

* Fix: reviewable

* Fix test

* fix personal repo in test

* Fix test

* Fix test

* add some boundary check

* reviewable

* Fix: fix nocalhost trait (#2577)

* fix incorrect addon status (#2576)

* Fix(cli): client-side throttling in vela CLI (#2581)

* fix cli throttling

* fix import

* set to a lower value

* remove addon with no defs (#2574)

* Feat: vela logs support multicluster (#2593)

* Feat: add basic multiple cluster logs

* fix context

* Fix select style

* Fix select style

* remove useless env

* fix naming

* Feat: vela cluster support use ocm to join/list/detach cluster (#2599)

* Feat: add render component and apply component remaining (#2587)

* Feat: add render component and apply component remaining

* fix ut

* fix e2e

* allow import package in custom status cue template (#2585)

Co-authored-by: chwetion <chwetion@foxmail.com>

* Fix: abnormal aux name (#2612)

* Feat: store workflow step def properties in cm (#2592)

* Fix: fix notification def

* Feat: store workflow step def properties in cm

* fix ci

* fix data race

* Fix: change Initializer to Application for addon Observability (#2615)

In this doc, updated the Observability implementation from initializer
to Application. I also store definitions as it's not well stored in
vela-templates/addons/observability

* Fix: fix backport param (#2611)

* Fix: add owner reference in workflow context cm (#2573)

* Fix: add owner reference in workflow context cm

* fix ci

* delete useless test case

* Fix: op.delete bugs (#2622)

* Fix: op.delete some bugs

* Fix: app status update error

Fix: make reviewable

* Fix: show reconcile error log (#2626)

* Feat: add reconcile timeout configuration for vela-core (#2630)

* Fix: patch status retry while conflict happens (#2629)

* Fix: allow definition schema cm can be same name in different definition type (#2618)

* Fix: fix definition schema cm name

* fix ut

* fix ut

* fix show

* add switch default case

* Feat: remove envbinding policy into workflow (#2556)

Fix: add more test

* Feat: add vela prob to test cluster (#2635)

* Fix: upgrade stern lib to avoid panic for vela logs (#2650)

* Fix: filter loggable workload in vela logs (#2651)

* Fix: filter loggable workload in vela logs

* reviewable

* Feat: add vela exec for multi cluster (#2299)

fix

support vela exec

* Fix: health check will check for multiclusters (#2645)

* Fix: minor fix for vela cli printing (#2655)

* Fix: minor fix for vela cli printing

* add dockerfile go mod cache

* Feat: support apiserver-related multicluster features (#2625)

* Feat: remove envbinding policy into workflow

Feat: add support for env change (env gc)

Fix: fix rollout timeout setting bug

* Feat: support disable trait and env without workflow

* Fix: add hint for replaced value

Co-authored-by: wyike <wangyike_wyk@163.com>
Co-authored-by: basefas <basefas@hotmail.com>
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com>
Co-authored-by: Tianxin Dong <dongtianxin.tx@alibaba-inc.com>
Co-authored-by: yangsoon <yangsoonlx@gmail.com>
Co-authored-by: Chwetion <137953601@qq.com>
Co-authored-by: chwetion <chwetion@foxmail.com>
Co-authored-by: Jian.Li <74582607+leejanee@users.noreply.github.com>
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2021-11-09 13:06:55 +08:00

6.2 KiB

KubeVela Controller Parameters Reference

parameter type default describe
use-webhook bool false Enable Admission Webhook
webhook-cert-dir string /k8s-webhook-server/serving-certs Admission webhook cert/key dir.
webhook-port int 9443 Admission webhook listen address
metrics-addr string :8080 The address the metric endpoint binds to.
enable-leader-election bool false Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
leader-election-namespace string "" Determines the namespace in which the leader election configmap will be created.
log-file-path string "" The file to write logs to.
log-file-max-size int 1024 Defines the maximum size a log file can grow to, Unit is megabytes.
log-debug bool false Enable debug logs for development purpose
revision-limit int 50 revision-limit is the maximum number of revisions that will be maintained. The default value is 50.
application-revision-limit int 10 application-revision-limit is the maximum number of application useless revisions that will be maintained, if the useless revisions exceed this number, older ones will be GCed first.The default value is 10.
definition-revision-limit int 20 definition-revision-limit is the maximum number of component/trait definition useless revisions that will be maintained, if the useless revisions exceed this number, older ones will be GCed first.The default value is 20.
custom-revision-hook-url string "" custom-revision-hook-url is a webhook url which will let KubeVela core to call with applicationConfiguration and component info and return a customized component revision
app-config-installed bool true app-config-installed indicates if applicationConfiguration CRD is installed
autogen-workload-definition bool true Automatic generated workloadDefinition which componentDefinition refers to
health-addr string :9440 The address the health endpoint binds to.
apply-once-only string false For the purpose of some production environment that workload or trait should not be affected if no spec change, available options: on, off, force.
disable-caps string "" To be disabled builtin capability list.
storage-driver string Local Application file save to the storage driver
informer-re-sync-interval time 1h Controller shared informer lister full re-sync period, the interval between two routinely reconciles for one CR (like Application) if no changes made to it.
reconcile-timeout time 3m The timeout for controller reconcile.
system-definition-namespace string vela-system define the namespace of the system-level definition
concurrent-reconciles int 4 The concurrent reconcile number of the controller. You can increase the degree of concurrency if a large number of CPU cores are provided to the controller.
kube-api-qps int 50 The qps for reconcile k8s clients. Increase it if you have high concurrency. A small number might restrict the requests to the api-server which may cause a long waiting queue when there are a large number of inflight requests. Try to avoid setting it too high since it will cause large burden on apiserver.
kube-api-burst int 100 The burst for reconcile k8s clients. The usage of this parameter is similar to kube-api-qps. Setting it to be larger than kube-api-qps allows accepting more requests temporarily.
depend-check-wait time 30s depend-check-wait is the time to wait for ApplicationConfiguration's dependent-resource ready.
oam-spec-var string v0.3 the oam spec version controller want to set-up
pprof-addr string "" The address for pprof to use while profiling, empty means disable.
perf-enabled bool false Enable performance logging for controllers, disabled by default.
Scale #Nodes #Applications #Pods concurrent-reconciles kube-api-qps kube-api-burst CPU Memory
Small < 200 < 3,000 < 18,000 2 300 500 0.5 1Gi
Medium < 500 < 5,000 < 30,000 4 500 800 1 2Gi
Large < 1,000 < 12,000 < 72,000 4 800 1,000 2 4Gi

For details, read KubeVela Performance Test Report