k3s-cluster/cluster/apps/download/vpn/service.yaml

16 lines
232 B
YAML

apiVersion: v1
kind: Service
metadata:
name: vpn-pods
namespace: vpn
labels:
app: vpn-pods
kubernetes.io/name: "vpn-pods"
spec:
selector:
app: vpn-pods
ports:
- name: http
port: 8080
targetPort: 8080