Skip to content

Instantly share code, notes, and snippets.

View n3b0r's full-sized avatar

Víctor Guerrero n3b0r

View GitHub Profile
@n3b0r
n3b0r / prometheus.yaml
Last active November 15, 2022 18:50
Custom ConfigMap for Sysdig Monitor Agent to collect kubelet metrics
# edit via `kubectl edit configmap sysdig-agent -n monitoring`
apiVersion: v1
data:
dragent.yaml: |
new_k8s: true
k8s_cluster_name: XXXXXX # i.e: foo-cluster
security:
enabled: true
commandlines_capture:
@n3b0r
n3b0r / values.yaml
Last active November 17, 2022 11:51
Custom params to deploy Prometheus with helm chart on IBM cloud
server:
persistentVolume:
mountPath: /opt/ibm/data
storagePath: /home/cfgstore/icn/data
nodeExporter:
podAnnotations: {
prometheus.io/scrape: "true" # delete to disable Sysdig auto discovery service.
}
# helm install prometheus prometheus-community/prometheus -n prometheus -f values.yaml