fix(phoenix): remove ServiceMonitor (no Prometheus Operator in cluster)
The ServiceMonitor CRD (monitoring.coreos.com) is not installed because this cluster runs a standalone Prometheus deployment, not the Prometheus Operator. The manifest itself noted 'only apply if Prometheus Operator is installed'. Removing it unblocks the phoenix app sync.
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
# Optional: ServiceMonitor for Prometheus Operator
|
|
||||||
# Only apply this if you have Prometheus Operator installed
|
|
||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: ServiceMonitor
|
|
||||||
metadata:
|
|
||||||
name: phoenix-metrics
|
|
||||||
namespace: phoenix
|
|
||||||
labels:
|
|
||||||
app: phoenix
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: phoenix
|
|
||||||
endpoints:
|
|
||||||
- port: metrics
|
|
||||||
path: /metrics
|
|
||||||
interval: 30s
|
|
||||||
scrapeTimeout: 10s
|
|
||||||
Reference in New Issue
Block a user