From cca8b1d9212f9ff39ff317f849f98d8fba514462 Mon Sep 17 00:00:00 2001 From: Alexander Marshalov <_@marshalov.org> Date: Thu, 7 Sep 2023 14:27:08 +0200 Subject: [PATCH] Bump version of operator helm-chart to `0.26.2` (and update CRD) in k8s-stack (#654) --- .../victoria-metrics-k8s-stack/CHANGELOG.md | 2 +- charts/victoria-metrics-k8s-stack/Chart.lock | 6 +- charts/victoria-metrics-k8s-stack/Chart.yaml | 2 +- .../charts/crds/crds/crd.yaml | 712 +++++++++++++++--- 4 files changed, 593 insertions(+), 129 deletions(-) diff --git a/charts/victoria-metrics-k8s-stack/CHANGELOG.md b/charts/victoria-metrics-k8s-stack/CHANGELOG.md index d3d6f1b79..ee7a0a58a 100644 --- a/charts/victoria-metrics-k8s-stack/CHANGELOG.md +++ b/charts/victoria-metrics-k8s-stack/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next release -- TODO +- Bump version of operator helm-chart to `0.26.2` ## 0.17.6 diff --git a/charts/victoria-metrics-k8s-stack/Chart.lock b/charts/victoria-metrics-k8s-stack/Chart.lock index fe835c63d..bfb649689 100644 --- a/charts/victoria-metrics-k8s-stack/Chart.lock +++ b/charts/victoria-metrics-k8s-stack/Chart.lock @@ -1,7 +1,7 @@ dependencies: - name: victoria-metrics-operator repository: https://victoriametrics.github.io/helm-charts - version: 0.26.0 + version: 0.26.2 - name: kube-state-metrics repository: https://prometheus-community.github.io/helm-charts version: 4.24.0 @@ -14,5 +14,5 @@ dependencies: - name: crds repository: "" version: 0.0.0 -digest: sha256:1c2a84d7b7ba38368e7037fb098d232071453d11ef40ee9eca98bd2988347bb2 -generated: "2023-09-04T11:20:38.295378+02:00" +digest: sha256:3389ac18d16874b80b8cb134a39cc75f712b5de9f5cf02e7030b21f5d9f97ea2 +generated: "2023-09-07T13:48:14.09834+02:00" diff --git a/charts/victoria-metrics-k8s-stack/Chart.yaml b/charts/victoria-metrics-k8s-stack/Chart.yaml index c39efeb65..c03fb9bfe 100644 --- a/charts/victoria-metrics-k8s-stack/Chart.yaml +++ b/charts/victoria-metrics-k8s-stack/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: victoria-metrics-k8s-stack description: Kubernetes monitoring on VictoriaMetrics stack. Includes VictoriaMetrics Operator, Grafana dashboards, ServiceScrapes and VMRules type: application -version: 0.17.6 +version: 0.17.7 appVersion: v1.93.3 sources: - https://github.com/VictoriaMetrics/helm-charts diff --git a/charts/victoria-metrics-k8s-stack/charts/crds/crds/crd.yaml b/charts/victoria-metrics-k8s-stack/charts/crds/crds/crd.yaml index 62a70ff54..b87d4c324 100644 --- a/charts/victoria-metrics-k8s-stack/charts/crds/crds/crd.yaml +++ b/charts/victoria-metrics-k8s-stack/charts/crds/crds/crd.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmagents.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -747,7 +747,7 @@ spec: imagePullSecrets: description: ImagePullSecrets An optional list of references to secrets in the same namespace to use for pulling images from registries - see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items: description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -790,8 +790,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -967,8 +968,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -1211,8 +1213,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -1392,8 +1395,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -1636,9 +1640,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -1799,6 +1803,10 @@ spec: description: Allows setting different de-duplication intervals per each configured remote storage type: string + dropInput: + description: Allow drop all the input samples after the + aggregation + type: boolean keepInput: description: Allows writing both raw and aggregate data type: boolean @@ -1832,8 +1840,8 @@ spec: type: string if: description: 'If represents metricsQL match - expression: ''{__name__=~"foo_.*"}''' - type: string + expression (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -1901,10 +1909,11 @@ spec: description: Interval is the interval between aggregations. type: string match: - description: "Match is a label selector for filtering - time series for the given selector. \n If the match - isn't set, then all the input time series are processed." - type: string + description: "Match is a label selector (or list of + label selectors) for filtering time series for the + given selector. \n If the match isn't set, then + all the input time series are processed." + x-kubernetes-preserve-unknown-fields: true output_relabel_configs: description: OutputRelabelConfigs is an optional relabeling rules, which are applied on the aggregated output @@ -1921,8 +1930,8 @@ spec: type: string if: description: 'If represents metricsQL match - expression: ''{__name__=~"foo_.*"}''' - type: string + expression (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -2006,6 +2015,11 @@ spec: items: type: string type: array + staleness_interval: + description: StalenessInterval defines an interval + after which the series state will be reset if no + samples have been sent during it. + type: string without: description: "Without is an optional list of labels, which must be excluded when grouping input series. @@ -2395,8 +2409,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -2504,7 +2519,7 @@ spec: type: object x-kubernetes-map-type: atomic serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape + description: ServiceScrapeSpec that will be added to vmagent VMServiceScrape spec required: - endpoints @@ -2974,8 +2989,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -3211,7 +3227,7 @@ spec: type: array type: object status: - description: VmAgentStatus defines the observed state of VmAgent + description: VMAgentStatus defines the observed state of VMAgent properties: availableReplicas: description: AvailableReplicas Total number of available pods (ready @@ -3262,7 +3278,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmalertmanagerconfigs.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -4031,7 +4047,8 @@ spec: description: A list of Slack fields that are sent with each notification. items: - description: See https://api.slack.com/docs/message-attachments#fields + description: SlackField configures a single Slack field + that is sent with each notification. See https://api.slack.com/docs/message-attachments#fields for more information. properties: short: @@ -4912,7 +4929,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmalertmanagers.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -5502,7 +5519,7 @@ spec: imagePullSecrets: description: ImagePullSecrets An optional list of references to secrets in the same namespace to use for pulling images from registries - see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items: description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -5726,8 +5743,8 @@ spec: to use type: string serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape - spec + description: ServiceScrapeSpec that will be added to vmalertmanager + VMServiceScrape spec required: - endpoints type: object @@ -6303,7 +6320,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmalerts.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -6367,11 +6384,6 @@ spec: parameter. e.g. http://127.0.0.1:8428 properties: OAuth2: - description: OAuth2 defines OAuth2 configuration - required: - - client_id - - token_url - type: object x-kubernetes-preserve-unknown-fields: true basicAuth: description: BasicAuth allow an endpoint to authenticate over @@ -6424,7 +6436,8 @@ spec: type: object x-kubernetes-map-type: atomic type: object - bearerTokenFilePath: + bearerTokenFile: + description: Path to bearer token file type: string bearerTokenSecret: description: Optional bearer auth token to use for -remoteWrite.url @@ -6452,6 +6465,95 @@ spec: items: type: string type: array + oauth2: + description: OAuth2 defines OAuth2 configuration + properties: + client_id: + description: The secret or configmap containing the OAuth2 + client id + properties: + configMap: + description: ConfigMap containing data to use for the + targets. + properties: + key: + description: The key to select. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the ConfigMap or its + key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + description: Secret containing data to use for the targets. + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key + must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + client_secret: + description: The secret containing the OAuth2 client secret + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key must + be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + client_secret_file: + description: ClientSecretFile defines path for client secret + file. + type: string + endpoint_params: + additionalProperties: + type: string + description: Parameters to append to the token URL + type: object + scopes: + description: OAuth2 scopes used for the token request + items: + type: string + type: array + token_url: + description: The URL to fetch the token from + minLength: 1 + type: string + required: + - client_id + - token_url + type: object tlsConfig: description: TLSConfig specifies TLSConfig configuration parameters. type: object @@ -6573,7 +6675,7 @@ spec: imagePullSecrets: description: ImagePullSecrets An optional list of references to secrets in the same namespace to use for pulling images from registries - see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items: description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -6637,11 +6739,6 @@ spec: be chosen: notifierConfigRef or notifiers + notifier' properties: OAuth2: - description: OAuth2 defines OAuth2 configuration - required: - - client_id - - token_url - type: object x-kubernetes-preserve-unknown-fields: true basicAuth: description: BasicAuth allow an endpoint to authenticate over @@ -6694,7 +6791,8 @@ spec: type: object x-kubernetes-map-type: atomic type: object - bearerTokenFilePath: + bearerTokenFile: + description: Path to bearer token file type: string bearerTokenSecret: description: Optional bearer auth token to use for -remoteWrite.url @@ -6722,6 +6820,95 @@ spec: items: type: string type: array + oauth2: + description: OAuth2 defines OAuth2 configuration + properties: + client_id: + description: The secret or configmap containing the OAuth2 + client id + properties: + configMap: + description: ConfigMap containing data to use for the + targets. + properties: + key: + description: The key to select. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the ConfigMap or its + key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + description: Secret containing data to use for the targets. + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key + must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + client_secret: + description: The secret containing the OAuth2 client secret + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key must + be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + client_secret_file: + description: ClientSecretFile defines path for client secret + file. + type: string + endpoint_params: + additionalProperties: + type: string + description: Parameters to append to the token URL + type: object + scopes: + description: OAuth2 scopes used for the token request + items: + type: string + type: array + token_url: + description: The URL to fetch the token from + minLength: 1 + type: string + required: + - client_id + - token_url + type: object selector: description: Selector allows service discovery for alertmanager in this case all matched vmalertmanager replicas will be added @@ -6830,11 +7017,6 @@ spec: information about alerts properties: OAuth2: - description: OAuth2 defines OAuth2 configuration - required: - - client_id - - token_url - type: object x-kubernetes-preserve-unknown-fields: true basicAuth: description: BasicAuth allow an endpoint to authenticate over @@ -6887,7 +7069,8 @@ spec: type: object x-kubernetes-map-type: atomic type: object - bearerTokenFilePath: + bearerTokenFile: + description: Path to bearer token file type: string bearerTokenSecret: description: Optional bearer auth token to use for -remoteWrite.url @@ -6915,6 +7098,95 @@ spec: items: type: string type: array + oauth2: + description: OAuth2 defines OAuth2 configuration + properties: + client_id: + description: The secret or configmap containing the OAuth2 + client id + properties: + configMap: + description: ConfigMap containing data to use for the + targets. + properties: + key: + description: The key to select. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the ConfigMap or its + key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + description: Secret containing data to use for the targets. + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key + must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + client_secret: + description: The secret containing the OAuth2 client secret + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key must + be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + client_secret_file: + description: ClientSecretFile defines path for client secret + file. + type: string + endpoint_params: + additionalProperties: + type: string + description: Parameters to append to the token URL + type: object + scopes: + description: OAuth2 scopes used for the token request + items: + type: string + type: array + token_url: + description: The URL to fetch the token from + minLength: 1 + type: string + required: + - client_id + - token_url + type: object selector: description: Selector allows service discovery for alertmanager in this case all matched vmalertmanager replicas will be added @@ -7085,11 +7357,6 @@ spec: docs in vmalerts for details. E.g. http://127.0.0.1:8428 properties: OAuth2: - description: OAuth2 defines OAuth2 configuration - required: - - client_id - - token_url - type: object x-kubernetes-preserve-unknown-fields: true basicAuth: description: BasicAuth allow an endpoint to authenticate over @@ -7142,7 +7409,8 @@ spec: type: object x-kubernetes-map-type: atomic type: object - bearerTokenFilePath: + bearerTokenFile: + description: Path to bearer token file type: string bearerTokenSecret: description: Optional bearer auth token to use for -remoteWrite.url @@ -7176,6 +7444,95 @@ spec: to now()-1h will be scanned. (default 1h0m0s) Applied only to RemoteReadSpec type: string + oauth2: + description: OAuth2 defines OAuth2 configuration + properties: + client_id: + description: The secret or configmap containing the OAuth2 + client id + properties: + configMap: + description: ConfigMap containing data to use for the + targets. + properties: + key: + description: The key to select. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the ConfigMap or its + key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + description: Secret containing data to use for the targets. + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key + must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + client_secret: + description: The secret containing the OAuth2 client secret + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key must + be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + client_secret_file: + description: ClientSecretFile defines path for client secret + file. + type: string + endpoint_params: + additionalProperties: + type: string + description: Parameters to append to the token URL + type: object + scopes: + description: OAuth2 scopes used for the token request + items: + type: string + type: array + token_url: + description: The URL to fetch the token from + minLength: 1 + type: string + required: + - client_id + - token_url + type: object tlsConfig: description: TLSConfig specifies TLSConfig configuration parameters. type: object @@ -7194,11 +7551,6 @@ spec: -remoteWrite.url docs in vmalerts for details. E.g. http://127.0.0.1:8428 properties: OAuth2: - description: OAuth2 defines OAuth2 configuration - required: - - client_id - - token_url - type: object x-kubernetes-preserve-unknown-fields: true basicAuth: description: BasicAuth allow an endpoint to authenticate over @@ -7251,7 +7603,8 @@ spec: type: object x-kubernetes-map-type: atomic type: object - bearerTokenFilePath: + bearerTokenFile: + description: Path to bearer token file type: string bearerTokenSecret: description: Optional bearer auth token to use for -remoteWrite.url @@ -7299,6 +7652,95 @@ spec: write endpoint (default 100000) format: int32 type: integer + oauth2: + description: OAuth2 defines OAuth2 configuration + properties: + client_id: + description: The secret or configmap containing the OAuth2 + client id + properties: + configMap: + description: ConfigMap containing data to use for the + targets. + properties: + key: + description: The key to select. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the ConfigMap or its + key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + description: Secret containing data to use for the targets. + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key + must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + client_secret: + description: The secret containing the OAuth2 client secret + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + description: '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?' + type: string + optional: + description: Specify whether the Secret or its key must + be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + client_secret_file: + description: ClientSecretFile defines path for client secret + file. + type: string + endpoint_params: + additionalProperties: + type: string + description: Parameters to append to the token URL + type: object + scopes: + description: OAuth2 scopes used for the token request + items: + type: string + type: array + token_url: + description: The URL to fetch the token from + minLength: 1 + type: string + required: + - client_id + - token_url + type: object tlsConfig: description: TLSConfig specifies TLSConfig configuration parameters. type: object @@ -7512,7 +7954,7 @@ spec: to use to run the VMAlert Pods. type: string serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape + description: ServiceScrapeSpec that will be added to vmalert VMServiceScrape spec required: - endpoints @@ -7687,7 +8129,7 @@ spec: - datasource type: object status: - description: VmAlertStatus defines the observed state of VmAlert + description: VMAlertStatus defines the observed state of VMAlert properties: availableReplicas: description: AvailableReplicas Total number of available pods (ready @@ -7725,7 +8167,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmauths.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -7893,7 +8335,7 @@ spec: imagePullSecrets: description: ImagePullSecrets An optional list of references to secrets in the same namespace to use for pulling images from registries - see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items: description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -8322,7 +8764,7 @@ spec: to use to run the VMAuth Pods. type: string serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape + description: ServiceScrapeSpec that will be added to vmauth VMServiceScrape spec required: - endpoints @@ -8630,7 +9072,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmclusters.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -8693,7 +9135,7 @@ spec: imagePullSecrets: description: ImagePullSecrets An optional list of references to secrets in the same namespace to use for pulling images from registries - see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items: description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -9087,7 +9529,7 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect + description: ServiceScrapeSpec that will be added to vminsert VMServiceScrape spec required: - endpoints @@ -9273,7 +9715,7 @@ spec: x-kubernetes-preserve-unknown-fields: true cacheMountPath: description: CacheMountPath allows to add cache persistent for - VMSelect + VMSelect, will use "/cache" as default if not specified. type: string claimTemplates: description: ClaimTemplates allows adding additional VolumeClaimTemplates @@ -9974,7 +10416,7 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true storage: - description: StorageSpec - add persistent volume claim for cacheMounthPath + description: StorageSpec - add persistent volume claim for cacheMountPath its needed for persistent cache properties: disableMountSubPath: @@ -11078,7 +11520,7 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect + description: ServiceScrapeSpec that will be added to vmstorage VMServiceScrape spec required: - endpoints @@ -11646,7 +12088,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmnodescrapes.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -11810,8 +12252,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -11984,8 +12427,9 @@ spec: is 'replace' type: string if: - description: 'If represents metricsQL match expression: ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression (or list + of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -12496,7 +12940,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmpodscrapes.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -12699,9 +13143,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -12881,9 +13325,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -13427,7 +13871,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmprobes.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -13717,9 +14161,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -13849,9 +14293,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -14329,7 +14773,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmrules.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -14444,6 +14888,12 @@ spec: description: For evaluation interval in time.Duration format 30s, 1m, 1h or nanoseconds type: string + keep_firing_for: + description: KeepFiringFor will make alert continue firing + for this long even when the alerting expression no longer + has results. Use time.Duration format, 30s, 1m, 1h or + nanoseconds + type: string labels: additionalProperties: type: string @@ -14453,6 +14903,11 @@ spec: description: Record represents a query, that will be recorded to dataSource type: string + update_entries_limit: + description: UpdateEntriesLimit defines max number of + rule's state updates stored in memory. Overrides `-rule.updateEntriesLimit` + in vmalert. + type: integer type: object type: array tenant: @@ -14486,7 +14941,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmservicescrapes.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -14678,9 +15133,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -14860,9 +15315,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -15433,7 +15888,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmsingles.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -15603,7 +16058,7 @@ spec: imagePullSecrets: description: ImagePullSecrets An optional list of references to secrets in the same namespace to use for pulling images from registries - see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items: description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -15797,7 +16252,7 @@ spec: to use to run the VMSingle Pods. type: string serviceScrapeSpec: - description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape + description: ServiceScrapeSpec that will be added to vmsingle VMServiceScrape spec required: - endpoints @@ -16054,6 +16509,9 @@ spec: description: Allows setting different de-duplication intervals per each configured remote storage type: string + dropInput: + description: Allow drop all the input samples after the aggregation + type: boolean keepInput: description: Allows writing both raw and aggregate data type: boolean @@ -16085,9 +16543,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -16152,10 +16610,11 @@ spec: description: Interval is the interval between aggregations. type: string match: - description: "Match is a label selector for filtering time - series for the given selector. \n If the match isn't set, - then all the input time series are processed." - type: string + description: "Match is a label selector (or list of label + selectors) for filtering time series for the given selector. + \n If the match isn't set, then all the input time series + are processed." + x-kubernetes-preserve-unknown-fields: true output_relabel_configs: description: OutputRelabelConfigs is an optional relabeling rules, which are applied on the aggregated output before @@ -16171,9 +16630,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -16252,6 +16711,11 @@ spec: items: type: string type: array + staleness_interval: + description: StalenessInterval defines an interval after + which the series state will be reset if no samples have + been sent during it. + type: string without: description: "Without is an optional list of labels, which must be excluded when grouping input series. \n See also @@ -16732,7 +17196,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmstaticscrapes.operator.victoriametrics.com spec: group: operator.victoriametrics.com @@ -16914,9 +17378,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -17095,9 +17559,9 @@ spec: Default is 'replace' type: string if: - description: 'If represents metricsQL match expression: - ''{__name__=~"foo_.*"}''' - type: string + description: 'If represents metricsQL match expression + (or list of expressions): ''{__name__=~"foo_.*"}''' + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: string @@ -17587,7 +18051,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 + controller-gen.kubebuilder.io/version: v0.12.1 name: vmusers.operator.victoriametrics.com spec: group: operator.victoriametrics.com