Skip to content

Commit

Permalink
Makefile: enable prometheus.service monitor when deploying helm
Browse files Browse the repository at this point in the history
The makefile rule deploys the prometheus stack, so it makes sense to
enable the servicemonitor.

Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Dec 1, 2023
1 parent 0e245a6 commit f0cb412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ deploy-helm: helm deploy-cluster deploy-prometheus
$(KUBECTL) create ns ${NAMESPACE} || true
$(KUBECTL) label ns ${NAMESPACE} pod-security.kubernetes.io/enforce=privileged
$(HELM) install frrk8s charts/frr-k8s/ --set frrk8s.image.tag=${IMG_TAG} --set frrk8s.logLevel=debug --set prometheus.rbacPrometheus=true \
--set prometheus.serviceAccount=prometheus-k8s --set prometheus.namespace=monitoring --namespace ${NAMESPACE}
--set prometheus.serviceAccount=prometheus-k8s --set prometheus.namespace=monitoring --set prometheus.serviceMonitor.enabled=true --namespace ${NAMESPACE}
sleep 2s # wait for daemonset to be created
$(KUBECTL) -n frr-k8s-system wait --for=condition=Ready --all pods --timeout 300s

Expand Down

0 comments on commit f0cb412

Please sign in to comment.