Files
ljwx-health/deploy/observability/ljwx-bigscreen-servicemonitor.yaml
T
BrunoGaoSZ 76f5f9c402 feat: add GitOps deployment with GitHub hosted runner
- Add GitOps workflows for automated deployment
- Add remote deployment workflow (GitHub hosted runner)
- Add KUBECONFIG export script
- Add comprehensive documentation (quick start guides, comparison)
- Add verification scripts for GitOps setup
- Update CLAUDE.md with GitOps instructions

Test: verify GitOps deployment workflow
2025-12-22 15:29:31 +01:00

30 lines
684 B
YAML

---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: ljwx-bigscreen
namespace: monitoring
labels:
app: ljwx-bigscreen
release: prometheus
spec:
selector:
matchLabels:
app: ljwx-bigscreen
namespaceSelector:
matchNames:
- ljwx-health
endpoints:
- port: http
path: /metrics
interval: 30s
scrapeTimeout: 10s
scheme: http
relabelings:
- sourceLabels: [__meta_kubernetes_pod_name]
targetLabel: pod
- sourceLabels: [__meta_kubernetes_namespace]
targetLabel: namespace
- sourceLabels: [__meta_kubernetes_service_name]
targetLabel: service