apiVersion: v1 kind: Service metadata: name: allmende-p2p spec: type: NodePort # NodePort traffic that lands on another node is forwarded, so the port also # works when the router points at a node that is not running the pod. externalTrafficPolicy: Cluster ports: - name: p2p-tcp port: 4001 targetPort: p2p-tcp protocol: TCP nodePort: 30401 - name: p2p-quic port: 4001 targetPort: p2p-quic protocol: UDP nodePort: 30401