questions.yaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. groups:
  2. - name: "Container Images"
  3. description: "Image to be used for container"
  4. - name: "Workload Configuration"
  5. description: "Configure workload deployment"
  6. - name: "Netdata Configuration"
  7. description: "Configure Netdata credentials"
  8. - name: "Storage"
  9. description: "Configure Storage for Netdata"
  10. - name: "Advanced DNS Settings"
  11. description: "Configure DNS settings"
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "http"
  16. host:
  17. - "$node_ip"
  18. ports:
  19. - "$variable-service.nodePort"
  20. questions:
  21. - variable: dnsConfig
  22. label: "DNS Configuration"
  23. group: "Advanced DNS Settings"
  24. schema:
  25. type: dict
  26. attrs:
  27. - variable: options
  28. label: "DNS Options"
  29. schema:
  30. type: list
  31. items:
  32. - variable: optionsEntry
  33. label: "Option Entry Configuration"
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: name
  38. label: "Option Name"
  39. schema:
  40. type: string
  41. required: true
  42. - variable: value
  43. label: "Option Value"
  44. schema:
  45. type: string
  46. required: true
  47. - variable: environmentVariables
  48. label: "Netdata image environment"
  49. group: "Netdata Configuration"
  50. schema:
  51. type: list
  52. default: []
  53. items:
  54. - variable: environmentVariable
  55. label: "Environment Variable"
  56. schema:
  57. type: dict
  58. attrs:
  59. - variable: name
  60. label: "Name"
  61. schema:
  62. type: string
  63. - variable: value
  64. label: "Value"
  65. schema:
  66. type: string
  67. - variable: service
  68. description: "Netdata Service Configuration"
  69. label: "Netdata Service Configuration"
  70. group: "Netdata Configuration"
  71. schema:
  72. type: dict
  73. required: true
  74. attrs:
  75. - variable: nodePort
  76. label: "Node Port to use for Netdata UI"
  77. schema:
  78. type: int
  79. min: 9000
  80. max: 65535
  81. default: 20489
  82. required: true
  83. - variable: appVolumeMounts
  84. label: "Netdata Storage"
  85. group: "Storage"
  86. schema:
  87. type: dict
  88. attrs:
  89. - variable: netdataconfig
  90. label: "Configuration Volume"
  91. schema:
  92. type: dict
  93. attrs:
  94. - variable: datasetName
  95. label: "Configuration Volume Name"
  96. schema:
  97. type: string
  98. hidden: true
  99. $ref:
  100. - "normalize/ixVolume"
  101. show_if: [ [ "hostPathEnabled", "=", false ] ]
  102. default: "ix-config"
  103. editable: false
  104. - variable: mountPath
  105. label: "Configuration Mount Path"
  106. description: "Path where the volume will be mounted inside the pod"
  107. schema:
  108. type: path
  109. hidden: true
  110. editable: false
  111. default: "/etc/netdata"
  112. - variable: hostPathEnabled
  113. label: "Enable Host Path for Netdata Configuration Volume"
  114. schema:
  115. type: boolean
  116. default: false
  117. show_subquestions_if: true
  118. subquestions:
  119. - variable: hostPath
  120. label: "Host Path for Netdata Configuration Volume"
  121. schema:
  122. type: hostpath
  123. required: true
  124. immutable: true
  125. - variable: netdatacache
  126. label: "Cache Volume"
  127. schema:
  128. type: dict
  129. attrs:
  130. - variable: datasetName
  131. label: "Cache Volume Name"
  132. schema:
  133. type: string
  134. hidden: true
  135. $ref:
  136. - "normalize/ixVolume"
  137. show_if: [["hostPathEnabled", "=", false]]
  138. default: "ix-cache"
  139. editable: false
  140. - variable: mountPath
  141. label: "Cache Mount Path"
  142. description: "Path where the volume will be mounted inside the pod"
  143. schema:
  144. type: path
  145. hidden: true
  146. editable: false
  147. default: "/var/cache/netdata"
  148. - variable: hostPathEnabled
  149. label: "Enable Host Path for Netdata Cache Volume"
  150. schema:
  151. type: boolean
  152. default: false
  153. show_subquestions_if: true
  154. subquestions:
  155. - variable: hostPath
  156. label: "Host Path for Netdata Cache Volume"
  157. schema:
  158. type: hostpath
  159. required: true
  160. immutable: true
  161. - variable: netdatalib
  162. label: "Netdata Library Volume"
  163. schema:
  164. type: dict
  165. attrs:
  166. - variable: datasetName
  167. label: "Netdata Library Volume Name"
  168. schema:
  169. type: string
  170. hidden: true
  171. $ref:
  172. - "normalize/ixVolume"
  173. show_if: [ [ "hostPathEnabled", "=", false ] ]
  174. default: "ix-lib"
  175. editable: false
  176. - variable: mountPath
  177. label: "Netdata Library Mount Path"
  178. description: "Path where the volume will be mounted inside the pod"
  179. schema:
  180. type: path
  181. hidden: true
  182. editable: false
  183. default: "/var/lib/netdata"
  184. - variable: hostPathEnabled
  185. label: "Enable Host Path for Netdata Library Volume"
  186. schema:
  187. type: boolean
  188. default: false
  189. show_subquestions_if: true
  190. subquestions:
  191. - variable: hostPath
  192. label: "Host Path for Netdata Library Volume"
  193. schema:
  194. type: hostpath
  195. required: true
  196. immutable: true
  197. - variable: extraAppVolumeMounts
  198. label: "Extra Host Path Volumes"
  199. group: "Storage"
  200. schema:
  201. type: list
  202. items:
  203. - variable: extraAppVolume
  204. label: "Host Path Volume"
  205. description: "Add an extra host path volume for Netdata application"
  206. schema:
  207. type: dict
  208. attrs:
  209. - variable: mountPath
  210. label: "Mount Path in Pod"
  211. description: "Path where the volume will be mounted inside the pod"
  212. schema:
  213. type: path
  214. required: true
  215. - variable: hostPath
  216. label: "Host Path"
  217. description: "Host path"
  218. schema:
  219. type: hostpath
  220. required: true