service.yaml 284 B

123456789101112131415161718
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: windows
  5. spec:
  6. ports:
  7. - port: 3389
  8. protocol: TCP
  9. targetPort: 3389
  10. name: rdp
  11. - port: 1080
  12. protocol: TCP
  13. targetPort: 1080
  14. name: socks5
  15. selector:
  16. kubevirt.io/vm: vm-windows-datavolume
  17. type: LoadBalancer