Creating A Handbrake Container On Kubernetes
- Create a
docker-compose.yamlfile with the following:version: '3' services: handbrake: image: jlesage/handbrake ports: - "5800:5800" volumes: - "/docker/appdata/handbrake:/config:rw" - "/home/howard:/storage:ro" - "/home/howard/HandBrake/watch:/watch:rw" - "/home/howard/HandBrake/output:/output:rw" - Then run
kompose convertin the same directory. - Create the pod with:
kubectl apply -f handbrake-claim2-persistentvolumeclaim.yaml,handbrake-claim0-persistentvolumeclaim.yaml,handbrake-cm1-configmap.yaml,handbrake-claim3-persistentvolumeclaim.yaml,handbrake-service.yaml,handbrake-deployment.yaml