values-prod.yaml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. # Default values for cloudpods.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. createCRD: true
  5. operator:
  6. replicaCount: 1
  7. syncUser: true
  8. disableNodeSelectorController: true
  9. resources: {}
  10. # We usually recommend not to specify default resources and to leave this as a conscious
  11. # choice for the user. This also increases chances charts run on environments with little
  12. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  13. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  14. # limits:
  15. # cpu: 100m
  16. # memory: 128Mi
  17. # requests:
  18. # cpu: 100m
  19. # memory: 128Mi
  20. nodeSelector: {}
  21. tolerations:
  22. - key: node-role.kubernetes.io/master
  23. effect: NoSchedule
  24. - key: node-role.kubernetes.io/controlplane
  25. effect: NoSchedule
  26. affinity: {}
  27. image:
  28. repository: "registry.cn-beijing.aliyuncs.com/yunion/onecloud-operator"
  29. pullPolicy: Always
  30. # Overrides the image tag whose default is the chart appVersion.
  31. tag: "v4.0.2"
  32. imagePullSecrets: []
  33. podAnnotations: {}
  34. podSecurityContext: {}
  35. # fsGroup: 2000
  36. securityContext: {}
  37. # capabilities:
  38. # drop:
  39. # - ALL
  40. # readOnlyRootFilesystem: true
  41. # runAsNonRoot: true
  42. # runAsUser: 1000
  43. localPathCSI:
  44. # 根据 k8s 集群的 CSI 部署情况,选择是否要部署默认的 local-path CSI
  45. # 如果 k8s 集群已经有稳定的 CSI ,就可以设置这个值为 false ,不部署该组件
  46. enabled: true
  47. helperPod:
  48. image: registry.cn-beijing.aliyuncs.com/yunionio/busybox:1.35.0
  49. pullPolicy: IfNotPresent
  50. image:
  51. # repository: "registry.cn-beijing.aliyuncs.com/yunion/local-path-provisioner"
  52. pullPolicy: IfNotPresent
  53. # tag: "v0.0.22"
  54. cluster:
  55. mysql:
  56. # 外部 mysql 地址
  57. host: 1.2.3.4
  58. # 外部 mysql 端口
  59. port: 3306
  60. # 外部 mysql 用户,需要用具备 root 权限的用户,因为 cloudpods operator 会为其他服务创建数据库用户
  61. user: root
  62. # 外部 mysql 密码
  63. password: your-db-password
  64. statefulset:
  65. # 生产环境部署这里需要设置成 false ,不然会在 k8s 集群里面部署一个 mysql ,然后连接使用这个 statefulset mysql
  66. enabled: false
  67. image:
  68. repository: "registry.cn-beijing.aliyuncs.com/yunionio/mariadb"
  69. pullPolicy: IfNotPresent
  70. tag: "10.5.19"
  71. persistence:
  72. storageClass: ""
  73. accessMode: ReadWriteOnce
  74. size: 500Gi
  75. tolerations:
  76. - key: node-role.kubernetes.io/master
  77. effect: NoSchedule
  78. - key: node-role.kubernetes.io/controlplane
  79. effect: NoSchedule
  80. # Overrides the image tag whose default is the chart appVersion.
  81. version: "v4.0.2"
  82. # productVersion choose from:
  83. # - CMP
  84. # - FullStack
  85. # - Edge
  86. productVersion: CMP
  87. # disableResourceManagement disable container cgroup resource limits and requests
  88. disableResourceManagement: false
  89. # imageRepository defines default image registry
  90. imageRepository: registry.cn-beijing.aliyuncs.com/yunion
  91. # publicEndpoint is upstream ingress virtual ip address or DNS domain
  92. # 集群外部可访问的域名或者 ip 地址
  93. publicEndpoint: foo.bar.com
  94. # edition choose from:
  95. # - ce: community edition
  96. # - ee: enterprise edition
  97. # 选择部署 ce(开源) 或者 ee(企业) 版本
  98. edition: ce
  99. # storageClass for stateful component
  100. # 有状态服务使用的 storageClass,如果不设置就会使用 local-path CSI
  101. # 这个可根据 k8s 集群情况自行调节
  102. storageClass: ""
  103. ansibleserver:
  104. service:
  105. # 指定服务暴露的 nodePort,如果和集群已有服务冲突,可以修改
  106. nodePort: 30890
  107. apiGateway:
  108. apiService:
  109. nodePort: 30300
  110. wsService:
  111. nodePort: 30443
  112. autoupdate:
  113. service:
  114. nodePort: 30981
  115. # baremetal agent component spec
  116. baremetalagent:
  117. disable: true
  118. requests:
  119. storage: 100G
  120. cloudevent:
  121. service:
  122. nodePort: 30892
  123. cloudid:
  124. service:
  125. nodePort: 30893
  126. cloudnet:
  127. service:
  128. nodePort: 30891
  129. cloudproxy:
  130. service:
  131. nodePort: 30882
  132. devtool:
  133. service:
  134. nodePort: 30997
  135. # glance image component spec
  136. glance:
  137. service:
  138. nodePort: 30292
  139. requests:
  140. storage: 100G
  141. # influxdb component spec
  142. influxdb:
  143. service:
  144. nodePort: 30086
  145. requests:
  146. storage: 100G
  147. victoriaMetrics:
  148. service:
  149. nodePort: 30428
  150. requests:
  151. storage: 100G
  152. itsm:
  153. service:
  154. nodePort: 30595
  155. keystone:
  156. adminService:
  157. nodePort: 30357
  158. publicService:
  159. nodePort: 30500
  160. kubeserver:
  161. service:
  162. nodePort: 30442
  163. logger:
  164. service:
  165. nodePort: 30999
  166. # meter component spec
  167. meter:
  168. service:
  169. nodePort: 30909
  170. requests:
  171. storage: 25G
  172. monitor:
  173. service:
  174. nodePort: 30093
  175. onecloudServiceOperator:
  176. disable: true
  177. service:
  178. nodePort: 30885
  179. regionServer:
  180. service:
  181. nodePort: 30888
  182. report:
  183. service:
  184. nodePort: 30967
  185. s3gateway:
  186. service:
  187. nodePort: 30884
  188. scheduledtask:
  189. service:
  190. nodePort: 30978
  191. scheduler:
  192. service:
  193. nodePort: 30887
  194. suggestion:
  195. service:
  196. nodePort: 30987
  197. webconsole:
  198. service:
  199. nodePort: 30899
  200. yunionagent:
  201. service:
  202. nodePort: 30898
  203. yunionconf:
  204. service:
  205. nodePort: 30889
  206. # 设置 ingress
  207. ingress:
  208. enabled: true
  209. className: ""
  210. annotations:
  211. nginx.ingress.kubernetes.io/backend-protocol: HTTPS
  212. # kubernetes.io/ingress.class: nginx
  213. # kubernetes.io/tls-acme: "true"
  214. hosts:
  215. - paths:
  216. - path: /
  217. pathType: Prefix
  218. host: ""
  219. tls: []
  220. # - secretName: chart-example-tls
  221. # hosts:
  222. # - chart-example.local