Files
kubescape/httphandler/examples/prometheus/README.md
2022-03-14 18:34:34 +02:00

854 B

Prometheus Kubescape Integration

  1. Deploy kubescape

    kubectl apply -f https://raw.githubusercontent.com/armosec/kubescape/master/httphandler/examples/prometheus/kubescape.yaml
    

    Note

    Make sure the configurations suit your cluster (e.g. serviceType, etc.)

  2. Deploy kube-prometheus-stack

    helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
    helm repo update
    helm install kube-prometheus-stack prometheus-community/kube-prometheus-stack --set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false,prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false
    
  3. Deploy pod monitor

    kubectl apply -f https://raw.githubusercontent.com/armosec/kubescape/master/httphandler/examples/prometheus/kubescape.yaml