code/etcd-inmemory-monitoring/service.yaml

18 lines
269 B
YAML
Raw Normal View History

2023-04-10 18:52:24 +00:00
---
apiVersion: v1
kind: Service
metadata:
2023-04-10 19:23:12 +00:00
name: controllerbackupexporter
2023-04-10 18:52:24 +00:00
namespace: monitoring
labels:
2023-04-10 19:23:12 +00:00
app: controllerbackupmonitoring
2023-04-10 18:52:24 +00:00
spec:
selector:
2023-04-10 19:23:12 +00:00
app: controllerbackupmonitoring
2023-04-10 18:52:24 +00:00
ports:
- port: 8080
targetPort: 8080
name: http