K3s-cluster/synapse/service.yaml

22 lines
414 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: synapse-svc
namespace: synapse
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8008
- name: metrics
port: 9000
protocol: TCP
targetPort: 9009
- name: db
port: 5432
protocol: TCP
targetPort: 5432
selector:
app: synapse