Exporter Custom Resource Definition
Exporter Custom Resource (CR) is used to define and configure an exporter pipeline on the Management Cluster.
Configuration example
This is a sample Exporter CR that configures a pipeline named platform-metrics in the my-namespace namespace, polling Mimir and writing ECS-compliant JSON documents to Elasticsearch with OAuth 2.0 authentication:
Documents written to Elasticsearch conform to the Elastic Common Schema (ECS)Opens in a new tab. Kubernetes resource labels are mapped to the correct ECS fieldsets: cluster and workload identity to orchestrator.*, container to container.name, node to host.name, and service to service.name.
Configuration parameters
These are all parameters that you can use to configure the Exporter CR:
- ExporterKind
- monitoring.cennso.comGroup
- v1alpha1Version
- apiVersion:
- monitoring.cennso.com/v1alpha1
- kind:
- Exporter
- plural:
- exporters
- categories:
- [composite]
apiVersionstringrequiredConstant"monitoring.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"Exporter"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.specobjectrequiredsinkobjectrequired1 propertiessourceobjectrequiredclaimRefobjectcompositionRefobjectcompositionRevisionRefobjectcompositionRevisionSelectorobjectcompositionSelectorobjectcompositionUpdatePolicystringAllowed values:"Automatic""Manual"deploymentobjectenvironmentConfigRefsobject[]publishConnectionDetailsToobjectresourceRefsobject[]x-kubernetes-list-typewriteConnectionSecretToRefobject
statusobjectconditionsobject[]Conditions of the resourcex-kubernetes-list-map-keysx-kubernetes-list-typeconnectionDetailsobjectphasestringOne of Pending, Ready, Failed. Mirrored from the underlying Helm Release.renderedConfigMapstringName of the ConfigMap holding the rendered telegraf.conf.