values.yaml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. # Default values for kuiper.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. image:
  5. repository: lfedge/ekuiper
  6. pullPolicy: IfNotPresent
  7. serviceAccount:
  8. # Specifies whether a service account should be created
  9. create: true
  10. # Annotations to add to the service account
  11. annotations: {}
  12. # The name of the service account to use.
  13. # If not set and create is true, a name is generated using the fullname template
  14. name: ""
  15. service:
  16. # -- service type
  17. type: ClusterIP
  18. # -- Service ports
  19. ports:
  20. ekuiper:
  21. # -- eKuiper port name
  22. name: "ekuiper"
  23. # -- eKuiper port
  24. port: 20498
  25. restapi:
  26. # -- eKuiper restapi port name
  27. name: "restapi"
  28. # -- eKuiper restapi port
  29. port: 9081
  30. # -- Specify the nodePort(s) value for the LoadBalancer and NodePort service types.
  31. # ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  32. nodePorts:
  33. ekuiper:
  34. restapi:
  35. ## Set the LoadBalancer service type to internal only.
  36. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  37. ##
  38. # loadBalancerIP:
  39. ## Load Balancer sources
  40. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  41. ## Example:
  42. ## loadBalancerSourceRanges:
  43. ## - 10.10.10.0/24
  44. ##
  45. # @ignored
  46. loadBalancerSourceRanges: []
  47. # -- Provide any additional annotations which may be required. Evaluated as a template
  48. annotations: {}
  49. persistence:
  50. enabled: false
  51. accessMode: ReadWriteOnce
  52. # -- Existing PersistentVolumeClaims
  53. # The value is evaluated as a template
  54. # So, for example, the name can depend on .Release or .Chart
  55. existingClaim: ""
  56. resources: {}
  57. # We usually recommend not to specify default resources and to leave this as a conscious
  58. # choice for the user. This also increases chances charts run on environments with little
  59. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  60. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  61. # limits:
  62. # cpu: 100m
  63. # memory: 128Mi
  64. # requests:
  65. # cpu: 100m
  66. # memory: 128Mi
  67. nodeSelector: {}
  68. tolerations: []
  69. affinity: {}
  70. # -- clusterDomain Kubernetes Cluster Domain
  71. clusterDomain: cluster.local
  72. # -- Enable encryption to eKuiper
  73. tls:
  74. # -- tls.enabled Enable TLS support on eKuiper
  75. enabled: false
  76. # -- tls.autoGenerated Generate automatically self-signed TLS certificates
  77. autoGenerated: false
  78. # -- tls.caCertificate Certificate Authority (CA) bundle content
  79. caCertificate: |-
  80. # - tls.serverCertificate Server certificate content
  81. serverCertificate: |-
  82. # - tls.serverKey Server private key content
  83. serverKey: |-
  84. # - tls.existingSecret Existing secret with certificate content to eKuiper credentials
  85. existingSecret: ""
  86. # - 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`.
  87. existingSecretFullChain: false
  88. # @ignored
  89. kuiperConfig:
  90. "kuiper.yaml":
  91. basic:
  92. # true|false, with debug level, it prints more debug info
  93. debug: false
  94. # true|false, if it's set to true, then the log will be print to console
  95. consoleLog: false
  96. # true|false, if it's set to true, then the log will be print to log file
  97. fileLog: true
  98. # How many hours to split the file
  99. rotateTime: 24
  100. # Maximum file storage hours
  101. maxAge: 72
  102. # CLI ip
  103. ip: 0.0.0.0
  104. # CLI port
  105. port: 20498
  106. # REST service ip
  107. restIp: 0.0.0.0
  108. # REST service port
  109. restPort: 9081
  110. # true|false, when true, will check the RSA jwt token for rest api
  111. authentication: false
  112. # restTls:
  113. # certfile: /var/https-server.crt
  114. # keyfile: /var/https-server.key
  115. # Prometheus settings
  116. prometheus: false
  117. prometheusPort: 20499
  118. # The URL where hosts all of pre-build plugins. By default it's at packages.emqx.net
  119. pluginHosts: https://packages.emqx.net
  120. # Whether to ignore case in SQL processing. Note that, the name of customized function by plugins are case-sensitive.
  121. ignoreCase: true
  122. # The default options for all rules. Each rule can override this setting by defining its own option
  123. rule:
  124. # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
  125. # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
  126. # restored for unintended interrupt or planned restart of the rule. The performance may be affected
  127. # to enable the checkpoint mechanism
  128. qos: 0
  129. # The interval in millisecond to run the checkpoint mechanism.
  130. checkpointInterval: 300000
  131. # Whether to send errors to sinks
  132. sendError: true
  133. sink:
  134. # Control to disable cache or not. If it's set to true, then the cache will be disabled, otherwise, it will be enabled.
  135. enableCache: false
  136. # The maximum number of messages to be cached in memory.
  137. memoryCacheThreshold: 1024
  138. # The maximum number of messages to be cached in the disk.
  139. maxDiskCache: 1024000
  140. # The number of messages for a buffer page which is the unit to read/write to disk batchly to prevent frequent IO
  141. bufferPageSize: 256
  142. # The interval in millisecond to resend the cached messages
  143. resendInterval: 0
  144. # Whether to clean the cache when the rule stops
  145. cleanCacheAtStop: false
  146. store:
  147. #Type of store that will be used for keeping state of the application
  148. type: sqlite
  149. extStateType: sqlite
  150. redis:
  151. host: localhost
  152. port: 6379
  153. password: kuiper
  154. #Timeout in ms
  155. timeout: 1000
  156. sqlite:
  157. #Sqlite file name, if left empty name of db will be sqliteKV.db
  158. name:
  159. # The settings for portable plugin
  160. portable:
  161. # The executable of python. Specify this if you have multiple python instances in your system
  162. # or other circumstance where the python executable cannot be successfully invoked through the default command.
  163. pythonBin: python
  164. # TODO
  165. # -- remove this when the mqtt_source configmap is available
  166. ekuiperEnv:
  167. enabled: true
  168. key:
  169. mqttDefaultServer: MQTT_SOURCE__DEFAULT__SERVER
  170. value:
  171. mqttDefaultServer: "tcp://broker.emqx.io:1883"