• Create a docker-compose.yaml file 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 convert in 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
    

Updated: