Difference between revisions of "Prom.yaml"

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

Latest revision as of 17:13, 28 February 2024

Advertising: