Difference between revisions of "Prom.yaml"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
<pre>
+
 
prometheus:
+
prometheus:
  prometheusSpec:
+
  prometheusSpec:
    storageSpec:
+
    storageSpec:
      volumeClaimTemplate:
+
      [[volumeClaimTemplate]]:
        spec:
+
        spec:
          storageClassName: "{REPLCAE_ME_WITH_STORAGE_CLASS_NAME}"
+
          [[storageClassName:]] "{REPLACE_ME_WITH_STORAGE_CLASS_NAME}"
          accessModes: ["ReadWriteOnce"]
+
          accessModes: ["ReadWriteOnce"]
          resources:
+
          resources:
            requests:
+
            requests:
              storage: 100Gi
+
              storage: 100Gi
grafana:
+
grafana:
  persistence:
+
  persistence:
    enabled: true
+
    enabled: true
    type: pvc
+
    type: pvc
    storageClassName: "{REPLCAE_ME_WITH_STORAGE_CLASS_NAME}"
+
    [[storageClassName]]: "{REPLACAE_ME_WITH_STORAGE_CLASS_NAME}"
    accessModes: ["ReadWriteOnce"]
+
    accessModes: ["ReadWriteOnce"]
    size: 10Gi
+
    size: 10Gi
    finalizers:
+
    [[finalizers:]]
    - kubernetes.io/pvc-protection
+
    - [[kubernetes.io/pvc-protection]]
</pre>
+
 
 +
== 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 ==
 +
* {{Prometheus}}
 +
 
 +
[[Category:Kubernetes]]

Latest revision as of 17:13, 28 February 2024

Advertising: