tor-svc.yaml 334 B

123456789101112131415161718192021
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: tor
  5. spec:
  6. ipFamilyPolicy: PreferDualStack
  7. type: NodePort
  8. selector:
  9. name: tor
  10. ports:
  11. - protocol: TCP
  12. port: 9001
  13. targetPort: or
  14. nodePort: 31733
  15. name: or
  16. - protocol: TCP
  17. port: 9030
  18. targetPort: pt
  19. nodePort: 31734
  20. name: pt