123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- groups:
- - name: "Networking"
- description: "Configure Networking for Machinaris"
- - name: "Machinaris Configuration"
- description: "Machinaris configuration"
- - name: "Storage"
- description: "Configure Storage for Machinaris"
- - name: "Machinaris Environment Variables"
- description: "Set the environment that will be visible to the container"
- - name: "Resource Limits"
- description: "Set CPU/memory limits for Kubernetes Pod"
- portals:
- web_portal:
- protocols:
- - "http"
- host:
- - "$node_ip"
- ports:
- - "$variable-machinaris_ui_port"
- questions:
- - variable: timezone
- label: "Configure timezone"
- group: "Machinaris Configuration"
- description: "Configure timezone for machinaris"
- schema:
- type: string
- $ref:
- - "definitions/timezone"
- - variable: nodeIP
- description: "LAN IP address of your TrueNAS server"
- group: "Machinaris Configuration"
- label: "Worker Address"
- schema:
- type: string
- $ref:
- - "definitions/nodeIP"
- - variable: machinaris_ui_port
- label: "Machinaris Web UI"
- group: "Networking"
- description: "Web UI Port for Machinaris"
- schema:
- type: int
- min: 9000
- max: 65535
- default: 9003
- - variable: appVolumeMounts
- label: "Machinaris Storage"
- group: "Storage"
- schema:
- type: dict
- attrs:
- - variable: config
- label: "Configuration Volume"
- schema:
- type: dict
- attrs:
- - variable: datasetName
- label: "Configuration Volume Dataset Name"
- schema:
- type: string
- hidden: true
- $ref:
- - "normalize/ixVolume"
- show_if: [["hostPathEnabled", "=", false]]
- default: "config"
- editable: false
- - variable: mountPath
- label: "Configuration Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- hidden: true
- editable: true
- default: "/root/.chia"
- - variable: hostPathEnabled
- label: "Enable Custom Host Path for Machinaris Configuration Volume"
- schema:
- type: boolean
- default: false
- show_subquestions_if: true
- subquestions:
- - variable: hostPath
- label: "Host Path for Machinaris Configuration Volume"
- schema:
- type: hostpath
- required: true
- - variable: plots
- label: "Plot Volume"
- schema:
- type: dict
- attrs:
- - variable: datasetName
- label: "Plots Volume Name"
- schema:
- type: string
- hidden: true
- $ref:
- - "normalize/ixVolume"
- show_if: [["hostPathEnabled", "=", false]]
- default: "plots"
- editable: false
- - variable: mountPath
- label: "Plots Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- hidden: true
- editable: false
- default: "/plots"
- - variable: hostPathEnabled
- label: "Enable Custom Host Path for Machinaris Plots Volume"
- schema:
- type: boolean
- default: false
- show_subquestions_if: true
- subquestions:
- - variable: hostPath
- label: "Host Path for Machinaris Plots Volume"
- schema:
- type: hostpath
- required: true
- - variable: extraAppVolumeMounts
- label: "Machinaris Extra Host Path Volumes"
- group: "Storage"
- schema:
- type: list
- items:
- - variable: extraAppVolume
- label: "Machinaris Host Path Volume"
- description: "Add an extra host path volume for machinaris application"
- schema:
- type: dict
- attrs:
- - variable: mountPath
- label: "Mount Path in Pod"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- required: true
- - variable: hostPath
- label: "Host Path"
- description: "Host path"
- schema:
- type: hostpath
- required: true
- - variable: environmentVariables
- label: "Environment Variables for Machinaris"
- group: "Machinaris Environment Variables"
- schema:
- type: list
- default: []
- items:
- - variable: environmentVariable
- label: "Environment Variable"
- schema:
- type: dict
- attrs:
- - variable: name
- label: "Name"
- schema:
- type: string
- - variable: value
- label: "Value"
- schema:
- type: string
- - variable: enableResourceLimits
- label: "Enable Pod resource limits"
- group: "Resource Limits"
- schema:
- type: boolean
- - variable: cpuLimit
- label: "CPU limit"
- group: "Resource Limits"
- schema:
- type: string
- show_if: [["enableResourceLimits", "=", true]]
- valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)"
- - variable: memLimit
- label: "Memory limit"
- group: "Resource Limits"
- schema:
- type: string
- show_if: [["enableResourceLimits", "=", true]]
- valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
|