questions.yaml 21 KB

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