You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

309 lines
9.0 KiB

4 years ago
  1. # Available parameters and their default values for the SeaweedFS chart.
  2. global:
  3. registry: ""
  4. repository: ""
  5. imageName: chrislusf/seaweedfs
  6. imageTag: "1.93"
  7. imagePullPolicy: IfNotPresent
  8. imagePullSecrets: imagepullsecret
  9. restartPolicy: Always
  10. loggingLevel: 1
  11. enableSecurity: false
  12. monitoring:
  13. enabled: false
  14. gatewayHost: null
  15. gatewayPort: null
  16. image:
  17. registry: ""
  18. repository: ""
  19. master:
  20. enabled: true
  21. repository: null
  22. imageName: null
  23. imageTag: null
  24. imageOverride: null
  25. restartPolicy: null
  26. replicas: 1
  27. port: 9333
  28. grpcPort: 19333
  29. ipBind: "0.0.0.0"
  30. volumePreallocate: false
  31. volumeSizeLimitMB: 30000
  32. loggingOverrideLevel: null
  33. # Disable http request, only gRpc operations are allowed
  34. disableHttp: false
  35. extraVolumes: ""
  36. extraVolumeMounts: ""
  37. # storage and storageClass are the settings for configuring stateful
  38. # storage for the master pods. storage should be set to the disk size of
  39. # the attached volume. storageClass is the class of storage which defaults
  40. # to null (the Kube cluster will pick the default).
  41. storage: 25Gi
  42. storageClass: null
  43. # Resource requests, limits, etc. for the master cluster placement. This
  44. # should map directly to the value of the resources field for a PodSpec,
  45. # formatted as a multi-line string. By default no direct resource request
  46. # is made.
  47. resources: null
  48. # updatePartition is used to control a careful rolling update of SeaweedFS
  49. # masters.
  50. updatePartition: 0
  51. # Affinity Settings
  52. # Commenting out or setting as empty the affinity variable, will allow
  53. # deployment to single node services such as Minikube
  54. affinity: |
  55. podAntiAffinity:
  56. requiredDuringSchedulingIgnoredDuringExecution:
  57. - labelSelector:
  58. matchLabels:
  59. app: {{ template "seaweedfs.name" . }}
  60. release: "{{ .Release.Name }}"
  61. component: master
  62. topologyKey: kubernetes.io/hostname
  63. # Toleration Settings for master pods
  64. # This should be a multi-line string matching the Toleration array
  65. # in a PodSpec.
  66. tolerations: ""
  67. # nodeSelector labels for master pod assignment, formatted as a muli-line string.
  68. # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  69. # Example:
  70. # nodeSelector: |
  71. # beta.kubernetes.io/arch: amd64
  72. nodeSelector: |
  73. sw-backend: "true"
  74. # used to assign priority to master pods
  75. # ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
  76. priorityClassName: ""
  77. volume:
  78. enabled: true
  79. repository: null
  80. imageName: null
  81. imageTag: null
  82. imageOverride: null
  83. restartPolicy: null
  84. port: 8080
  85. grpcPort: 18080
  86. ipBind: "0.0.0.0"
  87. replicas: 1
  88. loggingOverrideLevel: null
  89. # limit background compaction or copying speed in mega bytes per second
  90. compactionMBps: "40"
  91. # Directories to store data files. dir[,dir]... (default "/tmp")
  92. dir: "/data"
  93. # Maximum numbers of volumes, count[,count]...
  94. # If set to zero on non-windows OS, the limit will be auto configured. (default "7")
  95. maxVolumes: "0"
  96. # Volume server's rack name
  97. rack: null
  98. # Volume server's data center name
  99. dataCenter: null
  100. # Redirect moved or non-local volumes. (default true)
  101. readRedirect: true
  102. # Comma separated Ip addresses having write permission. No limit if empty.
  103. whiteList: null
  104. # Adjust jpg orientation when uploading.
  105. imagesFixOrientation: false
  106. extraVolumes: ""
  107. extraVolumeMounts: ""
  108. # Affinity Settings
  109. # Commenting out or setting as empty the affinity variable, will allow
  110. # deployment to single node services such as Minikube
  111. affinity: |
  112. podAntiAffinity:
  113. requiredDuringSchedulingIgnoredDuringExecution:
  114. - labelSelector:
  115. matchLabels:
  116. app: {{ template "seaweedfs.name" . }}
  117. release: "{{ .Release.Name }}"
  118. component: volume
  119. topologyKey: kubernetes.io/hostname
  120. # Resource requests, limits, etc. for the server cluster placement. This
  121. # should map directly to the value of the resources field for a PodSpec,
  122. # formatted as a multi-line string. By default no direct resource request
  123. # is made.
  124. resources: null
  125. # Toleration Settings for server pods
  126. # This should be a multi-line string matching the Toleration array
  127. # in a PodSpec.
  128. tolerations: ""
  129. # nodeSelector labels for server pod assignment, formatted as a muli-line string.
  130. # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  131. # Example:
  132. # nodeSelector: |
  133. # beta.kubernetes.io/arch: amd64
  134. nodeSelector: |
  135. sw-volume: "true"
  136. # used to assign priority to server pods
  137. # ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
  138. priorityClassName: ""
  139. filer:
  140. enabled: true
  141. repository: null
  142. imageName: null
  143. imageTag: null
  144. imageOverride: null
  145. restartPolicy: null
  146. replicas: 1
  147. port: 8888
  148. grpcPort: 18888
  149. loggingOverrideLevel: null
  150. # Limit sub dir listing size (default 100000)
  151. dirListLimit: 100000
  152. # Turn off directory listing
  153. disableDirListing: false
  154. # Disable http request, only gRpc operations are allowed
  155. disableHttp: false
  156. # storage and storageClass are the settings for configuring stateful
  157. # storage for the master pods. storage should be set to the disk size of
  158. # the attached volume. storageClass is the class of storage which defaults
  159. # to null (the Kube cluster will pick the default).
  160. storage: 25Gi
  161. storageClass: null
  162. extraVolumes: ""
  163. extraVolumeMounts: ""
  164. # Affinity Settings
  165. # Commenting out or setting as empty the affinity variable, will allow
  166. # deployment to single node services such as Minikube
  167. affinity: |
  168. podAntiAffinity:
  169. requiredDuringSchedulingIgnoredDuringExecution:
  170. - labelSelector:
  171. matchLabels:
  172. app: {{ template "seaweedfs.name" . }}
  173. release: "{{ .Release.Name }}"
  174. component: filer
  175. topologyKey: kubernetes.io/hostname
  176. # updatePartition is used to control a careful rolling update of SeaweedFS
  177. # masters.
  178. updatePartition: 0
  179. # Resource requests, limits, etc. for the server cluster placement. This
  180. # should map directly to the value of the resources field for a PodSpec,
  181. # formatted as a multi-line string. By default no direct resource request
  182. # is made.
  183. resources: null
  184. # Toleration Settings for server pods
  185. # This should be a multi-line string matching the Toleration array
  186. # in a PodSpec.
  187. tolerations: ""
  188. # nodeSelector labels for server pod assignment, formatted as a muli-line string.
  189. # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  190. # Example:
  191. # nodeSelector: |
  192. # beta.kubernetes.io/arch: amd64
  193. nodeSelector: |
  194. sw-backend: "true"
  195. # used to assign priority to server pods
  196. # ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
  197. priorityClassName: ""
  198. dbSchema:
  199. imageName: db-schema
  200. imageTag: "development"
  201. imageOverride: ""
  202. # extraEnvVars is a list of extra enviroment variables to set with the stateful set.
  203. extraEnvironmentVars:
  204. WEED_MYSQL_ENABLED: "true"
  205. WEED_MYSQL_HOSTNAME: "mysql-db-host"
  206. WEED_MYSQL_PORT: "3306"
  207. WEED_MYSQL_DATABASE: "sw_database"
  208. WEED_MYSQL_CONNECTION_MAX_IDLE: "10"
  209. WEED_MYSQL_CONNECTION_MAX_OPEN: "150"
  210. # enable usage of memsql as filer backend
  211. WEED_MYSQL_INTERPOLATEPARAMS: "true"
  212. WEED_LEVELDB2_ENABLED: "false"
  213. # with http DELETE, by default the filer would check whether a folder is empty.
  214. # recursive_delete will delete all sub folders and files, similar to "rm -Rf"
  215. WEED_FILER_OPTIONS_RECURSIVE_DELETE: "false"
  216. # directories under this folder will be automatically creating a separate bucket
  217. WEED_FILER_BUCKETS_FOLDER: "/buckets"
  218. # directories under this folder will be store message queue data
  219. WEED_FILER_QUEUES_FOLDER: "/queues"
  220. s3:
  221. enabled: true
  222. repository: null
  223. imageName: null
  224. imageTag: null
  225. restartPolicy: null
  226. replicas: 1
  227. port: 8333
  228. loggingOverrideLevel: null
  229. # Suffix of the host name, {bucket}.{domainName}
  230. domainName: ""
  231. extraVolumes: ""
  232. extraVolumeMounts: ""
  233. # Resource requests, limits, etc. for the server cluster placement. This
  234. # should map directly to the value of the resources field for a PodSpec,
  235. # formatted as a multi-line string. By default no direct resource request
  236. # is made.
  237. resources: null
  238. # Toleration Settings for server pods
  239. # This should be a multi-line string matching the Toleration array
  240. # in a PodSpec.
  241. tolerations: ""
  242. # nodeSelector labels for server pod assignment, formatted as a muli-line string.
  243. # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  244. # Example:
  245. # nodeSelector: |
  246. # beta.kubernetes.io/arch: amd64
  247. nodeSelector: |
  248. sw-backend: "true"
  249. # used to assign priority to server pods
  250. # ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
  251. priorityClassName: ""
  252. certificates:
  253. commonName: "SeaweedFS CA"
  254. ipAddresses: []
  255. keyAlgorithm: rsa
  256. keySize: 2048
  257. duration: 2160h # 90d
  258. renewBefore: 360h # 15d