01- deploy Prometheus Community Operator
Prerequisites
- Kubernetes 1.16+
- Helm 3+
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://charts.helm.sh/stable
helm repo update
helm install [RELEASE_NAME] prometheus-community/kube-prometheus-stack
Grafana admin password change
kubectl exec -it my-prometheus-grafana-66894cd656-pnq7f -c grafana -- sh
grafana-cli admin reset-admin-password new_passwd
kubectl create -f 'https://strimzi.io/install/latest?namespace=default'
kubectl apply -f kafka/01-strimzi-kafka-with-metrics.yaml
Quick start example could also be found here at Strimzi website.
release: my-prometheus it should be [RELEASE_NAME] of the release name from #01
kubectl apply -f kafka/02-prometheus-strimzi-podmonitor.yaml