Files
kubevela/design/api/vela-controller-params-reference.md
yangsoon e217e9e0df add autoGenWorkloadDefinition option (#1804)
add autoGenWorkloadDefinition option to choose whether to create workloaddef via webhook
2021-06-18 23:40:12 +08:00

4.1 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 2h controller shared informer lister full re-sync period
system-definition-namespace string vela-system define the namespace of the system-level definition
concurrent-reconciles int 4 concurrent-reconciles is the concurrent reconcile number of the controller.
depend-check-wait time 30s depend-check-wait is the time to wait for ApplicationConfiguration's dependent-resource ready.