## Summary - Deploy UnPoller as a k8s service on indri to export UniFi controller metrics to Prometheus - Custom-built container from forge mirror (`containers/unpoller/Dockerfile`) - Credentials pulled from 1Password via external-secrets - Prometheus scrape job added, docs and service-versions updated ## Test plan - [ ] Build container: `mise run container-release unpoller v2.34.0` - [ ] Update kustomization tag with built image tag - [ ] Deploy from branch: `argocd app set unpoller --revision feature/unpoller && argocd app sync unpoller` - [ ] Verify pod connects to UX7 controller (check logs) - [ ] Confirm `unpoller` target appears in Prometheus - [ ] Query `unifi_` metrics in Grafana 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: #298
13 lines
208 B
YAML
13 lines
208 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unpoller
|
|
namespace: monitoring
|
|
spec:
|
|
selector:
|
|
app: unpoller
|
|
ports:
|
|
- port: 9130
|
|
targetPort: metrics
|
|
protocol: TCP
|
|
name: metrics
|