Monitoring Custom Resource Definition
Monitoring is a composition for Grafana monitoring stack, consisting of Grafana's LokiOpens in a new tab, TempoOpens in a new tab, and MimirOpens in a new tab. All components are installed with the opinionated set of values.
Configuration example
This is a sample Monitoring CR that you can use to install Loki Helm chartOpens in a new tab, Tempo-distributed Helm chartOpens in a new tab, and Mimir-distributed Helm chartOpens in a new tab:
Configuration parameters
These are all parameters that you can use to configure the Monitoring CR:
- MonitoringKind
- cccc.cennso.comGroup
- v1alpha1Version
- apiVersion:
- cccc.cennso.com/v1alpha1
- kind:
- Monitoring
- plural:
- monitorings
- categories:
- [claim]
apiVersionstringrequiredConstant"cccc.cennso.com/v1alpha1"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"Monitoring"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectrequiredcompositeDeletePolicystringAllowed values:"Background""Foreground"compositionRefobjectcompositionRevisionRefobjectcompositionRevisionSelectorobjectcompositionSelectorobjectcompositionUpdatePolicystringAllowed values:"Automatic""Manual"dnsConfigurationobjectShared DNS configuration overrides for the installed components. For OpenShift clusters, set the spec.openShift.enabled=true instead, which also enables other adjustments needed for that platform.
kubePrometheusStackobjectlokiobjectmetaMonitoringobjectmetricsTSDBChartobjectThis section allows you to configure the details of the chart used to install the storage for Prometheus metrics. In
monitoring-large-profile, this chart is mimir-distributed](https://grafana.github.io/helm-charts) and inmonitoring-small-profileit's [prometheus`Opens in a new tab.x-kubernetes-validationsopenShiftobjectpersistentVolumeobjectpublishConnectionDetailsToobjectresourceRefobjects3Bucketobjectx-kubernetes-validationstelemetryAgentCoreobjectThis section allows you to configure the details of the chart used to install the storage for Prometheus metrics. In
monitoring-large-profile, this chart is mimir-distributed](https://grafana.github.io/helm-charts) and inmonitoring-small-profileit's [prometheus`Opens in a new tab.telemetryAgentManagementobjectThis section allows you to configure the details of the chart used to install the storage for Prometheus metrics. In
monitoring-large-profile, this chart is mimir-distributed](https://grafana.github.io/helm-charts) and inmonitoring-small-profileit's [prometheus`Opens in a new tab.x-kubernetes-validationstempoobjectwriteConnectionSecretToRefobject
statusobjectconditionsobject[]Conditions of the resource.x-kubernetes-list-map-keysx-kubernetes-list-typeconnectionDetailsobject