values.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. # Default values for kuiper.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. replicaCount: 1
  5. image:
  6. repository: lfedge/ekuiper
  7. pullPolicy: IfNotPresent
  8. service:
  9. ## Service type
  10. ##
  11. type: ClusterIP
  12. ## Port for Kuiper
  13. ##
  14. kuiper: 20498
  15. ## Port for RestApi
  16. ##
  17. restapi: 9081
  18. ## Specify the nodePort(s) value for the LoadBalancer and NodePort service types.
  19. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  20. ##
  21. nodePorts:
  22. kuiper:
  23. restapi:
  24. ## Set the LoadBalancer service type to internal only.
  25. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  26. ##
  27. # loadBalancerIP:
  28. ## Load Balancer sources
  29. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  30. ## Example:
  31. ## loadBalancerSourceRanges:
  32. ## - 10.10.10.0/24
  33. ##
  34. loadBalancerSourceRanges: []
  35. ## Provide any additional annotations which may be required. Evaluated as a template
  36. ##
  37. annotations: {}
  38. persistence:
  39. enabled: false
  40. size: 20Mi
  41. ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
  42. ## Default: volume.alpha.kubernetes.io/storage-class: default
  43. # storageClass: "-"
  44. accessMode: ReadWriteOnce
  45. ## Existing PersistentVolumeClaims
  46. ## The value is evaluated as a template
  47. ## So, for example, the name can depend on .Release or .Chart
  48. # existingClaim: ""
  49. resources: {}
  50. # We usually recommend not to specify default resources and to leave this as a conscious
  51. # choice for the user. This also increases chances charts run on environments with little
  52. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  53. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  54. # limits:
  55. # cpu: 100m
  56. # memory: 128Mi
  57. # requests:
  58. # cpu: 100m
  59. # memory: 128Mi
  60. nodeSelector: {}
  61. tolerations: []
  62. affinity: {}
  63. kuiperConfig:
  64. "client.yaml":
  65. basic:
  66. host: 127.0.0.1
  67. port: 20498
  68. "kuiper.yaml":
  69. basic:
  70. # true|false, with debug level, it prints more debug info
  71. debug: false
  72. # true|false, if it's set to true, then the log will be print to console
  73. consoleLog: false
  74. # true|false, if it's set to true, then the log will be print to log file
  75. fileLog: true
  76. # How many hours to split the file
  77. rotateTime: 24
  78. # Maximum file storage hours
  79. maxAge: 72
  80. # CLI ip
  81. ip: 0.0.0.0
  82. # CLI port
  83. port: 20498
  84. # REST service ip
  85. restIp: 0.0.0.0
  86. # REST service port
  87. restPort: 9081
  88. # true|false, when true, will check the RSA jwt token for rest api
  89. authentication: false
  90. # restTls:
  91. # certfile: /var/https-server.crt
  92. # keyfile: /var/https-server.key
  93. # Prometheus settings
  94. prometheus: false
  95. prometheusPort: 20499
  96. # The URL where hosts all of pre-build plugins. By default it's at packages.emqx.net
  97. pluginHosts: https://packages.emqx.net
  98. # Whether to ignore case in SQL processing. Note that, the name of customized function by plugins are case-sensitive.
  99. ignoreCase: true
  100. # The default options for all rules. Each rule can override this setting by defining its own option
  101. rule:
  102. # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
  103. # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
  104. # restored for unintended interrupt or planned restart of the rule. The performance may be affected
  105. # to enable the checkpoint mechanism
  106. qos: 0
  107. # The interval in millisecond to run the checkpoint mechanism.
  108. checkpointInterval: 300000
  109. # Whether to send errors to sinks
  110. sendError: true
  111. sink:
  112. # The cache persistence threshold size. If the message in sink cache is larger than 10, then it triggers persistence. If you find
  113. # the remote system is slow to response, or sink throughput is small, then it's recommend to increase below 2 configurations.
  114. # More memory is required with the increase of below 2 configurations.
  115. # If the message count reaches below value, then it triggers persistence.
  116. cacheThreshold: 10
  117. # The message persistence is triggered by a ticker, and cacheTriggerCount is for using configure the count to trigger the persistence procedure
  118. # regardless if the message number reaches cacheThreshold or not. This is to prevent the data won't be saved as the cache never pass the threshold.
  119. cacheTriggerCount: 15
  120. # Control to disable cache or not. If it's set to true, then the cache will be disabled, otherwise, it will be enabled.
  121. disableCache: true
  122. store:
  123. #Type of store that will be used for keeping state of the application
  124. type: sqlite
  125. redis:
  126. host: localhost
  127. port: 6379
  128. password: kuiper
  129. #Timeout in ms
  130. timeout: 1000
  131. sqlite:
  132. #Sqlite file name, if left empty name of db will be sqliteKV.db
  133. name:
  134. # The settings for portable plugin
  135. portable:
  136. # The executable of python. Specify this if you have multiple python instances in your system
  137. # or other circumstance where the python executable cannot be successfully invoked through the default command.
  138. pythonBin: python
  139. "connections/connection.yaml":
  140. mqtt:
  141. localConnection: #connection key
  142. servers: [ tcp://127.0.0.1:1883 ]
  143. username: ekuiper
  144. password: password
  145. #certificationPath: /var/kuiper/xyz-certificate.pem
  146. #privateKeyPath: /var/kuiper/xyz-private.pem.key
  147. #rootCaPath: /var/kuiper/xyz-rootca.pem
  148. #insecureSkipVerify: false
  149. #protocolVersion: 3
  150. clientid: ekuiper
  151. cloudConnection: #connection key
  152. servers: [ "tcp://broker.emqx.io:1883" ]
  153. username: user1
  154. password: password
  155. #certificationPath: /var/kuiper/xyz-certificate.pem
  156. #privateKeyPath: /var/kuiper/xyz-private.pem.ke
  157. #rootCaPath: /var/kuiper/xyz-rootca.pem
  158. #insecureSkipVerify: false
  159. #protocolVersion: 3
  160. edgex:
  161. redisMsgBus: #connection key
  162. protocol: redis
  163. server: 127.0.0.1
  164. port: 6379
  165. type: redis
  166. # Below is optional configurations settings for mqtt
  167. # type: mqtt
  168. # optional:
  169. # ClientId: client1
  170. # Username: user1
  171. # Password: password
  172. # Qos: 1
  173. # KeepAlive: 5000
  174. # Retained: true/false
  175. # ConnectionPayload:
  176. # CertFile:
  177. # KeyFile:
  178. # CertPEMBlock:
  179. # KeyPEMBlock:
  180. # SkipCertVerify: true/false
  181. mqttMsgBus: #connection key
  182. protocol: tcp
  183. server: 127.0.0.1
  184. port: 1883
  185. topic: events
  186. type: mqtt
  187. optional:
  188. ClientId: "client1"
  189. "mqtt_source.yaml":
  190. #Global MQTT configurations
  191. default:
  192. qos: 1
  193. servers: [ tcp://127.0.0.1:1883 ]
  194. #username: user1
  195. #password: password
  196. #certificationPath: /var/kuiper/xyz-certificate.pem
  197. #privateKeyPath: /var/kuiper/xyz-private.pem.key
  198. #rootCaPath: /var/kuiper/xyz-rootca.pem
  199. #insecureSkipVerify: false
  200. #connectionSelector: mqtt.mqtt_conf1
  201. #kubeedgeVersion:
  202. #kubeedgeModelFile: ""
  203. demo_conf: #Conf_key
  204. qos: 0
  205. servers: [ tcp://10.211.55.6:1883, tcp://127.0.0.1 ]
  206. "sources/edgex.yaml":
  207. #Global Edgex configurations
  208. default:
  209. protocol: redis
  210. server: localhost
  211. port: 5563
  212. topic: events
  213. type: redis
  214. # Could be 'event' or 'request'.
  215. # If the message is from app service, the message type is an event;
  216. # Otherwise, if it is from the message bus directly, it should be a request
  217. messageType: event
  218. # Below is optional configurations settings for mqtt
  219. # type: mqtt
  220. # optional:
  221. # ClientId: client1
  222. # Username: user1
  223. # Password: password
  224. # Qos: 1
  225. # KeepAlive: 5000
  226. # Retained: true/false
  227. # ConnectionPayload:
  228. # CertFile:
  229. # KeyFile:
  230. # CertPEMBlock:
  231. # KeyPEMBlock:
  232. # SkipCertVerify: true/false
  233. #Override the global configurations
  234. zmq_conf: #Conf_key
  235. protocol: tcp
  236. server: localhost
  237. port: 5563
  238. topic: events
  239. type: zero
  240. messageType: event
  241. application_conf: #Conf_key
  242. protocol: tcp
  243. server: localhost
  244. port: 5571
  245. topic: application
  246. type: zero
  247. messageType: request
  248. mqtt_conf: #Conf_key
  249. protocol: tcp
  250. server: 127.0.0.1
  251. port: 1883
  252. topic: events
  253. type: mqtt
  254. optional:
  255. ClientId: "client1"
  256. share_conf: #Conf_key
  257. protocol: tcp
  258. server: 127.0.0.1
  259. port: 1883
  260. topic: events
  261. type: mqtt
  262. connectionSelector: edgex.redisMsgBus
  263. "sources/file.yaml":
  264. default:
  265. fileType: json
  266. # The directory of the file relative to kuiper root or an absolute path.
  267. # Do not include the file name here. The file name should be defined in the stream data source
  268. path: data
  269. # The interval between reading the files, time unit is ms. If only read once, set it to 0
  270. interval: 0
  271. test:
  272. path: test
  273. "sources/httppull.yaml":
  274. #Global httppull configurations
  275. default:
  276. # url of the request server address
  277. url: http://localhost
  278. # post, get, put, delete
  279. method: post
  280. # The interval between the requests, time unit is ms
  281. interval: 10000
  282. # The timeout for http request, time unit is ms
  283. timeout: 5000
  284. # If it's set to true, then will compare with last result; If response of two requests are the same, then will skip sending out the result.
  285. # The possible setting could be: true/false
  286. incremental: false
  287. # The body of request, such as '{"data": "data", "method": 1}'
  288. body: '{}'
  289. # Body type, none|text|json|html|xml|javascript|form
  290. bodyType: json
  291. # Control if to skip the certification verification. If it is set to true, then skip certification verification; Otherwise, verify the certification
  292. insecureSkipVerify: true
  293. # HTTP headers required for the request
  294. headers:
  295. Accept: application/json
  296. #Override the global configurations
  297. application_conf: #Conf_key
  298. incremental: true
  299. url: http://localhost:9090/
  300. "sources/memory.yaml":
  301. "sources/random.yaml":
  302. default:
  303. interval: 1000
  304. seed: 1
  305. pattern:
  306. count: 50
  307. deduplicate: 0
  308. ext:
  309. interval: 100
  310. dedup:
  311. interval: 100
  312. deduplicate: 50
  313. "sources/zmq.yaml":
  314. #Global Zmq configurations
  315. default:
  316. server: tcp://127.0.0.1:5563