deployment.yaml 375 B

123456789101112131415161718
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: socks5lb
  5. spec:
  6. template:
  7. spec:
  8. containers:
  9. - name: socks5lb
  10. volumeMounts:
  11. - mountPath: /etc/socks5lb.yml
  12. subPath: socks5lb.yml
  13. name: socks5lb-configuration
  14. volumes:
  15. - name: socks5lb-configuration
  16. configMap:
  17. name: socks5lb-configuration