replicationcontroller.yaml 551 B

12345678910111213141516171819202122232425
  1. apiVersion: v1
  2. kind: ReplicationController
  3. metadata:
  4. name: hue
  5. spec:
  6. replicas: 1
  7. template:
  8. metadata:
  9. labels:
  10. app: hue
  11. spec:
  12. containers:
  13. - name: hue
  14. image: gethue/hue:latest
  15. imagePullPolicy: Always
  16. ports:
  17. - containerPort: 8888
  18. volumeMounts:
  19. - name: config-volume
  20. mountPath: /usr/share/hue/desktop/conf/z-hue.ini
  21. subPath: hue-ini
  22. volumes:
  23. - name: config-volume
  24. configMap:
  25. name: hue-config