Skip to content

Instantly share code, notes, and snippets.

@n3b0r
Last active November 17, 2022 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n3b0r/1e3ac057a28f21ccb6aa487dfbaf616d to your computer and use it in GitHub Desktop.
Save n3b0r/1e3ac057a28f21ccb6aa487dfbaf616d to your computer and use it in GitHub Desktop.
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
# helm install prometheus prometheus-community/prometheus -n prometheus --set server.persistentVolume.mountPath=/opt/ibm/data --set server.storagePath=/home/cfgstore/icn/data
# Port forward to access Prometheus
# kubectl --namespace prometheus port-forward service/prometheus-server -n prometheus 8080:80
# More info
# https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/20.0.x?topic=navigator-creating-volumes-folders-deployment-kubernetes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment