questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. groups:
  2. - name: Netdata Configuration
  3. description: Configure Netdata
  4. - name: Advanced Pod Configuration
  5. description: Configure Advanced Pod Options for Netdata
  6. - name: Network Configuration
  7. description: Configure Network for Netdata
  8. - name: Storage Configuration
  9. description: Configure Storage for Netdata
  10. - name: Resources Configuration
  11. description: Configure Resources for Netdata
  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: netdataConfig
  23. label: ""
  24. group: Netdata Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additionalEnvs
  29. label: Additional Environment Variables
  30. description: Configure additional environment variables for Netdata.
  31. schema:
  32. type: list
  33. default: []
  34. items:
  35. - variable: env
  36. label: Environment Variable
  37. schema:
  38. type: dict
  39. attrs:
  40. - variable: name
  41. label: Name
  42. schema:
  43. type: string
  44. required: true
  45. - variable: value
  46. label: Value
  47. schema:
  48. type: string
  49. required: true
  50. - variable: podOptions
  51. label: ""
  52. group: Advanced Pod Configuration
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: dnsConfig
  57. label: Advanced DNS Configuration
  58. schema:
  59. type: dict
  60. attrs:
  61. - variable: options
  62. label: DNS Options
  63. schema:
  64. type: list
  65. items:
  66. - variable: optionsEntry
  67. label: DNS Option Entry
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: name
  72. label: Option Name
  73. schema:
  74. type: string
  75. required: true
  76. - variable: value
  77. label: Option Value
  78. schema:
  79. type: string
  80. required: true
  81. - variable: netdataNetwork
  82. label: ""
  83. group: Network Configuration
  84. schema:
  85. type: dict
  86. attrs:
  87. - variable: webPort
  88. label: Web Port
  89. description: The port for the Netdata Web UI.
  90. schema:
  91. type: int
  92. default: 20489
  93. min: 9000
  94. max: 65535
  95. required: true
  96. - variable: hostNetwork
  97. label: Host Network
  98. schema:
  99. type: boolean
  100. default: true
  101. - variable: netdataStorage
  102. label: ""
  103. group: Storage Configuration
  104. schema:
  105. type: dict
  106. attrs:
  107. - variable: config
  108. label: Netdata Config Storage
  109. description: The path to store Netdata Configuration.
  110. schema:
  111. type: dict
  112. attrs:
  113. - variable: type
  114. label: Type
  115. description: |
  116. ixVolume: Is dataset created automatically by the system.</br>
  117. Host Path: Is a path that already exists on the system.
  118. schema:
  119. type: string
  120. required: true
  121. immutable: 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: ixVolumeConfig
  129. label: ixVolume Configuration
  130. description: The configuration for the ixVolume dataset.
  131. schema:
  132. type: dict
  133. show_if: [["type", "=", "ixVolume"]]
  134. $ref:
  135. - "normalize/ixVolume"
  136. attrs:
  137. - variable: aclEnable
  138. label: Enable ACL
  139. description: Enable ACL for the dataset.
  140. schema:
  141. type: boolean
  142. default: false
  143. - variable: datasetName
  144. label: Dataset Name
  145. description: The name of the dataset to use for storage.
  146. schema:
  147. type: string
  148. required: true
  149. immutable: true
  150. hidden: true
  151. default: "config"
  152. - variable: aclEntries
  153. label: ACL Configuration
  154. schema:
  155. type: dict
  156. show_if: [["aclEnable", "=", true]]
  157. attrs: []
  158. - variable: hostPathConfig
  159. label: Host Path Config
  160. schema:
  161. type: dict
  162. show_if: [["type", "=", "hostPath"]]
  163. attrs:
  164. - variable: aclEnable
  165. label: Enable ACL
  166. description: Enable ACL for the dataset.
  167. schema:
  168. type: boolean
  169. default: false
  170. - variable: acl
  171. label: ACL Configuration
  172. schema:
  173. type: dict
  174. show_if: [["aclEnable", "=", true]]
  175. attrs: []
  176. $ref:
  177. - "normalize/acl"
  178. - variable: hostPath
  179. label: Host Path
  180. description: The host path to use for storage.
  181. schema:
  182. type: hostpath
  183. show_if: [["aclEnable", "=", false]]
  184. required: true
  185. - variable: cache
  186. label: Netdata Cache Storage
  187. description: The path to store Netdata Cache.
  188. schema:
  189. type: dict
  190. attrs:
  191. - variable: type
  192. label: Type
  193. description: |
  194. ixVolume: Is dataset created automatically by the system.</br>
  195. Host Path: Is a path that already exists on the system.
  196. schema:
  197. type: string
  198. required: true
  199. immutable: true
  200. default: "ixVolume"
  201. enum:
  202. - value: "hostPath"
  203. description: Host Path (Path that already exists on the system)
  204. - value: "ixVolume"
  205. description: ixVolume (Dataset created automatically by the system)
  206. - variable: ixVolumeConfig
  207. label: ixVolume Configuration
  208. description: The configuration for the ixVolume dataset.
  209. schema:
  210. type: dict
  211. show_if: [["type", "=", "ixVolume"]]
  212. $ref:
  213. - "normalize/ixVolume"
  214. attrs:
  215. - variable: aclEnable
  216. label: Enable ACL
  217. description: Enable ACL for the dataset.
  218. schema:
  219. type: boolean
  220. default: false
  221. - variable: datasetName
  222. label: Dataset Name
  223. description: The name of the dataset to use for storage.
  224. schema:
  225. type: string
  226. required: true
  227. immutable: true
  228. hidden: true
  229. default: "cache"
  230. - variable: aclEntries
  231. label: ACL Configuration
  232. schema:
  233. type: dict
  234. show_if: [["aclEnable", "=", true]]
  235. attrs: []
  236. - variable: hostPathConfig
  237. label: Host Path Config
  238. schema:
  239. type: dict
  240. show_if: [["type", "=", "hostPath"]]
  241. attrs:
  242. - variable: aclEnable
  243. label: Enable ACL
  244. description: Enable ACL for the dataset.
  245. schema:
  246. type: boolean
  247. default: false
  248. - variable: acl
  249. label: ACL Configuration
  250. schema:
  251. type: dict
  252. show_if: [["aclEnable", "=", true]]
  253. attrs: []
  254. $ref:
  255. - "normalize/acl"
  256. - variable: hostPath
  257. label: Host Path
  258. description: The host path to use for storage.
  259. schema:
  260. type: hostpath
  261. show_if: [["aclEnable", "=", false]]
  262. required: true
  263. - variable: lib
  264. label: Netdata Lib Storage
  265. description: The path to store Netdata Lib.
  266. schema:
  267. type: dict
  268. attrs:
  269. - variable: type
  270. label: Type
  271. description: |
  272. ixVolume: Is dataset created automatically by the system.</br>
  273. Host Path: Is a path that already exists on the system.
  274. schema:
  275. type: string
  276. required: true
  277. immutable: true
  278. default: "ixVolume"
  279. enum:
  280. - value: "hostPath"
  281. description: Host Path (Path that already exists on the system)
  282. - value: "ixVolume"
  283. description: ixVolume (Dataset created automatically by the system)
  284. - variable: ixVolumeConfig
  285. label: ixVolume Configuration
  286. description: The configuration for the ixVolume dataset.
  287. schema:
  288. type: dict
  289. show_if: [["type", "=", "ixVolume"]]
  290. $ref:
  291. - "normalize/ixVolume"
  292. attrs:
  293. - variable: aclEnable
  294. label: Enable ACL
  295. description: Enable ACL for the dataset.
  296. schema:
  297. type: boolean
  298. default: false
  299. - variable: datasetName
  300. label: Dataset Name
  301. description: The name of the dataset to use for storage.
  302. schema:
  303. type: string
  304. required: true
  305. immutable: true
  306. hidden: true
  307. default: "lib"
  308. - variable: aclEntries
  309. label: ACL Configuration
  310. schema:
  311. type: dict
  312. show_if: [["aclEnable", "=", true]]
  313. attrs: []
  314. - variable: hostPathConfig
  315. label: Host Path Config
  316. schema:
  317. type: dict
  318. show_if: [["type", "=", "hostPath"]]
  319. attrs:
  320. - variable: aclEnable
  321. label: Enable ACL
  322. description: Enable ACL for the dataset.
  323. schema:
  324. type: boolean
  325. default: false
  326. - variable: acl
  327. label: ACL Configuration
  328. schema:
  329. type: dict
  330. show_if: [["aclEnable", "=", true]]
  331. attrs: []
  332. $ref:
  333. - "normalize/acl"
  334. - variable: hostPath
  335. label: Host Path
  336. description: The host path to use for storage.
  337. schema:
  338. type: hostpath
  339. show_if: [["aclEnable", "=", false]]
  340. required: true
  341. - variable: additionalStorages
  342. label: Additional Storage
  343. description: Additional storage for Netdata.
  344. schema:
  345. type: list
  346. default: []
  347. items:
  348. - variable: storageEntry
  349. label: Storage Entry
  350. schema:
  351. type: dict
  352. attrs:
  353. - variable: type
  354. label: Type
  355. description: |
  356. ixVolume: Is dataset created automatically by the system.</br>
  357. Host Path: Is a path that already exists on the system.</br>
  358. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  359. schema:
  360. type: string
  361. required: true
  362. default: "ixVolume"
  363. immutable: true
  364. enum:
  365. - value: "hostPath"
  366. description: Host Path (Path that already exists on the system)
  367. - value: "ixVolume"
  368. description: ixVolume (Dataset created automatically by the system)
  369. - value: "smb-pv-pvc"
  370. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  371. - variable: readOnly
  372. label: Read Only
  373. description: Mount the volume as read only.
  374. schema:
  375. type: boolean
  376. default: false
  377. - variable: mountPath
  378. label: Mount Path
  379. description: The path inside the container to mount the storage.
  380. schema:
  381. type: path
  382. required: true
  383. - variable: hostPathConfig
  384. label: Host Path Config
  385. schema:
  386. type: dict
  387. show_if: [["type", "=", "hostPath"]]
  388. attrs:
  389. - variable: aclEnable
  390. label: Enable ACL
  391. description: Enable ACL for the dataset.
  392. schema:
  393. type: boolean
  394. default: false
  395. - variable: acl
  396. label: ACL Configuration
  397. schema:
  398. type: dict
  399. show_if: [["aclEnable", "=", true]]
  400. attrs: []
  401. $ref:
  402. - "normalize/acl"
  403. - variable: hostPath
  404. label: Host Path
  405. description: The host path to use for storage.
  406. schema:
  407. type: hostpath
  408. show_if: [["aclEnable", "=", false]]
  409. required: true
  410. - variable: ixVolumeConfig
  411. label: ixVolume Configuration
  412. description: The configuration for the ixVolume dataset.
  413. schema:
  414. type: dict
  415. show_if: [["type", "=", "ixVolume"]]
  416. $ref:
  417. - "normalize/ixVolume"
  418. attrs:
  419. - variable: aclEnable
  420. label: Enable ACL
  421. description: Enable ACL for the dataset.
  422. schema:
  423. type: boolean
  424. default: false
  425. - variable: datasetName
  426. label: Dataset Name
  427. description: The name of the dataset to use for storage.
  428. schema:
  429. type: string
  430. required: true
  431. immutable: true
  432. default: "storage_entry"
  433. - variable: aclEntries
  434. label: ACL Configuration
  435. schema:
  436. type: dict
  437. show_if: [["aclEnable", "=", true]]
  438. attrs: []
  439. - variable: smbConfig
  440. label: SMB Share Configuration
  441. description: The configuration for the SMB Share.
  442. schema:
  443. type: dict
  444. show_if: [["type", "=", "smb-pv-pvc"]]
  445. attrs:
  446. - variable: server
  447. label: Server
  448. description: The server for the SMB share.
  449. schema:
  450. type: string
  451. required: true
  452. - variable: share
  453. label: Share
  454. description: The share name for the SMB share.
  455. schema:
  456. type: string
  457. required: true
  458. - variable: domain
  459. label: Domain (Optional)
  460. description: The domain for the SMB share.
  461. schema:
  462. type: string
  463. - variable: username
  464. label: Username
  465. description: The username for the SMB share.
  466. schema:
  467. type: string
  468. required: true
  469. - variable: password
  470. label: Password
  471. description: The password for the SMB share.
  472. schema:
  473. type: string
  474. required: true
  475. private: true
  476. - variable: size
  477. label: Size (in Gi)
  478. description: The size of the volume quota.
  479. schema:
  480. type: int
  481. required: true
  482. min: 1
  483. default: 1
  484. - variable: resources
  485. group: Resources Configuration
  486. label: ""
  487. schema:
  488. type: dict
  489. attrs:
  490. - variable: limits
  491. label: Limits
  492. schema:
  493. type: dict
  494. attrs:
  495. - variable: cpu
  496. label: CPU
  497. description: CPU limit for Netdata.
  498. schema:
  499. type: string
  500. max_length: 6
  501. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  502. valid_chars_error: |
  503. Valid CPU limit formats are</br>
  504. - Plain Integer - eg. 1</br>
  505. - Float - eg. 0.5</br>
  506. - Milicpu - eg. 500m
  507. default: "4000m"
  508. required: true
  509. - variable: memory
  510. label: Memory
  511. description: Memory limit for Netdata.
  512. schema:
  513. type: string
  514. max_length: 12
  515. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  516. valid_chars_error: |
  517. Valid Memory limit formats are</br>
  518. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  519. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  520. - Plain Integer in bytes - eg. 1024</br>
  521. - Exponent - eg. 134e6
  522. default: "8Gi"
  523. required: true