wg-easy
This commit is contained in:
31
apps/wg-easy/service.yaml
Normal file
31
apps/wg-easy/service.yaml
Normal 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
|
||||
Reference in New Issue
Block a user