Files
2022-03-16 09:25:45 +02:00
..
2022-03-15 18:40:42 +02:00
2022-03-15 16:50:39 +02:00
2022-03-16 09:25:45 +02:00

Prometheus Kubescape Integration

  1. Deploy kubescape

    kubectl apply -f ks-deployment.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
    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
    
  3. Deploy pod monitor

    kubectl apply -f podmonitor.yaml