Prometheus: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
== Notes on working with Prometheus via ArgoCD ==
== Notes on working with Prometheus via ArgoCD ==
Currently using ArgoCD and the kube prometheus stack installation there is a bug.  This notes the fix [https://github.com/prometheus-operator/prometheus-operator/issues/4439|github bug in ArgoCD].  The fix is basically to create 2 applications in the same namespace.  First is the CRD, and the second is the stack install itself.  This appears to be due to the way kubectl deals with the overall installation.
Currently using ArgoCD and the kube prometheus stack installation there is a bug.  This notes the fix [https://github.com/prometheus-operator/prometheus-operator/issues/4439 | github bug in ArgoCD].  The fix is basically to create 2 applications in the same namespace.  First is the CRD, and the second is the stack install itself.  This appears to be due to the way kubectl deals with the overall installation.


CRD changes:
CRD changes:

Latest revision as of 09:29, 19 August 2022

Notes on working with Prometheus via ArgoCD

Currently using ArgoCD and the kube prometheus stack installation there is a bug. This notes the fix | github bug in ArgoCD. The fix is basically to create 2 applications in the same namespace. First is the CRD, and the second is the stack install itself. This appears to be due to the way kubectl deals with the overall installation.

CRD changes:

    repoURL: https://github.com/prometheus-community/helm-charts.git
    path: charts/kube-prometheus-stack/crds/
    targetRevision: kube-prometheus-stack-31.0.0
    directory:
      recurse: true
    syncOptions:
    - Replace=true

Main application changes: (edit yaml manually from within creation part of GUI)

    repoURL: https://prometheus-community.github.io/helm-charts
    chart: kube-prometheus-stack
    targetRevision: 31.0.0
    helm:
      releaseName: ...
      skipCrds: true
      values: |
        ...