|
@@ -1,193 +0,0 @@
|
|
-groups:
|
|
|
|
- - name: "Emby Server Configuration"
|
|
|
|
- description: "Configure Emby Server"
|
|
|
|
- - name: "Networking"
|
|
|
|
- description: "Configure networking for container"
|
|
|
|
- - name: "Storage"
|
|
|
|
- description: "Persist and share data that is separate from the lifecycle of the container"
|
|
|
|
- - name: "Workload Details"
|
|
|
|
- description: "Configure how workload should be deployed"
|
|
|
|
- - name: "Scaling/Upgrade Policy"
|
|
|
|
- description: "Configure how pods are replaced when configuration is upgraded"
|
|
|
|
- - name: "Restart Policy"
|
|
|
|
- description: "Configure when pod should be restarted in case of failure"
|
|
|
|
- - name: "Resource Reservation"
|
|
|
|
- description: "Specify resources to be allocated to workload"
|
|
|
|
- - name: "Resource Limits"
|
|
|
|
- description: "Set CPU/memory limits for Kubernetes Pod"
|
|
|
|
-
|
|
|
|
-portals:
|
|
|
|
- web_portal:
|
|
|
|
- protocols:
|
|
|
|
- - "http"
|
|
|
|
- host:
|
|
|
|
- - "$node_ip"
|
|
|
|
- ports:
|
|
|
|
- - "$variable-embyServerHttp.port"
|
|
|
|
- path: "/web"
|
|
|
|
-
|
|
|
|
-questions:
|
|
|
|
- - variable: hostNetwork
|
|
|
|
- label: "Configure Host Network"
|
|
|
|
- group: "Networking"
|
|
|
|
- schema:
|
|
|
|
- type: boolean
|
|
|
|
- default: false
|
|
|
|
-
|
|
|
|
- - variable: environmentVariables
|
|
|
|
- label: "Environment Variables for Emby Server"
|
|
|
|
- group: "Emby Server Configuration"
|
|
|
|
- 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
|
|
|
|
-
|
|
|
|
- # Update strategy
|
|
|
|
- - variable: updateStrategy
|
|
|
|
- description: "Upgrade Policy"
|
|
|
|
- label: "Update Strategy"
|
|
|
|
- group: "Scaling/Upgrade Policy"
|
|
|
|
- schema:
|
|
|
|
- type: string
|
|
|
|
- default: "Recreate"
|
|
|
|
- enum:
|
|
|
|
- - value: "RollingUpdate"
|
|
|
|
- description: "Create new pods and then kill old ones"
|
|
|
|
- - value: "Recreate"
|
|
|
|
- description: "Kill existing pods before creating new ones"
|
|
|
|
-
|
|
|
|
- # Port configuration
|
|
|
|
- - variable: embyServerHttp
|
|
|
|
- label: "Configure Emby Server HTTP Service"
|
|
|
|
- group: "Networking"
|
|
|
|
- schema:
|
|
|
|
- type: dict
|
|
|
|
- attrs:
|
|
|
|
- - variable: port
|
|
|
|
- label: "Port to expose for Emby Server UI"
|
|
|
|
- schema:
|
|
|
|
- type: int
|
|
|
|
- min: 9000
|
|
|
|
- max: 65535
|
|
|
|
- default: 9096
|
|
|
|
-
|
|
|
|
- # Specify GPU configuration
|
|
|
|
- - variable: gpuConfiguration
|
|
|
|
- label: "GPU Configuration"
|
|
|
|
- group: "Resource Reservation"
|
|
|
|
- schema:
|
|
|
|
- type: dict
|
|
|
|
- $ref:
|
|
|
|
- - "definitions/gpuConfiguration"
|
|
|
|
- attrs: []
|
|
|
|
-
|
|
|
|
- - variable: appVolumeMounts
|
|
|
|
- label: "Emby Server Storage"
|
|
|
|
- group: "Storage"
|
|
|
|
- schema:
|
|
|
|
- type: dict
|
|
|
|
- attrs:
|
|
|
|
- - variable: config
|
|
|
|
- label: "Config Volume"
|
|
|
|
- schema:
|
|
|
|
- type: dict
|
|
|
|
- attrs:
|
|
|
|
- - variable: datasetName
|
|
|
|
- label: "Emby Server Config Volume Name"
|
|
|
|
- schema:
|
|
|
|
- type: string
|
|
|
|
- $ref:
|
|
|
|
- - "normalize/ixVolume"
|
|
|
|
- show_if: [["hostPathEnabled", "=", false]]
|
|
|
|
- default: "ix-emby_config"
|
|
|
|
- editable: false
|
|
|
|
- hidden: true
|
|
|
|
- - variable: mountPath
|
|
|
|
- label: "Emby Server Config Mount Path"
|
|
|
|
- description: "Path where the volume will be mounted inside the pod"
|
|
|
|
- schema:
|
|
|
|
- type: path
|
|
|
|
- editable: false
|
|
|
|
- hidden: true
|
|
|
|
- default: "/config"
|
|
|
|
- - variable: hostPathEnabled
|
|
|
|
- label: "Enable Host Path for Emby Server Config Volume"
|
|
|
|
- schema:
|
|
|
|
- type: boolean
|
|
|
|
- default: false
|
|
|
|
- show_subquestions_if: true
|
|
|
|
- subquestions:
|
|
|
|
- - variable: hostPath
|
|
|
|
- label: "Host Path for Emby Server Config Volume"
|
|
|
|
- schema:
|
|
|
|
- type: hostpath
|
|
|
|
- required: true
|
|
|
|
-
|
|
|
|
- - variable: extraAppVolumeMounts
|
|
|
|
- label: "Emby Server Extra Host Path Volumes"
|
|
|
|
- group: "Storage"
|
|
|
|
- schema:
|
|
|
|
- type: list
|
|
|
|
- items:
|
|
|
|
- - variable: extraAppVolume
|
|
|
|
- label: "Emby Server Host Path Volume"
|
|
|
|
- description: "Add an extra host path volume for emby 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: readOnly
|
|
|
|
- label: "Read Only"
|
|
|
|
- description: "Mount hostpath in read-only mode"
|
|
|
|
- schema:
|
|
|
|
- type: boolean
|
|
|
|
- default: false
|
|
|
|
-
|
|
|
|
- - variable: enableResourceLimits
|
|
|
|
- label: "Enable Pod resource limits"
|
|
|
|
- group: "Resource Limits"
|
|
|
|
- schema:
|
|
|
|
- type: boolean
|
|
|
|
- default: false
|
|
|
|
- - variable: cpuLimit
|
|
|
|
- label: "CPU Limit"
|
|
|
|
- description: "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100."
|
|
|
|
- group: "Resource Limits"
|
|
|
|
- schema:
|
|
|
|
- type: string
|
|
|
|
- show_if: [["enableResourceLimits", "=", true]]
|
|
|
|
- valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)"
|
|
|
|
- default: "4000m"
|
|
|
|
- - variable: memLimit
|
|
|
|
- label: "Memory Limit"
|
|
|
|
- group: "Resource Limits"
|
|
|
|
- description: "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M, 128974848000m, 123Mi"
|
|
|
|
- schema:
|
|
|
|
- type: string
|
|
|
|
- show_if: [["enableResourceLimits", "=", true]]
|
|
|
|
- valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
|
|
|
|
- default: "8Gi"
|
|
|