Monitoring Addons

The monitoring addon provides the ability for clients to add monitoring solutions like Grafana, Prometheus, or Alertmanager. This ensure that concerns are accurately identified, reasons are exposed and mainly, that repairs are implemented in a timely manner which improves overall product quality. For a full accounting of monitoring options and how to enable them.

YAML Specifications

apiVersion: sunpike.platform9.com/v1alpha2
kind: ClusterAddon
metadata:
  labels:
    sunpike.pf9.io/cluster: '<clsuuid>'
    type: monitoring
  name: <clsuuid>-monitoring
  namespace: default
spec:
  clusterID: '<clsuuid>'
  override:
    params:
    # storageClassName and pvcSize are optional params, if storage backend 
    # is not configured the prometheus pod will remain in Pending state
    - name: storageClassName  
      value: default
    - name: pvcSize
      value: "1Gi"
    - name: retentionTime
      value: "7d"
  type: monitoring
  version: 0.46.0
  watch: true

The corresponding Addon object created on the cluster will look similar to this.

Prometheus YAML

When the Prometheus object is deployed by the addon operator, it introduces the following templatized yaml.

Conclusion

Addons are updated along with the pf9-kube version and can be referenced in the Support Matrix article. For additional assistance, contact our support teamarrow-up-right.support teamarrow-up-right

Last updated

Was this helpful?