123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- groups:
- - name: "Plex Configuration"
- description: "Configure plex deployment"
- - 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: "Advanced DNS Settings"
- description: "Configure DNS settings"
- portals:
- web_portal:
- protocols:
- - "http"
- host:
- - "$node_ip"
- ports:
- - "$variable-plexServiceTCP.port"
- path: "/web"
- questions:
- - variable: enablePlexPass
- label: "Use PlexPass"
- group: "Plex Configuration"
- schema:
- type: boolean
- default: false
- - variable: dnsConfig
- label: "DNS Configuration"
- group: "Advanced DNS Settings"
- schema:
- type: dict
- attrs:
- - variable: options
- label: "DNS Options"
- schema:
- type: list
- items:
- - variable: optionsEntry
- label: "Option Entry Configuration"
- schema:
- type: dict
- attrs:
- - variable: name
- label: "Option Name"
- schema:
- type: string
- required: true
- - variable: value
- label: "Option Value"
- schema:
- type: string
- required: true
- - variable: claimToken
- label: "Plex Claim Token"
- group: "Plex Configuration"
- description: "The claim token for the server to obtain a real server token. If not provided, server is will not be automatically logged in. If server is already logged in, this parameter is ignored. You can obtain a claim token to login your server to your plex account by visiting https://www.plex.tv/claim."
- schema:
- type: string
- default: ""
- - variable: hostNetwork
- label: "Configure Host Network"
- group: "Networking"
- schema:
- type: boolean
- default: false
- - variable: environmentVariables
- label: "Environment Variables for Plex"
- group: "Plex 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
- - variable: timezone
- label: "Plex container timezone"
- group: "Plex Configuration"
- schema:
- type: string
- default: "Etc/UTC"
- $ref:
- - "definitions/timezone"
- # 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: plexServiceTCP
- label: "Configure Plex TCP Service"
- group: "Networking"
- schema:
- type: dict
- attrs:
- - variable: port
- label: "Port to expose for Plex UI"
- schema:
- type: int
- min: 9000
- max: 65535
- default: 32400
- # Specify GPU configuration
- - variable: gpuConfiguration
- label: "GPU Configuration"
- group: "Resource Reservation"
- schema:
- type: dict
- $ref:
- - "definitions/gpuConfiguration"
- attrs: []
- - variable: appVolumeMounts
- label: "Plex Storage"
- group: "Storage"
- schema:
- type: dict
- attrs:
- - variable: transcode
- label: "Transcode Volume"
- schema:
- type: dict
- attrs:
- - variable: datasetName
- label: "Plex Transcode Volume Name"
- schema:
- type: string
- $ref:
- - "normalize/ixVolume"
- show_if: [["hostPathEnabled", "=", false]]
- default: "ix-plex_transcode"
- hidden: true
- editable: false
- - variable: mountPath
- label: "Plex Transcode Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- hidden: true
- editable: false
- default: "/transcode"
- - variable: hostPathEnabled
- label: "Enable Host Path for Plex Transcode Volume"
- schema:
- type: boolean
- default: false
- show_subquestions_if: true
- subquestions:
- - variable: hostPath
- label: "Host Path for Plex Transcode Volume"
- schema:
- type: hostpath
- required: true
- - variable: data
- label: "Data Volume"
- schema:
- type: dict
- attrs:
- - variable: datasetName
- label: "Plex Data Volume Name"
- schema:
- type: string
- $ref:
- - "normalize/ixVolume"
- show_if: [["hostPathEnabled", "=", false]]
- default: "ix-plex_data"
- editable: false
- hidden: true
- - variable: mountPath
- label: "Plex Data Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- hidden: true
- editable: false
- default: "/data"
- - variable: hostPathEnabled
- label: "Enable Host Path for Plex Data Volume"
- schema:
- type: boolean
- default: false
- show_subquestions_if: true
- subquestions:
- - variable: hostPath
- label: "Host Path for Plex Data Volume"
- schema:
- type: hostpath
- required: true
- - variable: config
- label: "Config Volume"
- schema:
- type: dict
- attrs:
- - variable: datasetName
- label: "Plex Config Volume Name"
- schema:
- type: string
- $ref:
- - "normalize/ixVolume"
- show_if: [["hostPathEnabled", "=", false]]
- default: "ix-plex_config"
- editable: false
- hidden: true
- - variable: mountPath
- label: "Plex 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 Plex Config Volume"
- schema:
- type: boolean
- default: false
- show_subquestions_if: true
- subquestions:
- - variable: hostPath
- label: "Host Path for Plex Config Volume"
- schema:
- type: hostpath
- required: true
- - variable: shared
- label: "Shared Volume"
- schema:
- type: dict
- hidden: true
- attrs:
- - variable: emptyDir
- label: "Temporary Volume"
- schema:
- type: boolean
- default: true
- editable: false
- - variable: mountPath
- label: "Plex Shared Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- editable: false
- default: "/shared"
- - variable: shared-logs
- label: "Shared Logs Volume"
- schema:
- type: dict
- hidden: true
- attrs:
- - variable: emptyDir
- label: "Temporary Volume"
- schema:
- type: boolean
- default: true
- editable: false
- - variable: mountPath
- label: "Plex Shared Logs Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- editable: false
- default: "/config/Library/Application Support/Plex Media Server/Logs"
- - variable: extraAppVolumeMounts
- label: "Plex Extra Host Path Volumes"
- group: "Storage"
- schema:
- type: list
- items:
- - variable: extraAppVolume
- label: "Plex Host Path Volume"
- description: "Add an extra host path volume for plex 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
|