This commit is contained in:
Chris Richardson
2025-02-07 08:26:03 -05:00
parent 2a09bf9223
commit 7ecdd46001
10 changed files with 144 additions and 636 deletions

31
apps/wg-easy/service.yaml Normal file
View File

@@ -0,0 +1,31 @@
apiVersion: v1
kind: Service
metadata:
name: wg-easy-wg
namespace: wg-easy
spec:
ports:
- name: wg
port: 30000
nodePort: 30000
protocol: UDP
targetPort: wg
selector:
app.kubernetes.io/name: wg-easy
sessionAffinity: None
type: LoadBalancer
---
apiVersion: v1
kind: Service
metadata:
name: wg-easy-http
namespace: wg-easy
spec:
ports:
- name: http
port: 51821
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/name: wg-easy
type: ClusterIP