deployment.yaml 760 B

123456789101112131415161718192021222324252627282930313233
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: 3proxy
  5. spec:
  6. selector:
  7. matchLabels:
  8. app.kubernetes.io/name: 3proxy
  9. app.kubernetes.io/part-of: 3proxy
  10. strategy:
  11. type: Recreate
  12. template:
  13. metadata:
  14. labels:
  15. app.kubernetes.io/name: 3proxy
  16. app.kubernetes.io/part-of: 3proxy
  17. spec:
  18. hostNetwork: true
  19. containers:
  20. - image: docker-registry.wugi.info/networking/3proxy:latest
  21. name: 3proxy
  22. resources:
  23. limits:
  24. memory: 512Mi
  25. volumeMounts:
  26. - mountPath: /etc/3proxy.cfg
  27. subPath: 3proxy.cfg
  28. name: 3proxy-configuration
  29. volumes:
  30. - name: 3proxy-configuration
  31. configMap:
  32. name: 3proxy-configuration