16 lines
266 B
YAML
16 lines
266 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: wireguard
|
|
namespace: wireguard
|
|
spec:
|
|
externalIPs:
|
|
- 192.168.2.5
|
|
ports:
|
|
- name: wireguard
|
|
port: 51820
|
|
protocol: UDP
|
|
targetPort: wireguard
|
|
selector:
|
|
app.kubernetes.io/name: wireguard
|