Skip to search

OperatorConfig

monitoring.googleapis.com / v1

apiVersion: monitoring.googleapis.com/v1 kind: OperatorConfig metadata: name: example
View raw schema
apiVersion string
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 info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
collection object
Collection specifies how the operator configures collection.
compression string
Compression enables compression of metrics collection data
enum: none, gzip
credentials object
A reference to GCP service account credentials with which Prometheus collectors are run. It needs to have metric write permissions for all project IDs to which data is written. Within GKE, this can typically be left empty if the compute default service account has the required permissions.
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
externalLabels object
ExternalLabels specifies external labels that are attached to all scraped data before being written to Cloud Monitoring. The precedence behavior matches that of Prometheus.
filter object
Filter limits which metric data is sent to Cloud Monitoring.
matchOneOf []string
A list Prometheus time series matchers. Every time series must match at least one of the matchers to be exported. This field can be used equivalently to the match[] parameter of the Prometheus federation endpoint to selectively export data. Example: `["{job!='foobar'}", "{__name__!~'container_foo.*|container_bar.*'}"]`
kubeletScraping object
Configuration to scrape the metric endpoints of the Kubelets.
interval string required
The interval at which the metric endpoints are scraped.
features object
Features holds configuration for optional managed-collection features.
targetStatus object
Configuration of target status reporting.
enabled boolean
Enable target status reporting.
kind string
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 info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
managedAlertmanager object
ManagedAlertmanager holds information for configuring the managed instance of Alertmanager.
configSecret object
ConfigSecret refers to the name of a single-key Secret in the public namespace that holds the managed Alertmanager config file.
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
metadata object
rules object
Rules specifies how the operator configures and deployes rule-evaluator.
alerting object
Alerting contains how the rule-evaluator configures alerting.
alertmanagers []object
Alertmanagers contains endpoint configuration for designated Alertmanagers.
apiVersion string
Version of the Alertmanager API that rule-evaluator uses to send alerts. It can be "v1" or "v2".
authorization object
Authorization section for this alertmanager endpoint
credentials object
The secret's key that contains the credentials of the request
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
type string
Set the authentication type. Defaults to Bearer, Basic will cause an error
name string required
Name of Endpoints object in Namespace.
namespace string required
Namespace of Endpoints object.
pathPrefix string
Prefix for the HTTP path alerts are pushed to.
port string | integer required
Port the Alertmanager API is exposed on.
scheme string
Scheme to use when firing alerts.
timeout string
Timeout is a per-target Alertmanager timeout when pushing alerts.
tls object
TLS Config to use for alertmanager connection.
ca object
Struct containing the CA cert to use for the targets.
configMap object
ConfigMap containing data to use for the targets.
key string required
The key to select.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the ConfigMap or its key must be defined
secret object
Secret containing data to use for the targets.
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
cert object
Struct containing the client cert file for the targets.
configMap object
ConfigMap containing data to use for the targets.
key string required
The key to select.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the ConfigMap or its key must be defined
secret object
Secret containing data to use for the targets.
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
insecureSkipVerify boolean
Disable target certificate validation.
keySecret object
Secret containing the client key file for the targets.
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
serverName string
Used to verify the hostname for the targets.
credentials object
A reference to GCP service account credentials with which the rule evaluator container is run. It needs to have metric read permissions against queryProjectId and metric write permissions against all projects to which rule results are written. Within GKE, this can typically be left empty if the compute default service account has the required permissions.
key string required
The key of the secret to select from. Must be a valid secret key.
name string
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional boolean
Specify whether the Secret or its key must be defined
externalLabels object
ExternalLabels specifies external labels that are attached to any rule results and alerts produced by rules. The precedence behavior matches that of Prometheus.
generatorUrl string
The base URL used for the generator URL in the alert notification payload. Should point to an instance of a query frontend that gives access to queryProjectID.
queryProjectID string
QueryProjectID is the GCP project ID to evaluate rules against. If left blank, the rule-evaluator will try attempt to infer the Project ID from the environment.

No matches. Try .collection.compression for an exact path