mirror of
https://github.com/kubescape/kubescape.git
synced 2026-03-02 17:50:26 +00:00
Prometheus Kubescape Integration
-
Deploy kubescape
kubectl apply -f ks-deployment.yamlNote
Make sure the configurations suit your cluster (e.g.
serviceType, etc.) -
Deploy kube-prometheus-stack
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update kubectl create namespace prometheus helm install -n prometheus kube-prometheus-stack prometheus-community/kube-prometheus-stack --set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false,prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false -
Deploy pod monitor
kubectl apply -f podmonitor.yaml