questions.yaml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. groups:
  2. - name: Elastic Search Configuration
  3. description: Configure Elastic Search
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Elastic Search
  6. - name: Network Configuration
  7. description: Configure Network for Elastic Search
  8. - name: Storage Configuration
  9. description: Configure Storage for Elastic Search
  10. - name: Resources Configuration
  11. description: Configure Resources for Elastic Search
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: esConfig
  23. label: ""
  24. group: Elastic Search Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: password
  29. label: Password
  30. description: The password for the Elastic Search (elastic) user.
  31. schema:
  32. type: string
  33. default: ""
  34. required: true
  35. - variable: nodeName
  36. label: Node Name
  37. description: The name of the Elastic Search node.
  38. schema:
  39. type: string
  40. default: "elastic_search_node"
  41. required: true
  42. - variable: heapSize
  43. label: Heap Size
  44. description: The heap size for Elastic Search.
  45. schema:
  46. type: string
  47. default: "512m"
  48. required: true
  49. - variable: additionalEnvs
  50. label: Additional Environment Variables
  51. description: Configure additional environment variables for Elastic Search.
  52. schema:
  53. type: list
  54. default: []
  55. items:
  56. - variable: env
  57. label: Environment Variable
  58. schema:
  59. type: dict
  60. attrs:
  61. - variable: name
  62. label: Name
  63. schema:
  64. type: string
  65. required: true
  66. - variable: value
  67. label: Value
  68. schema:
  69. type: string
  70. required: true
  71. - variable: esNetwork
  72. label: ""
  73. group: Network Configuration
  74. schema:
  75. type: dict
  76. attrs:
  77. - variable: httpPort
  78. label: HTTP Port
  79. description: The port for the Elastic Search HTTP
  80. schema:
  81. type: int
  82. default: 30003
  83. min: 9000
  84. max: 65535
  85. required: true
  86. - variable: hostNetwork
  87. label: Host Network
  88. description: |
  89. Bind to the host network. It's recommended to keep this disabled.
  90. schema:
  91. type: boolean
  92. default: false
  93. - variable: certificateID
  94. label: Certificate
  95. description: |
  96. The certificate to use for Elastic Search </br>
  97. schema:
  98. type: int
  99. "null": true
  100. $ref:
  101. - "definitions/certificate"
  102. - variable: esStorage
  103. label: ""
  104. group: Storage Configuration
  105. schema:
  106. type: dict
  107. attrs:
  108. - variable: data
  109. label: Elastic Search Data Storage
  110. description: The path to store Elastic Search data.
  111. schema:
  112. type: dict
  113. attrs:
  114. - variable: type
  115. label: Type
  116. description: |
  117. ixVolume: Is dataset created automatically by the system.</br>
  118. Host Path: Is a path that already exists on the system.
  119. schema:
  120. type: string
  121. required: true
  122. default: "ixVolume"
  123. enum:
  124. - value: "hostPath"
  125. description: Host Path (Path that already exists on the system)
  126. - value: "ixVolume"
  127. description: ixVolume (Dataset created automatically by the system)
  128. - variable: datasetName
  129. label: Dataset Name
  130. schema:
  131. type: string
  132. show_if: [["type", "=", "ixVolume"]]
  133. required: true
  134. hidden: true
  135. immutable: true
  136. default: "data"
  137. $ref:
  138. - "normalize/ixVolume"
  139. - variable: hostPath
  140. label: Host Path
  141. schema:
  142. type: hostpath
  143. show_if: [["type", "=", "hostPath"]]
  144. immutable: true
  145. required: true
  146. - variable: resources
  147. label: ""
  148. group: Resources Configuration
  149. schema:
  150. type: dict
  151. attrs:
  152. - variable: limits
  153. label: Limits
  154. schema:
  155. type: dict
  156. attrs:
  157. - variable: cpu
  158. label: CPU
  159. description: CPU limit for Elastic Search.
  160. schema:
  161. type: string
  162. max_length: 6
  163. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  164. valid_chars_error: |
  165. Valid CPU limit formats are</br>
  166. - Plain Integer - eg. 1</br>
  167. - Float - eg. 0.5</br>
  168. - Milicpu - eg. 500m
  169. default: "4000m"
  170. required: true
  171. - variable: memory
  172. label: Memory
  173. description: Memory limit for Elastic Search.
  174. schema:
  175. type: string
  176. max_length: 12
  177. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  178. valid_chars_error: |
  179. Valid Memory limit formats are</br>
  180. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  181. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  182. - Plain Integer in bytes - eg. 1024</br>
  183. - Exponent - eg. 134e6
  184. default: "8Gi"
  185. required: true