Skip to content

Commit

Permalink
Remove obsolete version of Elasticsearch serviceMonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmith-sas committed Nov 5, 2024
1 parent c725929 commit 76f4fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monitoring/bin/deploy_monitoring_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ fi
kubectl apply -n $MON_NS -f monitoring/monitors/kube/podMonitor-eventrouter.yaml 2>/dev/null

# Elasticsearch ServiceMonitor
## remove obsolete version, if installed
kubectl delete -n $MON_NS servicemonitor elasticsearch --ignore-not-found
kubectl apply -n $MON_NS -f monitoring/monitors/logging/serviceMonitor-elasticsearch-v2.yaml

# Fluent Bit ServiceMonitors
Expand Down

0 comments on commit 76f4fe1

Please sign in to comment.