20 lines
373 B
YAML
20 lines
373 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: synapse-svc
|
|
namespace: synapse
|
|
labels:
|
|
app.kubernetes.io/name: synapse
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 8008
|
|
- name: metrics
|
|
port: 9000
|
|
protocol: TCP
|
|
targetPort: 9009
|
|
selector:
|
|
app: synapse
|