Difference between revisions of "Prom.yaml"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
<pre>
 
prometheus:
 
  prometheusSpec:
 
    storageSpec:
 
      volumeClaimTemplate:
 
        spec:
 
          storageClassName: "{REPLCAE_ME_WITH_STORAGE_CLASS_NAME}"
 
          accessModes: ["ReadWriteOnce"]
 
          resources:
 
            requests:
 
              storage: 100Gi
 
grafana:
 
  persistence:
 
    enabled: true
 
    type: pvc
 
    storageClassName: "{REPLCAE_ME_WITH_STORAGE_CLASS_NAME}"
 
    accessModes: ["ReadWriteOnce"]
 
    size: 10Gi
 
    finalizers:
 
    - kubernetes.io/pvc-protection
 
</pre>
 
  
 +
prometheus:
 +
  prometheusSpec:
 +
    storageSpec:
 +
      [[volumeClaimTemplate]]:
 +
        spec:
 +
          [[storageClassName:]] "{REPLACE_ME_WITH_STORAGE_CLASS_NAME}"
 +
          accessModes: ["ReadWriteOnce"]
 +
          resources:
 +
            requests:
 +
              storage: 100Gi
 +
grafana:
 +
  persistence:
 +
    enabled: true
 +
    type: pvc
 +
    [[storageClassName]]: "{REPLACAE_ME_WITH_STORAGE_CLASS_NAME}"
 +
    accessModes: ["ReadWriteOnce"]
 +
    size: 10Gi
 +
    [[finalizers:]]
 +
    - [[kubernetes.io/pvc-protection]]
  
 +
== Related ==
 +
* <code>[[kubectl get storageclass]]</code>
 +
* <code>[[Error: open prom.yaml: no such file or directory]]</code>
 +
 +
== Related ==
 +
* [[Prometheus installation]]
 +
* <code>[[helm repo add prometheus-community]]</code>
 +
* <code>[[helm install prometheus]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 17:13, 28 February 2024

Advertising: