k3s-testing/k3s-serv.yaml
2025-05-26 09:43:28 +02:00

13 lines
238 B
YAML

apiVersion: v1
kind: Service
metadata:
name: porty
spec:
selector:
app: porty
ports:
- protocol: TCP
port: 3000 # this is the port the users will access, so probably should be 80
targetPort: 3000
type: LoadBalancer