API reference
This page is automatically generated with
gen-crd-api-reference-docs.Packages:
monitoring.whizard.io/v1alpha1
Resource Types:
Compactor
The Compactor custom resource definition (CRD) defines a desired Compactor setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more.
For each Compactor resource, the Operator deploys a StatefulSet in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||
| Compactor | ||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||||||
specCompactorSpec |
| ||||||||||||||||||||||||||||||||||||||||
statusCompactorStatus |
Gateway
The Gateway custom resource definition (CRD) defines a desired Gateway setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, and many more.
For each Gateway resource, the Operator deploys a Deployment in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||
| Gateway | ||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||||||
specGatewaySpec |
| ||||||||||||||||||||||||||||||||||||||||
statusGatewayStatus |
Ingester
The Ingester custom resource definition (CRD) defines a desired Ingesting Receive setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more.
For each Ingester resource, the Operator deploys a StatefulSet in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||
| Ingester | ||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||||||
specIngesterSpec |
| ||||||||||||||||||||||||||||||||||||||||
statusIngesterStatus |
Query
The Query custom resource definition (CRD) defines a desired Query setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, and many more.
For each Query resource, the Operator deploys a Deployment in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||||||
| Query | ||||||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||||||||||
specQuerySpec |
| ||||||||||||||||||||||||||||||||||||||||||||
statusQueryStatus |
QueryFrontend
The QueryFrontend custom resource definition (CRD) defines a desired QueryFrontend setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, and many more.
For each QueryFrontend resource, the Operator deploys a Deployment in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||
| QueryFrontend | ||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||
specQueryFrontendSpec |
| ||||||||||||||||||||||||||||||||||||
statusQueryFrontendStatus |
Router
The Router custom resource definition (CRD) defines a desired Routing Receivers setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, and many more.
For each Router resource, the Operator deploys a Deployment in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||
| Router | ||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||
specRouterSpec |
| ||||||||||||||||||||||||||||||||||||
statusRouterStatus |
Ruler
Ruler is the Schema for the rulers API
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ruler | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
specRulerSpec |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
statusRulerStatus |
Service
The Service custom resource definition (CRD) defines the Whizard service configuration.
The `ServiceSpec“ has component configuration templates. Some components scale based on the number of tenants and load service configurations
| Field | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||
| Service | ||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||
specServiceSpec |
| ||||||||||||||||||||||||||||
statusServiceStatus |
Storage
The Storage custom resource definition (CRD) defines how to configure access to object storage.
More info https://thanos.io/tip/thanos/storage.md/
Current object storage client implementations: S3, other in progress.
| Field | Description | ||||
|---|---|---|---|---|---|
| | ||||
| Storage | ||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||
specStorageSpec |
| ||||
statusStorageStatus |
Store
The Store custom resource definition (CRD) defines a desired Compactor setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more.
For each Store resource, the Operator deploys a StatefulSet in the same namespace.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||||
| Store | ||||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||||||||||||||||||||||||||
specStoreSpec |
| ||||||||||||||||||||||||||||||||||||||||||
statusStoreStatus |
Tenant
The Tenant custom resource definition (CRD) defines the tenant configuration for multi-tenant data separation in Whizard.
In Whizard, a tenant can represent various types of data sources, such as:
- Monitoring data from a specific Kubernetes cluster
- Monitoring data from a physical machine in a specific region
- Monitoring data from a specific type of application
When data is ingested, it will be tagged with the tenant label to ensure proper separation.
| Field | Description | ||
|---|---|---|---|
| | ||
| Tenant | ||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||
specTenantSpec |
| ||
statusTenantStatus |
BasicAuth
(Appears on:HTTPClientConfig, WebConfig)
BasicAuth allow an endpoint to authenticate over basic authentication
| Field | Description |
|---|---|
usernameKubernetes core/v1.SecretKeySelector | The secret in the service monitor namespace that contains the username for authentication. |
passwordKubernetes core/v1.SecretKeySelector | The secret in the service monitor namespace that contains the password for authentication. |
BlockGC
(Appears on:BlockManager)
| Field | Description |
|---|---|
enablebool | |
resourcesKubernetes core/v1.ResourceRequirements | Define resources requests and limits for main container. |
imagestring | Image is the component image with tag/version. |
imagePullPolicyKubernetes core/v1.PullPolicy | (Optional) Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. |
gcIntervalKubernetes meta/v1.Duration | |
cleanupTimeoutKubernetes meta/v1.Duration | |
defaultTenantIdstring | Default tenant ID to use when none is provided via a header. |
tenantLabelNamestring | Label name through which the tenant will be announced. |
BlockManager
(Appears on:StorageSpec)
| Field | Description |
|---|---|
enablebool | |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
serviceAccountNamestring | ServiceAccountName is the name of the ServiceAccount to use to run bucket Pods. |
nodePortint32 | NodePort is the port used to expose the bucket service. If this is a valid node port, the gateway service type will be set to NodePort accordingly. |
blockSyncIntervalKubernetes meta/v1.Duration | Interval to sync block metadata from object storage |
gcBlockGC |
CacheProvider
(string alias)
(Appears on:ResponseCacheProviderConfig)
| Value | Description |
|---|---|
"IN-MEMORY" | |
"MEMCACHED" | |
"REDIS" |
CommonSpec
(Appears on:BlockManager, CompactorSpec, GatewaySpec, IngesterSpec, QueryFrontendSpec, QuerySpec, RouterSpec, RulerSpec, StoreSpec)
| Field | Description |
|---|---|
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
CompactorSpec
(Appears on:Compactor, CompactorTemplateSpec)
CompactorSpec defines the desired state of Compactor
| Field | Description |
|---|---|
tenants[]string | The tenants whose data is being compacted by the Compactor. |
disableDownsamplingbool | Disables downsampling. This is not recommended, as querying long time ranges without non-downsampled data is not efficient and useful. default: false |
retentionRetention | Retention configs how long to retain samples |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
CompactorStatus
(Appears on:Compactor)
CompactorStatus defines the observed state of Compactor
CompactorTemplateSpec
(Appears on:ServiceSpec)
| Field | Description |
|---|---|
tenants[]string | The tenants whose data is being compacted by the Compactor. |
disableDownsamplingbool | Disables downsampling. This is not recommended, as querying long time ranges without non-downsampled data is not efficient and useful. default: false |
retentionRetention | Retention configs how long to retain samples |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
defaultTenantsPerCompactorint | DefaultTenantsPerIngester Whizard default tenant count per ingester. Default: 10 |
Duration
(string alias)
(Appears on:IngesterTemplateSpec, RemoteWriteSpec, Retention, RulerSpec)
Duration is a valid time unit
Supported units: y, w, d, h, m, s, ms Examples: 30s, 1m, 1h20m15s
EmbeddedObjectMetadata
(Appears on:CommonSpec)
EmbeddedObjectMetadata contains a subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta Only fields which are relevant to embedded resources are included.
| Field | Description |
|---|---|
namestring | (Optional) Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names |
labelsmap[string]string | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels |
annotationsmap[string]string | (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations |
GatewaySpec
(Appears on:Gateway, ServiceSpec)
GatewaySpec defines the desired state of Gateway
| Field | Description |
|---|---|
webConfigWebConfig | Defines the configuration of the Gatewat web server. |
debugbool | If debug mode is on, gateway will proxy Query UI This is an experimental feature, it may change in any upcoming release in a breaking way. |
enabledTenantsAdmissionbool | Deny unknown tenant data remote-write and query if enabled |
nodePortint32 | NodePort is the port used to expose the gateway service. If this is a valid node port, the gateway service type will be set to NodePort accordingly. |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
GatewayStatus
(Appears on:Gateway)
GatewayStatus defines the observed state of Gateway
HTTPClientConfig
(Appears on:RemoteQuerySpec, RemoteWriteSpec)
HTTPClientConfig configures an HTTP client.
| Field | Description |
|---|---|
basicAuthBasicAuth | The HTTP basic authentication credentials for the targets. |
bearerTokenstring | The bearer token for the targets. |
HTTPServerConfig
(Appears on:WebConfig)
HTTPServerTLSConfig
(Appears on:WebConfig)
| Field | Description |
|---|---|
keySecretKubernetes core/v1.SecretKeySelector | Secret containing the TLS key for the server. |
certSecretKubernetes core/v1.SecretKeySelector | Contains the TLS certificate for the server. |
clientCASecretKubernetes core/v1.SecretKeySelector | Contains the CA certificate for client certificate authentication to the server. |
InMemoryIndexCacheConfig
(Appears on:IndexCacheConfig)
| Field | Description |
|---|---|
maxSizestring | MaxSize represents overall maximum number of bytes cache can contain. |
InMemoryResponseCacheConfig
(Appears on:ResponseCacheProviderConfig)
InMemoryResponseCacheConfig holds the configs for the in-memory cache provider.
| Field | Description |
|---|---|
maxSizestring | MaxSize represents overall maximum number of bytes cache can contain. |
maxSizeItemsint | MaxSizeItems represents the maximum number of entries in the cache. |
validitytime.Duration | Validity represents the expiry duration for the cache. |
IndexCacheConfig
(Appears on:StoreSpec)
| Field | Description |
|---|---|
inMemoryInMemoryIndexCacheConfig |
IngesterSpec
(Appears on:Ingester, IngesterTemplateSpec)
IngesterSpec defines the desired state of Ingester
| Field | Description |
|---|---|
tenants[]string | The tenants whose data is being ingested by the Ingester(ingesting receiver). |
localTsdbRetentionstring | LocalTsdbRetention configs how long to retain raw samples on local storage. |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
ingesterTsdbCleanupSidecarSpec |
IngesterStatus
(Appears on:Ingester)
IngesterStatus defines the observed state of Ingester
| Field | Description |
|---|---|
tenants[]IngesterTenantStatus | Tenants contain all tenants that have been configured for this Ingester object, except those Tenant objects that have been deleted. |
IngesterTemplateSpec
(Appears on:ServiceSpec)
| Field | Description |
|---|---|
tenants[]string | The tenants whose data is being ingested by the Ingester(ingesting receiver). |
localTsdbRetentionstring | LocalTsdbRetention configs how long to retain raw samples on local storage. |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
ingesterTsdbCleanupSidecarSpec | |
defaultTenantsPerIngesterint | DefaultTenantsPerIngester Whizard default tenant count per ingester. Default: 3 |
defaultIngesterRetentionPeriodDuration | DefaultIngesterRetentionPeriod Whizard default ingester retention period when it has no tenant. Default: “3h” |
disableTsdbCleanupbool | DisableTSDBCleanup Disable the TSDB cleanup of ingester. The cleanup will delete the blocks that belong to deleted tenants in the data directory of ingester TSDB. Default: true |
IngesterTenantStatus
(Appears on:IngesterStatus)
| Field | Description |
|---|---|
namestring | |
obsoletebool | true represents that the tenant has been moved to other ingester but may left tsdb data in this ingester. |
KubernetesVolume
(Appears on:CompactorSpec, IngesterSpec, RulerSpec, StoreSpec)
KubernetesVolume defines the configured storage for component. If no storage option is specified, then by default an EmptyDir will be used.
If multiple storage options are specified, priority will be given as follows:
- emptyDir
- persistentVolumeClaim
| Field | Description |
|---|---|
emptyDirKubernetes core/v1.EmptyDirVolumeSource | emptyDir represents a temporary directory that shares a pod’s lifetime. |
persistentVolumeClaimKubernetes core/v1.PersistentVolumeClaim | Defines the PVC spec to be used by the component StatefulSets. |
persistentVolumeClaimRetentionPolicyKubernetes apps/v1.StatefulSetPersistentVolumeClaimRetentionPolicy | persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from persistentVolumeClaim. This requires the kubernetes version >= 1.23 and its StatefulSetAutoDeletePVC feature gate to be enabled. This is an experimental feature, it may change in any upcoming release in a breaking way. |
ObjectReference
(Appears on:ServiceSpec, TenantStatus)
| Field | Description |
|---|---|
namespacestring | |
namestring |
QueryFrontendSpec
(Appears on:QueryFrontend, ServiceSpec)
QueryFrontendSpec defines the desired state of QueryFrontend
| Field | Description |
|---|---|
cacheConfigResponseCacheProviderConfig | CacheProviderConfig specifies response cache configuration. |
webConfigWebConfig | Defines the configuration of the Thanos QueryFrontend web server. |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
QueryFrontendStatus
(Appears on:QueryFrontend)
QueryFrontendStatus defines the observed state of QueryFrontend
QuerySpec
(Appears on:Query, ServiceSpec)
QuerySpec defines the desired state of Query
| Field | Description |
|---|---|
promqlEnginestring | experimental PromQL engine, more info thanos.io/tip/components/query.md#promql-engine default: prometheus |
selectorLabelsmap[string]string | Selector labels that will be exposed in info endpoint. |
replicaLabelNames[]string | Labels to treat as a replica indicator along which data is deduplicated. |
webConfigWebConfig | Defines the configuration of the Thanos Query web server. |
stores[]QueryStores | Additional StoreApi servers from which Query component queries from |
envoySidecarSpec | Envoy is used to config sidecar which proxies requests requiring auth to the secure stores |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
QueryStatus
(Appears on:Query)
QueryStatus defines the observed state of Query
QueryStores
(Appears on:QuerySpec)
| Field | Description |
|---|---|
addresses[]string | Address is the addresses of StoreApi server, which may be prefixed with ‘dns+’ or ‘dnssrv+’ to detect StoreAPI servers through respective DNS lookups. |
caSecretKubernetes core/v1.SecretKeySelector | Secret containing the CA cert to use for StoreApi connections |
RemoteQuerySpec
(Appears on:ServiceSpec)
RemoteQuerySpec defines the configuration to query from remote service which should have prometheus-compatible Query APIs.
| Field | Description |
|---|---|
namestring | |
urlstring | |
basicAuthBasicAuth | The HTTP basic authentication credentials for the targets. |
bearerTokenstring | The bearer token for the targets. |
RemoteWriteSpec
(Appears on:ServiceSpec)
RemoteWriteSpec defines the remote write configuration.
| Field | Description |
|---|---|
namestring | |
urlstring | |
headersmap[string]string | Custom HTTP headers to be sent along with each remote write request. |
remoteTimeoutDuration | Timeout for requests to the remote write endpoint. |
basicAuthBasicAuth | The HTTP basic authentication credentials for the targets. |
bearerTokenstring | The bearer token for the targets. |
ResponseCacheProviderConfig
(Appears on:QueryFrontendSpec)
ResponseCacheProviderConfig is the initial ResponseCacheProviderConfig struct holder before parsing it into a specific cache provider. Based on the config type the config is then parsed into a specific cache provider.
| Field | Description |
|---|---|
typeCacheProvider | |
inMemoryInMemoryResponseCacheConfig |
Retention
(Appears on:CompactorSpec)
Retention defines the config for retaining samples
| Field | Description |
|---|---|
retentionRawDuration | How long to retain raw samples in bucket. Setting this to 0d will retain samples of this resolution forever default: 0d |
retention5mDuration | How long to retain samples of resolution 1 (5 minutes) in bucket. Setting this to 0d will retain samples of this resolution forever default: 0d |
retention1hDuration | How long to retain samples of resolution 2 (1 hour) in bucket. Setting this to 0d will retain samples of this resolution forever default: 0d |
RouterSpec
(Appears on:Router, ServiceSpec)
RouterSpec defines the desired state of Router
| Field | Description |
|---|---|
replicationFactoruint64 | How many times to replicate incoming write requests |
webConfigWebConfig | Defines the configuration of the Route(routing receiver) web server. |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
RouterStatus
(Appears on:Router)
RouterStatus defines the observed state of Router
RulerSpec
(Appears on:Ruler, RulerTemplateSpec)
RulerSpec defines the desired state of Ruler
| Field | Description |
|---|---|
ruleSelectors[]*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector | Label selectors to select which PrometheusRules to mount for alerting and recording. The result of multiple selectors are ORed. |
ruleNamespaceSelectorKubernetes meta/v1.LabelSelector | Namespaces to be selected for PrometheusRules discovery. If unspecified, only the same namespace as the Ruler object is in is used. |
shardsint32 | Number of shards to take the hash of fully qualified name of the rule group in order to split rules. Each shard of rules will be bound to one separate statefulset. Default: 1 |
tenantstring | Tenant if not empty indicates which tenant’s data is evaluated for the selected rules; otherwise, it is for all tenants. |
queryConfigKubernetes core/v1.SecretKeySelector | |
remoteWriteConfigKubernetes core/v1.SecretKeySelector | |
labelsmap[string]string | Labels configure the external label pairs to Ruler. A default replica label
|
alertDropLabels[]string | AlertDropLabels configure the label names which should be dropped in Ruler alerts.
The replica label |
alertmanagersUrl[]string | Define URLs to send alerts to Alertmanager.
Note: this field will be ignored if AlertmanagersConfig is specified.
Maps to the |
alertmanagersConfigKubernetes core/v1.SecretKeySelector | Define configuration for connecting to alertmanager. Maps to the |
evaluationIntervalDuration | Interval between consecutive evaluations. Default: “1m” |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
rulerQueryProxySidecarSpec | |
rulerWriteProxySidecarSpec | |
prometheusConfigReloaderSidecarSpec | |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
RulerStatus
(Appears on:Ruler)
RulerStatus defines the observed state of Ruler
RulerTemplateSpec
(Appears on:ServiceSpec)
| Field | Description |
|---|---|
ruleSelectors[]*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector | Label selectors to select which PrometheusRules to mount for alerting and recording. The result of multiple selectors are ORed. |
ruleNamespaceSelectorKubernetes meta/v1.LabelSelector | Namespaces to be selected for PrometheusRules discovery. If unspecified, only the same namespace as the Ruler object is in is used. |
shardsint32 | Number of shards to take the hash of fully qualified name of the rule group in order to split rules. Each shard of rules will be bound to one separate statefulset. Default: 1 |
tenantstring | Tenant if not empty indicates which tenant’s data is evaluated for the selected rules; otherwise, it is for all tenants. |
queryConfigKubernetes core/v1.SecretKeySelector | |
remoteWriteConfigKubernetes core/v1.SecretKeySelector | |
labelsmap[string]string | Labels configure the external label pairs to Ruler. A default replica label
|
alertDropLabels[]string | AlertDropLabels configure the label names which should be dropped in Ruler alerts.
The replica label |
alertmanagersUrl[]string | Define URLs to send alerts to Alertmanager.
Note: this field will be ignored if AlertmanagersConfig is specified.
Maps to the |
alertmanagersConfigKubernetes core/v1.SecretKeySelector | Define configuration for connecting to alertmanager. Maps to the |
evaluationIntervalDuration | Interval between consecutive evaluations. Default: “1m” |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
rulerQueryProxySidecarSpec | |
rulerWriteProxySidecarSpec | |
prometheusConfigReloaderSidecarSpec | |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
disableAlertingRulesAutoSelectionbool | DisableAlertingRulesAutoSelection disable auto select alerting rules in tenant ruler Default: true |
S3
(Appears on:StorageSpec)
Config stores the configuration for s3 bucket. https://github.com/thanos-io/objstore/blob/main/providers/s3
| Field | Description |
|---|---|
bucketstring | |
endpointstring | |
regionstring | |
disableDualstackbool | |
awsSdkAuthbool | |
accessKeyKubernetes core/v1.SecretKeySelector | |
insecurebool | |
signatureVersion2bool | |
secretKeyKubernetes core/v1.SecretKeySelector | |
putUserMetadatamap[string]string | |
httpConfigS3HTTPConfig | |
traceS3TraceConfig | |
listObjectsVersionstring | |
sendContentMd5bool | |
disableMultipartbool | |
partSizeuint64 | PartSize used for multipart upload. Only used if uploaded object size is known and larger than configured PartSize. NOTE we need to make sure this number does not produce more parts than 10 000. |
sseConfigS3SSEConfig | |
stsEndpointstring |
S3HTTPConfig
(Appears on:S3)
S3HTTPConfig stores the http.Transport configuration for the s3 minio client.
| Field | Description |
|---|---|
idleConnTimeoutgithub.com/prometheus/common/model.Duration | |
responseHeaderTimeoutgithub.com/prometheus/common/model.Duration | |
insecureSkipVerifybool | |
tlsHandshakeTimeoutgithub.com/prometheus/common/model.Duration | |
expectContinueTimeoutgithub.com/prometheus/common/model.Duration | |
maxIdleConnsint | |
maxIdleConnsPerHostint | |
maxConnsPerHostint | |
tlsConfigTLSConfig | |
disableCompressionbool |
S3SSEConfig
(Appears on:S3)
S3SSEConfig deals with the configuration of SSE for Minio. The following options are valid: kmsencryptioncontext == https://docs.aws.amazon.com/kms/latest/developerguide/services-s3.html#s3-encryption-context
| Field | Description |
|---|---|
typestring | |
kmsKeyIdstring | |
kmsEncryptionContextmap[string]string | |
encryptionKeystring |
S3TraceConfig
(Appears on:S3)
| Field | Description |
|---|---|
enablebool |
ServiceSpec
(Appears on:Service)
ServiceSpec defines the desired state of Service
| Field | Description |
|---|---|
tenantHeaderstring | HTTP header to determine tenant for remote write requests. |
defaultTenantIdstring | Default tenant ID to use when none is provided via a header. |
tenantLabelNamestring | Label name through which the tenant will be announced. |
storageObjectReference | |
remoteWrites[]RemoteWriteSpec | RemoteWrites is the list of remote write configurations. If it is configured, its targets will receive write requests from the Gateway and the Ruler. |
remoteQueryRemoteQuerySpec | RemoteQuery is the remote query configuration and the remote target should have prometheus-compatible Query APIs. If not configured, the Gateway will proxy all read requests through the QueryFrontend to the Query, If configured, the Gateway will proxy metrics read requests through the QueryFrontend to the remote target, but proxy rules read requests directly to the Query. |
gatewayTemplateSpecGatewaySpec | GatewayTemplateSpec defines the Gateway configuration template. |
queryFrontendTemplateSpecQueryFrontendSpec | QueryFrontendTemplateSpec defines the QueryFrontend configuration template. |
queryTemplateSpecQuerySpec | QueryTemplateSpec defines the Query configuration template. |
rulerTemplateSpecRulerTemplateSpec | RulerTemplateSpec defines the Ruler configuration template. |
routerTemplateSpecRouterSpec | RouterTemplateSpec defines the Router configuration template. |
ingesterTemplateSpecIngesterTemplateSpec | IngesterTemplateSpec defines the Ingester configuration template. |
storeTemplateSpecStoreSpec | StoreTemplateSpec defines the Store configuration template. |
compactorTemplateSpecCompactorTemplateSpec | CompactorTemplateSpec defines the Compactor configuration template. |
ServiceStatus
(Appears on:Service)
ServiceStatus defines the observed state of Service
SidecarSpec
(Appears on:IngesterSpec, QuerySpec, RulerSpec)
| Field | Description |
|---|---|
imagestring | Image is the envoy image with tag/version |
resourcesKubernetes core/v1.ResourceRequirements | Define resources requests and limits for sidecar container. |
StorageSpec
(Appears on:Storage)
StorageSpec defines the desired state of Storage
| Field | Description |
|---|---|
blockManagerBlockManager | |
S3S3 |
StorageStatus
(Appears on:Storage)
StorageStatus defines the observed state of Storage
StoreSpec
(Appears on:Store, ServiceSpec)
StoreSpec defines the desired state of Store
| Field | Description |
|---|---|
minTimestring | MinTime specifies start of time range limit to serve |
maxTimestring | MaxTime specifies end of time range limit to serve |
timeRanges[]TimeRange | TimeRanges is a list of TimeRange to partition Store. If specified, the MinTime and MaxTime will be ignored. |
indexCacheConfigIndexCacheConfig | IndexCacheConfig contains index cache configuration. |
dataVolumeKubernetesVolume | DataVolume specifies how volume shall be used |
replicasint32 | Number of component instances to deploy. |
imagestring | Component container image URL. |
imagePullPolicyKubernetes core/v1.PullPolicy | Image pull policy. |
resourcesKubernetes core/v1.ResourceRequirements | Resources defines the resource requirements for single Pods. |
logLevelstring | Log level for component to be configured with. |
logFormatstring | Log format for component to be configured with. |
flags[]string | Flags allows setting additional flags for the component container. |
podMetadataEmbeddedObjectMetadata | PodMetadata configures labels and annotations which are propagated to the pods. |
configMaps[]string | ConfigMaps is a list of ConfigMaps in the same namespace as the component
object, which shall be mounted into the default Pods.
Each ConfigMap is added to the StatefulSet/Deployment definition as a volume named |
secrets[]string | Secrets is a list of Secrets in the same namespace as the component
object, which shall be mounted into the Prometheus Pods.
Each Secret is added to the StatefulSet/Deployment definition as a volume named |
containersk8s.io/apimachinery/pkg/runtime.RawExtension | Containers allows injecting additional containers or modifying operator generated containers. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | An optional list of references to secrets in the same namespace to use for pulling images from registries |
securityContextKubernetes core/v1.PodSecurityContext | SecurityContext holds pod-level security attributes and common container settings. This defaults to the default PodSecurityContext. |
affinityKubernetes core/v1.Affinity | If specified, the pod’s scheduling constraints. |
nodeSelectormap[string]string | Define which Nodes the Pods are scheduled on. |
tolerations[]Kubernetes core/v1.Toleration | If specified, the pod’s tolerations. |
StoreStatus
(Appears on:Store)
StoreStatus defines the observed state of Store
TLSConfig
(Appears on:S3HTTPConfig)
TLSConfig configures the options for TLS connections.
| Field | Description |
|---|---|
caKubernetes core/v1.SecretKeySelector | The secret that including the CA cert. |
certKubernetes core/v1.SecretKeySelector | The secret that including the client cert. |
keyKubernetes core/v1.SecretKeySelector | The secret that including the client key. |
serverNamestring | Used to verify the hostname for the targets. |
insecureSkipVerifybool | Disable target certificate validation. |
TenantSpec
(Appears on:Tenant)
TenantSpec defines the desired state of Tenant
| Field | Description |
|---|---|
tenantstring |
TenantStatus
(Appears on:Tenant)
TenantStatus defines the observed state of Tenant
| Field | Description |
|---|---|
rulerObjectReference | |
compactorObjectReference | |
ingesterObjectReference |
TimeRange
(Appears on:StoreSpec)
| Field | Description |
|---|---|
minTimestring | MinTime specifies start of time range limit to serve |
maxTimestring | MaxTime specifies end of time range limit to serve |
WebConfig
(Appears on:GatewaySpec, QueryFrontendSpec, QuerySpec, RouterSpec)
| Field | Description |
|---|---|
httpServerTLSConfigHTTPServerTLSConfig | |
httpServerConfigHTTPServerConfig | |
basicAuthUsers[]BasicAuth |