deployment-worker.yaml 664 B

12345678910111213141516171819202122232425262728
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: celery-worker
  5. labels:
  6. deployment: celery-worker
  7. spec:
  8. replicas: 1
  9. selector:
  10. matchLabels:
  11. pod: celery-worker
  12. template:
  13. metadata:
  14. labels:
  15. pod: celery-worker
  16. spec:
  17. containers:
  18. - name: celery-worker
  19. image: gethue/hue
  20. command: ['./build/env/bin/celery', 'worker', '-A', 'desktop', '-l', 'info']
  21. volumeMounts:
  22. - name: config-volume
  23. mountPath: /usr/share/hue/desktop/conf/z-hue.ini
  24. subPath: hue-ini
  25. volumes:
  26. - name: config-volume
  27. configMap:
  28. name: hue-config