knck_pl/k8s/combined-service.yaml
Jakub Kaniecki 4df1d9f9a6 init
2025-03-30 14:46:32 +02:00

17 lines
276 B
YAML

apiVersion: v1
kind: Service
metadata:
name: knck-app
spec:
selector:
app: knck-app
ports:
- name: frontend
protocol: TCP
port: 80
targetPort: 80
- name: backend
protocol: TCP
port: 3001
targetPort: 3001
type: ClusterIP