123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- # Default values for kuiper.
- # This is a YAML-formatted file.
- # Declare variables to be passed into your templates.
- image:
- repository: lfedge/ekuiper
- pullPolicy: IfNotPresent
- serviceAccount:
- # Specifies whether a service account should be created
- create: true
- # Annotations to add to the service account
- annotations: {}
- # The name of the service account to use.
- # If not set and create is true, a name is generated using the fullname template
- name: ""
- service:
- # -- service type
- type: ClusterIP
- # -- Service ports
- ports:
- ekuiper:
- # -- eKuiper port name
- name: "ekuiper"
- # -- eKuiper port
- port: 20498
- restapi:
- # -- eKuiper restapi port name
- name: "restapi"
- # -- eKuiper restapi port
- port: 9081
- # -- Specify the nodePort(s) value for the LoadBalancer and NodePort service types.
- # ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
- nodePorts:
- ekuiper:
- restapi:
- ## Set the LoadBalancer service type to internal only.
- ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
- ##
- # loadBalancerIP:
- ## Load Balancer sources
- ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
- ## Example:
- ## loadBalancerSourceRanges:
- ## - 10.10.10.0/24
- ##
- # @ignored
- loadBalancerSourceRanges: []
- # -- Provide any additional annotations which may be required. Evaluated as a template
- annotations: {}
- persistence:
- enabled: false
- accessMode: ReadWriteOnce
- # -- Existing PersistentVolumeClaims
- # The value is evaluated as a template
- # So, for example, the name can depend on .Release or .Chart
- existingClaim: ""
- resources: {}
- # We usually recommend not to specify default resources and to leave this as a conscious
- # choice for the user. This also increases chances charts run on environments with little
- # resources, such as Minikube. If you do want to specify resources, uncomment the following
- # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
- # limits:
- # cpu: 100m
- # memory: 128Mi
- # requests:
- # cpu: 100m
- # memory: 128Mi
- nodeSelector: {}
- tolerations: []
- affinity: {}
- # -- clusterDomain Kubernetes Cluster Domain
- clusterDomain: cluster.local
- # -- Enable encryption to eKuiper
- tls:
- # -- tls.enabled Enable TLS support on eKuiper
- enabled: false
- # -- tls.autoGenerated Generate automatically self-signed TLS certificates
- autoGenerated: false
- # -- tls.caCertificate Certificate Authority (CA) bundle content
- caCertificate: |-
- # - tls.serverCertificate Server certificate content
- serverCertificate: |-
- # - tls.serverKey Server private key content
- serverKey: |-
- # - tls.existingSecret Existing secret with certificate content to eKuiper credentials
- existingSecret: ""
- # - tls.existingSecretFullChain Whether or not the existing secret contains the full chain in the certificate (`tls.crt`). Will be used in place of `ca.cert` if `true`.
- existingSecretFullChain: false
- # @ignored
- kuiperConfig:
- "kuiper.yaml":
- basic:
- # true|false, with debug level, it prints more debug info
- debug: false
- # true|false, if it's set to true, then the log will be print to console
- consoleLog: false
- # true|false, if it's set to true, then the log will be print to log file
- fileLog: true
- # How many hours to split the file
- rotateTime: 24
- # Maximum file storage hours
- maxAge: 72
- # CLI ip
- ip: 0.0.0.0
- # CLI port
- port: 20498
- # REST service ip
- restIp: 0.0.0.0
- # REST service port
- restPort: 9081
- # true|false, when true, will check the RSA jwt token for rest api
- authentication: false
- # restTls:
- # certfile: /var/https-server.crt
- # keyfile: /var/https-server.key
- # Prometheus settings
- prometheus: false
- prometheusPort: 20499
- # The URL where hosts all of pre-build plugins. By default it's at packages.emqx.net
- pluginHosts: https://packages.emqx.net
- # Whether to ignore case in SQL processing. Note that, the name of customized function by plugins are case-sensitive.
- ignoreCase: true
- # The default options for all rules. Each rule can override this setting by defining its own option
- rule:
- # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
- # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
- # restored for unintended interrupt or planned restart of the rule. The performance may be affected
- # to enable the checkpoint mechanism
- qos: 0
- # The interval in millisecond to run the checkpoint mechanism.
- checkpointInterval: 300000
- # Whether to send errors to sinks
- sendError: true
- sink:
- # Control to disable cache or not. If it's set to true, then the cache will be disabled, otherwise, it will be enabled.
- enableCache: false
- # The maximum number of messages to be cached in memory.
- memoryCacheThreshold: 1024
- # The maximum number of messages to be cached in the disk.
- maxDiskCache: 1024000
- # The number of messages for a buffer page which is the unit to read/write to disk batchly to prevent frequent IO
- bufferPageSize: 256
- # The interval in millisecond to resend the cached messages
- resendInterval: 0
- # Whether to clean the cache when the rule stops
- cleanCacheAtStop: false
- store:
- #Type of store that will be used for keeping state of the application
- type: sqlite
- extStateType: sqlite
- redis:
- host: localhost
- port: 6379
- password: kuiper
- #Timeout in ms
- timeout: 1000
- sqlite:
- #Sqlite file name, if left empty name of db will be sqliteKV.db
- name:
- # The settings for portable plugin
- portable:
- # The executable of python. Specify this if you have multiple python instances in your system
- # or other circumstance where the python executable cannot be successfully invoked through the default command.
- pythonBin: python
- # TODO
- # -- remove this when the mqtt_source configmap is available
- ekuiperEnv:
- enabled: true
- key:
- mqttDefaultServer: MQTT_SOURCE__DEFAULT__SERVER
- value:
- mqttDefaultServer: "tcp://broker.emqx.io:1883"
|