deployment.yaml 786 B

12345678910111213141516171819202122232425262728293031323334
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: i2pd
  5. spec:
  6. selector:
  7. matchLabels:
  8. app.kubernetes.io/name: i2pd
  9. app.kubernetes.io/part-of: ip2d
  10. template:
  11. metadata:
  12. labels:
  13. app.kubernetes.io/name: i2pd
  14. app.kubernetes.io/part-of: ip2d
  15. spec:
  16. hostNetwork: true
  17. containers:
  18. - image: ghcr.io/purplei2p/i2pd:release-2.50.2
  19. name: i2pd
  20. volumeMounts:
  21. - mountPath: /home/i2pd/data
  22. name: data
  23. - mountPath: /i2pd_certificates
  24. name: certs
  25. volumes:
  26. - hostPath:
  27. path: /var/lib/i2pd/home/i2pd/data
  28. type: Directory
  29. name: data
  30. - hostPath:
  31. path: /var/lib/i2pd/i2pd_certificates
  32. type: Directory
  33. name: certs