deployment.yaml 630 B

1234567891011121314151617181920212223242526272829
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: socks5lb
  5. spec:
  6. strategy:
  7. type: Recreate
  8. selector:
  9. matchLabels:
  10. app.kubernetes.io/name: socks5lb
  11. app.kubernetes.io/part-of: socks5lb
  12. template:
  13. metadata:
  14. labels:
  15. app.kubernetes.io/name: socks5lb
  16. app.kubernetes.io/part-of: socks5lb
  17. spec:
  18. hostNetwork: true
  19. containers:
  20. - image: ghcr.io/mingcheng/socks5lb:1.1.0
  21. name: socks5lb
  22. env:
  23. - name: TZ
  24. value: "Europe/Moscow"
  25. - name: CHECK_TIME_INTERVAL
  26. value: "3600"
  27. - name: DEBUG
  28. value: "true"