mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-21 15:41:17 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new HelmRelease configurations for cert-manager, monitoring agents, and Victoria Metrics Operator in Kubernetes. - Added resource specifications for `vmselect` in the VMCluster configuration. - Enhanced resource management for `vmselect` with defined limits and requests for memory and CPU. - **Bug Fixes** - Adjusted resource limits for Redis failover memory allocation. - **Documentation** - Updated README and release notes for various components, enhancing clarity and usability. - **Chores** - Updated image versions across multiple components for consistency and performance improvements. - Modified migration scripts to facilitate transitions and manage resources effectively. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Andrei Kvapil <kvapss@gmail.com>
308 lines
11 KiB
YAML
308 lines
11 KiB
YAML
metrics-server:
|
|
defaultArgs:
|
|
- --cert-dir=/tmp
|
|
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
|
|
- --kubelet-use-node-status-port
|
|
- --metric-resolution=15s
|
|
- --kubelet-insecure-tls
|
|
|
|
metrics:
|
|
enabled: true
|
|
|
|
serviceMonitor:
|
|
enabled: true
|
|
|
|
victoria-logs-single:
|
|
server:
|
|
persistentVolume:
|
|
enabled: true
|
|
size: 10Gi
|
|
|
|
grafana:
|
|
enabled: false
|
|
kube-state-metrics:
|
|
enabled: false
|
|
prometheus-node-exporter:
|
|
enabled: false
|
|
alertmanager:
|
|
name: vmalertmanager-alertmanager
|
|
|
|
kube-state-metrics:
|
|
rbac:
|
|
extraRules:
|
|
- apiGroups:
|
|
- source.toolkit.fluxcd.io
|
|
- kustomize.toolkit.fluxcd.io
|
|
- helm.toolkit.fluxcd.io
|
|
- notification.toolkit.fluxcd.io
|
|
- image.toolkit.fluxcd.io
|
|
resources:
|
|
- gitrepositories
|
|
- buckets
|
|
- helmrepositories
|
|
- helmcharts
|
|
- ocirepositories
|
|
- kustomizations
|
|
- helmreleases
|
|
- alerts
|
|
- providers
|
|
- receivers
|
|
- imagerepositories
|
|
- imagepolicies
|
|
- imageupdateautomations
|
|
verbs: [ "list", "watch" ]
|
|
customResourceState:
|
|
enabled: true
|
|
config:
|
|
spec:
|
|
resources:
|
|
- groupVersionKind:
|
|
group: kustomize.toolkit.fluxcd.io
|
|
version: v1
|
|
kind: Kustomization
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux Kustomization resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, lastAppliedRevision ]
|
|
source_name: [ spec, sourceRef, name ]
|
|
- groupVersionKind:
|
|
group: helm.toolkit.fluxcd.io
|
|
version: v2
|
|
kind: HelmRelease
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux HelmRelease resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, history, "0", chartVersion ]
|
|
chart_name: [ status, history, "0", chartName ]
|
|
chart_app_version: [ status, history, "0", appVersion ]
|
|
chart_ref_name: [ spec, chartRef, name ]
|
|
chart_source_name: [ spec, chart, spec, sourceRef, name ]
|
|
- groupVersionKind:
|
|
group: source.toolkit.fluxcd.io
|
|
version: v1
|
|
kind: GitRepository
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux GitRepository resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, artifact, revision ]
|
|
url: [ spec, url ]
|
|
- groupVersionKind:
|
|
group: source.toolkit.fluxcd.io
|
|
version: v1beta2
|
|
kind: Bucket
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux Bucket resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, artifact, revision ]
|
|
endpoint: [ spec, endpoint ]
|
|
bucket_name: [ spec, bucketName ]
|
|
- groupVersionKind:
|
|
group: source.toolkit.fluxcd.io
|
|
version: v1
|
|
kind: HelmRepository
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux HelmRepository resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, artifact, revision ]
|
|
url: [ spec, url ]
|
|
- groupVersionKind:
|
|
group: source.toolkit.fluxcd.io
|
|
version: v1
|
|
kind: HelmChart
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux HelmChart resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, artifact, revision ]
|
|
chart_name: [ spec, chart ]
|
|
chart_version: [ spec, version ]
|
|
- groupVersionKind:
|
|
group: source.toolkit.fluxcd.io
|
|
version: v1beta2
|
|
kind: OCIRepository
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux OCIRepository resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
revision: [ status, artifact, revision ]
|
|
url: [ spec, url ]
|
|
- groupVersionKind:
|
|
group: notification.toolkit.fluxcd.io
|
|
version: v1beta3
|
|
kind: Alert
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux Alert resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
suspended: [ spec, suspend ]
|
|
- groupVersionKind:
|
|
group: notification.toolkit.fluxcd.io
|
|
version: v1beta3
|
|
kind: Provider
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux Provider resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
suspended: [ spec, suspend ]
|
|
- groupVersionKind:
|
|
group: notification.toolkit.fluxcd.io
|
|
version: v1
|
|
kind: Receiver
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux Receiver resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
webhook_path: [ status, webhookPath ]
|
|
- groupVersionKind:
|
|
group: image.toolkit.fluxcd.io
|
|
version: v1beta2
|
|
kind: ImageRepository
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux ImageRepository resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
image: [ spec, image ]
|
|
- groupVersionKind:
|
|
group: image.toolkit.fluxcd.io
|
|
version: v1beta2
|
|
kind: ImagePolicy
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux ImagePolicy resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
source_name: [ spec, imageRepositoryRef, name ]
|
|
- groupVersionKind:
|
|
group: image.toolkit.fluxcd.io
|
|
version: v1beta2
|
|
kind: ImageUpdateAutomation
|
|
metricNamePrefix: gotk
|
|
metrics:
|
|
- name: "resource_info"
|
|
help: "The current state of a Flux ImageUpdateAutomation resource."
|
|
each:
|
|
type: Info
|
|
info:
|
|
labelsFromPath:
|
|
name: [ metadata, name ]
|
|
labelsFromPath:
|
|
exported_namespace: [ metadata, namespace ]
|
|
ready: [ status, conditions, "[type=Ready]", status ]
|
|
suspended: [ spec, suspend ]
|
|
source_name: [ spec, sourceRef, name ]
|
|
|
|
vmagent:
|
|
externalLabels:
|
|
cluster: cozystack
|
|
tenant: tenant-root
|
|
remoteWrite:
|
|
url: http://vminsert-shortterm.tenant-root.svc:8480/insert/0/prometheus
|