app-deployment.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. annotations:
  5. kompose.cmd: kompose convert
  6. kompose.version: 1.26.0 (40646f47)
  7. creationTimestamp: null
  8. labels:
  9. io.kompose.service: app
  10. name: app
  11. namespace: nginx-manager
  12. spec:
  13. replicas: 1
  14. selector:
  15. matchLabels:
  16. io.kompose.service: app
  17. strategy:
  18. type: Recreate
  19. template:
  20. metadata:
  21. annotations:
  22. kompose.cmd: kompose convert
  23. kompose.version: 1.26.0 (40646f47)
  24. creationTimestamp: null
  25. labels:
  26. io.kompose.service: app
  27. spec:
  28. containers:
  29. - env:
  30. - name: TZ
  31. value: Europe/Madrid
  32. image: jc21/nginx-proxy-manager:latest
  33. name: app
  34. ports:
  35. - containerPort: 80
  36. - containerPort: 443
  37. - containerPort: 81
  38. resources: {}
  39. volumeMounts:
  40. - mountPath: /data
  41. name: app-claim0
  42. - mountPath: /etc/letsencrypt
  43. name: app-claim1
  44. restartPolicy: Always
  45. volumes:
  46. - name: app-claim0
  47. persistentVolumeClaim:
  48. claimName: app-claim0
  49. - name: app-claim1
  50. persistentVolumeClaim:
  51. claimName: app-claim1
  52. status: {}