apiVersion: v1
kind: Service
metadata:
  name: wireguard-vpn
  namespace: wireguard
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
spec:
  ports:
  - name: wireguard-port
    port: 8777
    protocol: UDP
    targetPort: 10200
  selector:
    app: wireguard-vpn
  sessionAffinity: None
  type: LoadBalancer
