values.yaml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. # Operator configuration for orchestrating Materialize
  10. operator:
  11. image:
  12. # -- The Docker repository for the operator image
  13. repository: materialize/orchestratord
  14. # -- The tag/version of the operator image to be used
  15. tag: v0.152.0
  16. # -- Policy for pulling the image: "IfNotPresent" avoids unnecessary re-pulling of images
  17. pullPolicy: IfNotPresent
  18. args:
  19. # -- Log filtering settings for startup logs
  20. startupLogFilter: "INFO,mz_orchestratord=TRACE"
  21. enableInternalStatementLogging: true
  22. # -- Additional columns to display when printing the Materialize CRD in table format.
  23. additionalMaterializeCRDColumns:
  24. ## Example:
  25. #- description: "Metadata from the context annotator"
  26. # jsonPath: ".metadata.annotations['materialize\\.cloud/analytics-context']"
  27. # name: "OrgContext"
  28. # priority: 2
  29. # type: "string"
  30. # Cloud provider configuration
  31. cloudProvider:
  32. # -- Specifies cloud provider. Valid values are 'aws', 'gcp', 'azure' , 'generic', or 'local'
  33. type: "local"
  34. # -- Common cloud provider settings
  35. region: "kind"
  36. # Provider-specific configurations
  37. providers:
  38. # AWS Configuration
  39. aws:
  40. enabled: false
  41. # -- When using AWS, accountID is required
  42. accountID: ""
  43. iam:
  44. roles:
  45. # -- ARN of the IAM role for environmentd
  46. environment: ""
  47. # -- ARN for CREATE CONNECTION feature
  48. connection: ""
  49. # -- GCP Configuration (placeholder for future use)
  50. gcp:
  51. enabled: false
  52. # TODO: Add any other additions for GCP-specific configurations
  53. clusters:
  54. # @ignored
  55. sizes:
  56. mz_probe:
  57. workers: 1
  58. scale: 1
  59. cpu_exclusive: false
  60. cpu_limit: 0.1
  61. credits_per_hour: "0.00"
  62. disk_limit: "1552MiB"
  63. memory_limit: "776MiB"
  64. 25cc:
  65. workers: 1
  66. scale: 1
  67. cpu_exclusive: false
  68. cpu_limit: 0.5
  69. credits_per_hour: "0.25"
  70. disk_limit: "7762MiB"
  71. memory_limit: "3881MiB"
  72. 50cc:
  73. workers: 1
  74. scale: 1
  75. cpu_exclusive: true
  76. cpu_limit: 1
  77. credits_per_hour: "0.5"
  78. disk_limit: "15525MiB"
  79. memory_limit: "7762MiB"
  80. 100cc:
  81. workers: 2
  82. scale: 1
  83. cpu_exclusive: true
  84. cpu_limit: 2
  85. credits_per_hour: "1"
  86. disk_limit: "31050MiB"
  87. memory_limit: "15525MiB"
  88. 200cc:
  89. workers: 4
  90. scale: 1
  91. cpu_exclusive: true
  92. cpu_limit: 4
  93. credits_per_hour: "2"
  94. disk_limit: "62100MiB"
  95. memory_limit: "31050MiB"
  96. 300cc:
  97. workers: 6
  98. scale: 1
  99. cpu_exclusive: true
  100. cpu_limit: 6
  101. credits_per_hour: "3"
  102. disk_limit: "93150MiB"
  103. memory_limit: "46575MiB"
  104. 400cc:
  105. workers: 8
  106. scale: 1
  107. cpu_exclusive: true
  108. cpu_limit: 8
  109. credits_per_hour: "4"
  110. disk_limit: "124201MiB"
  111. memory_limit: "62100MiB"
  112. 600cc:
  113. workers: 12
  114. scale: 1
  115. cpu_exclusive: true
  116. cpu_limit: 12
  117. credits_per_hour: "6"
  118. disk_limit: "186301MiB"
  119. memory_limit: "93150MiB"
  120. 800cc:
  121. workers: 16
  122. scale: 1
  123. cpu_exclusive: true
  124. cpu_limit: 16
  125. credits_per_hour: "8"
  126. disk_limit: "248402MiB"
  127. memory_limit: "124201MiB"
  128. 1200cc:
  129. workers: 24
  130. scale: 1
  131. cpu_exclusive: true
  132. cpu_limit: 24
  133. credits_per_hour: "12"
  134. disk_limit: "372603MiB"
  135. memory_limit: "186301MiB"
  136. 1600cc:
  137. workers: 31
  138. scale: 1
  139. cpu_exclusive: true
  140. cpu_limit: 31
  141. credits_per_hour: "16"
  142. disk_limit: "481280MiB"
  143. memory_limit: "240640MiB"
  144. 3200cc:
  145. workers: 62
  146. scale: 1
  147. cpu_exclusive: true
  148. cpu_limit: 62
  149. credits_per_hour: "32"
  150. disk_limit: "962560MiB"
  151. memory_limit: "481280MiB"
  152. 6400cc:
  153. workers: 62
  154. scale: 2
  155. cpu_exclusive: true
  156. cpu_limit: 62
  157. credits_per_hour: "64"
  158. disk_limit: "962560MiB"
  159. memory_limit: "481280MiB"
  160. defaultSizes:
  161. default: 25cc
  162. system: 25cc
  163. probe: mz_probe
  164. support: 25cc
  165. catalogServer: 25cc
  166. analytics: 25cc
  167. defaultReplicationFactor:
  168. system: 0
  169. probe: 0
  170. support: 0
  171. analytics: 0
  172. # -- Node selector to use for the operator pod
  173. nodeSelector:
  174. # -- Affinity to use for the operator pod
  175. affinity:
  176. # -- Tolerations to use for the operator pod
  177. tolerations:
  178. resources:
  179. # -- Resources requested by the operator for CPU and memory
  180. requests:
  181. cpu: 100m
  182. memory: 512Mi
  183. # -- Resource limits for the operator's CPU and memory
  184. limits:
  185. memory: 512Mi
  186. # -- Which secrets controller to use for storing secrets.
  187. # Valid values are 'kubernetes' and 'aws-secrets-manager'.
  188. # Setting 'aws-secrets-manager' requires a configured AWS cloud provider
  189. # and IAM role for the environment with Secrets Manager permissions.
  190. secretsController: kubernetes
  191. environmentd:
  192. # -- Node selector to use for environmentd pods spawned by the operator
  193. nodeSelector:
  194. # -- Affinity to use for environmentd pods spawned by the operator
  195. affinity:
  196. # -- Tolerations to use for environmentd pods spawned by the operator
  197. tolerations:
  198. clusterd:
  199. # -- Node selector to use for clusterd pods spawned by the operator
  200. nodeSelector:
  201. # -- Affinity to use for clusterd pods spawned by the operator
  202. affinity:
  203. # -- Tolerations to use for clusterd pods spawned by the operator
  204. tolerations:
  205. balancerd:
  206. # -- Flag to indicate whether to create balancerd pods for the environments
  207. enabled: true
  208. # -- Node selector to use for balancerd pods spawned by the operator
  209. nodeSelector:
  210. # -- Affinity to use for balancerd pods spawned by the operator
  211. affinity:
  212. # -- Tolerations to use for balancerd pods spawned by the operator
  213. tolerations:
  214. console:
  215. # -- Flag to indicate whether to create console pods for the environments
  216. enabled: true
  217. # -- Override the mapping of environmentd versions to console versions
  218. imageTagMapOverride: {}
  219. # -- Node selector to use for console pods spawned by the operator
  220. nodeSelector:
  221. # -- Affinity to use for console pods spawned by the operator
  222. affinity:
  223. # -- Tolerations to use for console pods spawned by the operator
  224. tolerations:
  225. # RBAC (Role-Based Access Control) settings
  226. rbac:
  227. # -- Whether to create necessary RBAC roles and bindings
  228. create: true
  229. # -- Optionally use a non-default kubernetes scheduler.
  230. schedulerName:
  231. # Service account settings
  232. serviceAccount:
  233. # -- Whether to create a new service account for the operator
  234. create: true
  235. # -- The name of the service account to be created
  236. name: "orchestratord"
  237. # Observability settings (disabled in this case)
  238. observability:
  239. # -- Whether to enable observability features
  240. enabled: true
  241. podMetrics:
  242. # -- Whether to enable the pod metrics scraper which populates the
  243. # Environment Overview Monitoring tab in the web console (requires
  244. # metrics-server to be installed)
  245. enabled: false
  246. prometheus:
  247. scrapeAnnotations:
  248. # -- Whether to annotate pods with common keys used for prometheus scraping.
  249. enabled: true
  250. telemetry:
  251. enabled: true
  252. segmentApiKey: hMWi3sZ17KFMjn2sPWo9UJGpOQqiba4A
  253. segmentClientSide: true
  254. # Network policies configuration
  255. networkPolicies:
  256. # -- Whether to enable network policies for securing communication between pods
  257. enabled: false
  258. # -- Whether to enable internal communication between Materialize pods
  259. internal:
  260. enabled: false
  261. # -- Whether to enable ingress to the SQL and HTTP interfaces
  262. # on environmentd or balancerd
  263. ingress:
  264. enabled: false
  265. cidrs:
  266. - 0.0.0.0/0
  267. # -- egress from Materialize pods to sources and sinks
  268. egress:
  269. enabled: false
  270. cidrs:
  271. - 0.0.0.0/0
  272. tls:
  273. defaultCertificateSpecs: {}
  274. #balancerdExternal:
  275. # dnsNames:
  276. # - balancerd
  277. # issuerRef:
  278. # name: dns01
  279. # kind: ClusterIssuer
  280. #consoleExternal:
  281. # dnsNames:
  282. # - console
  283. # issuerRef:
  284. # name: dns01
  285. # kind: ClusterIssuer
  286. #internal:
  287. # issuerRef:
  288. # name: dns01
  289. # kind: ClusterIssuer
  290. # Storage configuration
  291. storage:
  292. storageClass:
  293. # -- Set to false to use an existing StorageClass instead.
  294. # Refer to the [Kubernetes StorageClass documentation](https://kubernetes.io/docs/concepts/storage/storage-classes/)
  295. create: false
  296. # -- Name of the StorageClass to create/use: eg "openebs-lvm-instance-store-ext4"
  297. name: ""
  298. # -- CSI driver to use, eg "local.csi.openebs.io"
  299. provisioner: ""
  300. # -- Parameters for the CSI driver
  301. parameters:
  302. storage: "lvm"
  303. fsType: "ext4"
  304. volgroup: "instance-store-vg"
  305. allowVolumeExpansion: false
  306. reclaimPolicy: Delete
  307. volumeBindingMode: WaitForFirstConsumer