questions.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. groups:
  2. - name: Netdata Configuration
  3. description: Configure Netdata
  4. - name: Network Configuration
  5. description: Configure Network for Netdata
  6. - name: Storage Configuration
  7. description: Configure Storage for Netdata
  8. - name: Labels Configuration
  9. description: Configure Labels for Netdata
  10. - name: Resources Configuration
  11. description: Configure Resources for Netdata
  12. questions:
  13. - variable: netdata
  14. label: ""
  15. group: Netdata Configuration
  16. schema:
  17. type: dict
  18. attrs:
  19. - variable: enable_smart
  20. label: Enable SMART
  21. description: |
  22. Enabling this will add the smartmontools package to the container.</br>
  23. Note: You still need to pass disks to the container in the Devices section
  24. schema:
  25. type: boolean
  26. default: false
  27. - variable: enable_intel_gpu
  28. label: Enable Intel GPU
  29. description: |
  30. Enabling this will add the intel-gpu-tools package to the container.</br>
  31. Note: You still need to pass the GPU to the container in the Resources section
  32. schema:
  33. type: boolean
  34. default: false
  35. - variable: devices
  36. label: Devices
  37. description: |
  38. Devices to use.</br>
  39. Eg: Host Device: /dev/sda, Container Device: /dev/dsa
  40. schema:
  41. type: list
  42. default: []
  43. items:
  44. - variable: device
  45. label: Device
  46. schema:
  47. type: dict
  48. attrs:
  49. - variable: host_device
  50. label: Host Device
  51. schema:
  52. type: string
  53. required: true
  54. - variable: container_device
  55. label: Container Device
  56. schema:
  57. type: string
  58. required: true
  59. - variable: additional_debs
  60. label: Additional Deb Packages
  61. description: |
  62. Additional Deb Packages to install.</br>
  63. See Netdata documentation for more information.
  64. schema:
  65. type: list
  66. default: []
  67. items:
  68. - variable: deb
  69. label: Deb Package
  70. schema:
  71. type: string
  72. required: true
  73. - variable: additional_envs
  74. label: Additional Environment Variables
  75. schema:
  76. type: list
  77. default: []
  78. items:
  79. - variable: env
  80. label: Environment Variable
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: name
  85. label: Name
  86. schema:
  87. type: string
  88. required: true
  89. - variable: value
  90. label: Value
  91. schema:
  92. type: string
  93. - variable: network
  94. label: ""
  95. group: Network Configuration
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: web_port
  100. label: WebUI Port
  101. schema:
  102. type: dict
  103. attrs:
  104. - variable: bind_mode
  105. label: Port Bind Mode
  106. description: |
  107. The port bind mode.</br>
  108. - Publish: The port will be published on the host for external access.</br>
  109. - Expose: The port will be exposed for inter-container communication.</br>
  110. - None: The port will not be exposed or published.</br>
  111. Note: If the Dockerfile defines an EXPOSE directive,
  112. the port will still be exposed for inter-container communication regardless of this setting.
  113. schema:
  114. type: string
  115. default: "published"
  116. enum:
  117. - value: "published"
  118. description: Publish port on the host for external access
  119. - value: "exposed"
  120. description: Expose port for inter-container communication
  121. - value: ""
  122. description: None
  123. - variable: port_number
  124. label: Port Number
  125. schema:
  126. type: int
  127. default: 20489
  128. min: 1
  129. max: 65535
  130. required: true
  131. - variable: host_ips
  132. label: Host IPs
  133. description: IPs on the host to bind this port
  134. schema:
  135. type: list
  136. show_if: [["bind_mode", "=", "published"]]
  137. default: []
  138. items:
  139. - variable: host_ip
  140. label: Host IP
  141. schema:
  142. type: string
  143. required: true
  144. $ref:
  145. - definitions/node_bind_ip
  146. - variable: host_network
  147. label: Host Network
  148. description: |
  149. Bind to the host network. It's recommended to keep this disabled.
  150. schema:
  151. type: boolean
  152. default: false
  153. - variable: dns_opts
  154. label: DNS Options
  155. description: |
  156. DNS options for the container.</br>
  157. Format: key:value</br>
  158. Example: attempts:3
  159. schema:
  160. type: list
  161. default: []
  162. items:
  163. - variable: option
  164. label: Option
  165. schema:
  166. type: string
  167. required: true
  168. - variable: storage
  169. label: ""
  170. group: Storage Configuration
  171. schema:
  172. type: dict
  173. attrs:
  174. - variable: config
  175. label: Netdata Config Storage
  176. description: The path to store Netdata Config.
  177. schema:
  178. type: dict
  179. attrs:
  180. - variable: type
  181. label: Type
  182. description: |
  183. ixVolume: Is dataset created automatically by the system.</br>
  184. Host Path: Is a path that already exists on the system.
  185. schema:
  186. type: string
  187. required: true
  188. default: "ix_volume"
  189. enum:
  190. - value: "host_path"
  191. description: Host Path (Path that already exists on the system)
  192. - value: "ix_volume"
  193. description: ixVolume (Dataset created automatically by the system)
  194. - variable: ix_volume_config
  195. label: ixVolume Configuration
  196. description: The configuration for the ixVolume dataset.
  197. schema:
  198. type: dict
  199. show_if: [["type", "=", "ix_volume"]]
  200. $ref:
  201. - "normalize/ix_volume"
  202. attrs:
  203. - variable: acl_enable
  204. label: Enable ACL
  205. description: Enable ACL for the storage.
  206. schema:
  207. type: boolean
  208. default: false
  209. - variable: dataset_name
  210. label: Dataset Name
  211. description: The name of the dataset to use for storage.
  212. schema:
  213. type: string
  214. required: true
  215. hidden: true
  216. default: "config"
  217. - variable: acl_entries
  218. label: ACL Configuration
  219. schema:
  220. type: dict
  221. show_if: [["acl_enable", "=", true]]
  222. attrs: []
  223. - variable: host_path_config
  224. label: Host Path Configuration
  225. schema:
  226. type: dict
  227. show_if: [["type", "=", "host_path"]]
  228. attrs:
  229. - variable: acl_enable
  230. label: Enable ACL
  231. description: Enable ACL for the storage.
  232. schema:
  233. type: boolean
  234. default: false
  235. - variable: acl
  236. label: ACL Configuration
  237. schema:
  238. type: dict
  239. show_if: [["acl_enable", "=", true]]
  240. attrs: []
  241. $ref:
  242. - "normalize/acl"
  243. - variable: path
  244. label: Host Path
  245. description: The host path to use for storage.
  246. schema:
  247. type: hostpath
  248. show_if: [["acl_enable", "=", false]]
  249. required: true
  250. - variable: lib
  251. label: Netdata Lib Storage
  252. description: The path to store Netdata Lib.
  253. schema:
  254. type: dict
  255. attrs:
  256. - variable: type
  257. label: Type
  258. description: |
  259. ixVolume: Is dataset created automatically by the system.</br>
  260. Host Path: Is a path that already exists on the system.
  261. schema:
  262. type: string
  263. required: true
  264. default: "ix_volume"
  265. enum:
  266. - value: "host_path"
  267. description: Host Path (Path that already exists on the system)
  268. - value: "ix_volume"
  269. description: ixVolume (Dataset created automatically by the system)
  270. - variable: ix_volume_config
  271. label: ixVolume Configuration
  272. description: The configuration for the ixVolume dataset.
  273. schema:
  274. type: dict
  275. show_if: [["type", "=", "ix_volume"]]
  276. $ref:
  277. - "normalize/ix_volume"
  278. attrs:
  279. - variable: acl_enable
  280. label: Enable ACL
  281. description: Enable ACL for the storage.
  282. schema:
  283. type: boolean
  284. default: false
  285. - variable: dataset_name
  286. label: Dataset Name
  287. description: The name of the dataset to use for storage.
  288. schema:
  289. type: string
  290. required: true
  291. hidden: true
  292. default: "lib"
  293. - variable: acl_entries
  294. label: ACL Configuration
  295. schema:
  296. type: dict
  297. show_if: [["acl_enable", "=", true]]
  298. attrs: []
  299. - variable: host_path_config
  300. label: Host Path Configuration
  301. schema:
  302. type: dict
  303. show_if: [["type", "=", "host_path"]]
  304. attrs:
  305. - variable: acl_enable
  306. label: Enable ACL
  307. description: Enable ACL for the storage.
  308. schema:
  309. type: boolean
  310. default: false
  311. - variable: acl
  312. label: ACL Configuration
  313. schema:
  314. type: dict
  315. show_if: [["acl_enable", "=", true]]
  316. attrs: []
  317. $ref:
  318. - "normalize/acl"
  319. - variable: path
  320. label: Host Path
  321. description: The host path to use for storage.
  322. schema:
  323. type: hostpath
  324. show_if: [["acl_enable", "=", false]]
  325. required: true
  326. - variable: cache
  327. label: Netdata Cache Storage
  328. description: The path to store Netdata Cache.
  329. schema:
  330. type: dict
  331. attrs:
  332. - variable: type
  333. label: Type
  334. description: |
  335. ixVolume: Is dataset created automatically by the system.</br>
  336. Host Path: Is a path that already exists on the system.
  337. schema:
  338. type: string
  339. required: true
  340. default: "ix_volume"
  341. enum:
  342. - value: "host_path"
  343. description: Host Path (Path that already exists on the system)
  344. - value: "ix_volume"
  345. description: ixVolume (Dataset created automatically by the system)
  346. - variable: ix_volume_config
  347. label: ixVolume Configuration
  348. description: The configuration for the ixVolume dataset.
  349. schema:
  350. type: dict
  351. show_if: [["type", "=", "ix_volume"]]
  352. $ref:
  353. - "normalize/ix_volume"
  354. attrs:
  355. - variable: acl_enable
  356. label: Enable ACL
  357. description: Enable ACL for the storage.
  358. schema:
  359. type: boolean
  360. default: false
  361. - variable: dataset_name
  362. label: Dataset Name
  363. description: The name of the dataset to use for storage.
  364. schema:
  365. type: string
  366. required: true
  367. hidden: true
  368. default: "cache"
  369. - variable: acl_entries
  370. label: ACL Configuration
  371. schema:
  372. type: dict
  373. show_if: [["acl_enable", "=", true]]
  374. attrs: []
  375. - variable: host_path_config
  376. label: Host Path Configuration
  377. schema:
  378. type: dict
  379. show_if: [["type", "=", "host_path"]]
  380. attrs:
  381. - variable: acl_enable
  382. label: Enable ACL
  383. description: Enable ACL for the storage.
  384. schema:
  385. type: boolean
  386. default: false
  387. - variable: acl
  388. label: ACL Configuration
  389. schema:
  390. type: dict
  391. show_if: [["acl_enable", "=", true]]
  392. attrs: []
  393. $ref:
  394. - "normalize/acl"
  395. - variable: path
  396. label: Host Path
  397. description: The host path to use for storage.
  398. schema:
  399. type: hostpath
  400. show_if: [["acl_enable", "=", false]]
  401. required: true
  402. - variable: additional_storage
  403. label: Additional Storage
  404. schema:
  405. type: list
  406. default: []
  407. items:
  408. - variable: storageEntry
  409. label: Storage Entry
  410. schema:
  411. type: dict
  412. attrs:
  413. - variable: type
  414. label: Type
  415. description: |
  416. ixVolume: Is dataset created automatically by the system.</br>
  417. Host Path: Is a path that already exists on the system.</br>
  418. SMB Share: Is a SMB share that is mounted to as a volume.
  419. schema:
  420. type: string
  421. required: true
  422. default: "ix_volume"
  423. enum:
  424. - value: "host_path"
  425. description: Host Path (Path that already exists on the system)
  426. - value: "ix_volume"
  427. description: ixVolume (Dataset created automatically by the system)
  428. - value: "cifs"
  429. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  430. - variable: read_only
  431. label: Read Only
  432. description: Mount the volume as read only.
  433. schema:
  434. type: boolean
  435. default: false
  436. - variable: mount_path
  437. label: Mount Path
  438. description: The path inside the container to mount the storage.
  439. schema:
  440. type: path
  441. required: true
  442. - variable: host_path_config
  443. label: Host Path Configuration
  444. schema:
  445. type: dict
  446. show_if: [["type", "=", "host_path"]]
  447. attrs:
  448. - variable: acl_enable
  449. label: Enable ACL
  450. description: Enable ACL for the storage.
  451. schema:
  452. type: boolean
  453. default: false
  454. - variable: acl
  455. label: ACL Configuration
  456. schema:
  457. type: dict
  458. show_if: [["acl_enable", "=", true]]
  459. attrs: []
  460. $ref:
  461. - "normalize/acl"
  462. - variable: path
  463. label: Host Path
  464. description: The host path to use for storage.
  465. schema:
  466. type: hostpath
  467. show_if: [["acl_enable", "=", false]]
  468. required: true
  469. - variable: ix_volume_config
  470. label: ixVolume Configuration
  471. description: The configuration for the ixVolume dataset.
  472. schema:
  473. type: dict
  474. show_if: [["type", "=", "ix_volume"]]
  475. $ref:
  476. - "normalize/ix_volume"
  477. attrs:
  478. - variable: acl_enable
  479. label: Enable ACL
  480. description: Enable ACL for the storage.
  481. schema:
  482. type: boolean
  483. default: false
  484. - variable: dataset_name
  485. label: Dataset Name
  486. description: The name of the dataset to use for storage.
  487. schema:
  488. type: string
  489. required: true
  490. default: "storage_entry"
  491. - variable: acl_entries
  492. label: ACL Configuration
  493. schema:
  494. type: dict
  495. show_if: [["acl_enable", "=", true]]
  496. attrs: []
  497. $ref:
  498. - "normalize/acl"
  499. - variable: cifs_config
  500. label: SMB Configuration
  501. description: The configuration for the SMB dataset.
  502. schema:
  503. type: dict
  504. show_if: [["type", "=", "cifs"]]
  505. attrs:
  506. - variable: server
  507. label: Server
  508. description: The server to mount the SMB share.
  509. schema:
  510. type: string
  511. required: true
  512. - variable: path
  513. label: Path
  514. description: The path to mount the SMB share.
  515. schema:
  516. type: string
  517. required: true
  518. - variable: username
  519. label: Username
  520. description: The username to use for the SMB share.
  521. schema:
  522. type: string
  523. required: true
  524. - variable: password
  525. label: Password
  526. description: The password to use for the SMB share.
  527. schema:
  528. type: string
  529. required: true
  530. private: true
  531. - variable: domain
  532. label: Domain
  533. description: The domain to use for the SMB share.
  534. schema:
  535. type: string
  536. - variable: labels
  537. label: ""
  538. group: Labels Configuration
  539. schema:
  540. type: list
  541. default: []
  542. items:
  543. - variable: label
  544. label: Label
  545. schema:
  546. type: dict
  547. attrs:
  548. - variable: key
  549. label: Key
  550. schema:
  551. type: string
  552. required: true
  553. - variable: value
  554. label: Value
  555. schema:
  556. type: string
  557. required: true
  558. - variable: containers
  559. label: Containers
  560. description: Containers where the label should be applied
  561. schema:
  562. type: list
  563. items:
  564. - variable: container
  565. label: Container
  566. schema:
  567. type: string
  568. required: true
  569. enum:
  570. - value: netdata
  571. description: netdata
  572. - variable: resources
  573. label: ""
  574. group: Resources Configuration
  575. schema:
  576. type: dict
  577. attrs:
  578. - variable: limits
  579. label: Limits
  580. schema:
  581. type: dict
  582. attrs:
  583. - variable: cpus
  584. label: CPUs
  585. description: CPUs limit for Netdata.
  586. schema:
  587. type: int
  588. default: 2
  589. required: true
  590. - variable: memory
  591. label: Memory (in MB)
  592. description: Memory limit for Netdata.
  593. schema:
  594. type: int
  595. default: 4096
  596. required: true
  597. - variable: gpus
  598. group: Resources Configuration
  599. label: GPU Configuration
  600. schema:
  601. type: dict
  602. $ref:
  603. - "definitions/gpu_configuration"
  604. attrs: []