mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
feature/add resources to vmcluster (#556)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **Version Updates** - Tenant application version bumped from 1.6.5 to 1.6.6 - Monitoring application version updated from 1.5.3 to 1.5.4 - **Monitoring Configuration** - Adjusted metrics storage deduplication interval: shortterm from 5 minutes to 15 seconds, longterm from 15 seconds to 5 minutes - Updated resource configurations for VM components, including new resource specifications for vminsert, vmselect, and vmstorage - Increased memory limits and requests for VMAgent from 500Mi to 1024Mi and from 200Mi to 768Mi, respectively - **Performance Improvements** - Enhanced resource allocation for monitoring services - More flexible configuration options for metrics storage <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -4,4 +4,4 @@ description: Separated tenant namespace
|
||||
icon: /logos/tenant.svg
|
||||
|
||||
type: application
|
||||
version: 1.6.5
|
||||
version: 1.6.6
|
||||
|
||||
@@ -26,12 +26,24 @@ spec:
|
||||
metricsStorages:
|
||||
- name: shortterm
|
||||
retentionPeriod: "3d"
|
||||
deduplicationInterval: "5m"
|
||||
storage: 10Gi
|
||||
- name: longterm
|
||||
retentionPeriod: "14d"
|
||||
deduplicationInterval: "15s"
|
||||
storage: 10Gi
|
||||
vminsert:
|
||||
resources: {}
|
||||
vmselect:
|
||||
resources: {}
|
||||
vmstorage:
|
||||
resources: {}
|
||||
- name: longterm
|
||||
retentionPeriod: "14d"
|
||||
deduplicationInterval: "5m"
|
||||
storage: 10Gi
|
||||
vminsert:
|
||||
resources: {}
|
||||
vmselect:
|
||||
resources: {}
|
||||
vmstorage:
|
||||
resources: {}
|
||||
oncall:
|
||||
enabled: false
|
||||
{{- end }}
|
||||
|
||||
@@ -95,7 +95,8 @@ tenant 1.6.1 edbbb9be
|
||||
tenant 1.6.2 ccedc5fe
|
||||
tenant 1.6.3 2057bb96
|
||||
tenant 1.6.4 3c9e50a4
|
||||
tenant 1.6.5 HEAD
|
||||
tenant 1.6.5 f1e11451
|
||||
tenant 1.6.6 HEAD
|
||||
virtual-machine 0.1.4 f2015d6
|
||||
virtual-machine 0.1.5 7cd7de7
|
||||
virtual-machine 0.2.0 5ca8823
|
||||
|
||||
@@ -3,4 +3,4 @@ name: monitoring
|
||||
description: Monitoring and observability stack
|
||||
icon: /logos/monitoring.svg
|
||||
type: application
|
||||
version: 1.5.3
|
||||
version: 1.5.4
|
||||
|
||||
@@ -6,22 +6,35 @@ metadata:
|
||||
name: {{ .name }}
|
||||
spec:
|
||||
replicationFactor: 2
|
||||
retentionPeriod: "3"
|
||||
retentionPeriod: {{ .retentionPeriod | quote }}
|
||||
vminsert:
|
||||
replicaCount: 2
|
||||
resources: {}
|
||||
vmselect:
|
||||
replicaCount: 2
|
||||
resources:
|
||||
{{- if empty .vminsert.resources }}
|
||||
limits:
|
||||
memory: 1000Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 500Mi
|
||||
{{- else }}
|
||||
{{- toYaml .vminsert.resources | nindent 6 }}
|
||||
{{- end }}
|
||||
vmselect:
|
||||
replicaCount: 2
|
||||
resources:
|
||||
{{- if empty .vmselect.resources }}
|
||||
limits:
|
||||
memory: 1000Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 500Mi
|
||||
{{- else }}
|
||||
{{- toYaml .vmselect.resources | nindent 6 }}
|
||||
{{- end }}
|
||||
extraArgs:
|
||||
search.maxUniqueTimeseries: "600000"
|
||||
vmalert.proxyURL: http://vmalert-{{ .name }}.{{ $.Release.Namespace }}.svc:8080
|
||||
dedup.minScrapeInterval: "15s"
|
||||
dedup.minScrapeInterval: {{ .deduplicationInterval | quote}}
|
||||
cacheMountPath: /select-cache
|
||||
storage:
|
||||
volumeClaimTemplate:
|
||||
@@ -35,11 +48,15 @@ spec:
|
||||
vmstorage:
|
||||
replicaCount: 2
|
||||
resources:
|
||||
{{- if empty .vmstorage.resources }}
|
||||
limits:
|
||||
memory: 1000Mi
|
||||
memory: 2048Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 500Mi
|
||||
{{- else }}
|
||||
{{- toYaml .vmstorage.resources | nindent 6 }}
|
||||
{{- end }}
|
||||
storage:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
|
||||
@@ -5,17 +5,59 @@ host: ""
|
||||
|
||||
## @param metricsStorages [array] Configuration of metrics storage instances
|
||||
##
|
||||
## Example:
|
||||
## metricsStorages:
|
||||
## - name: shortterm
|
||||
## retentionPeriod: "3d"
|
||||
## deduplicationInterval: "15s"
|
||||
## storage: 10Gi
|
||||
## storageClassName: ""
|
||||
## vminsert:
|
||||
## resources:
|
||||
## limits:
|
||||
## memory: 1024Mi
|
||||
## requests:
|
||||
## cpu: 200m
|
||||
## memory: 512Mi
|
||||
## vmselect:
|
||||
## resources:
|
||||
## limits:
|
||||
## memory: 2048Mi
|
||||
## requests:
|
||||
## cpu: 300m
|
||||
## memory: 1Gi
|
||||
## vmstorage:
|
||||
## resources:
|
||||
## limits:
|
||||
## memory: 4096Mi
|
||||
## requests:
|
||||
## cpu: 500m
|
||||
## memory: 2Gi
|
||||
##
|
||||
metricsStorages:
|
||||
- name: shortterm
|
||||
retentionPeriod: "3d"
|
||||
deduplicationInterval: "5m"
|
||||
storage: 10Gi
|
||||
storageClassName: ""
|
||||
- name: longterm
|
||||
retentionPeriod: "14d"
|
||||
deduplicationInterval: "15s"
|
||||
storage: 10Gi
|
||||
storageClassName: ""
|
||||
vminsert:
|
||||
resources: {}
|
||||
vmselect:
|
||||
resources: {}
|
||||
vmstorage:
|
||||
resources: {}
|
||||
- name: longterm
|
||||
retentionPeriod: "14d"
|
||||
deduplicationInterval: "5m"
|
||||
storage: 10Gi
|
||||
storageClassName: ""
|
||||
vminsert:
|
||||
resources: {}
|
||||
vmselect:
|
||||
resources: {}
|
||||
vmstorage:
|
||||
resources: {}
|
||||
|
||||
|
||||
## @param logsStorages [array] Configuration of logs storage instances
|
||||
##
|
||||
|
||||
@@ -17,7 +17,8 @@ monitoring 1.4.0 adaf603b
|
||||
monitoring 1.5.0 4b90bf5a
|
||||
monitoring 1.5.1 57e90b70
|
||||
monitoring 1.5.2 898374b5
|
||||
monitoring 1.5.3 HEAD
|
||||
monitoring 1.5.3 c1ca19dc
|
||||
monitoring 1.5.4 HEAD
|
||||
seaweedfs 0.1.0 5ca8823
|
||||
seaweedfs 0.2.0 9e33dc0
|
||||
seaweedfs 0.2.1 HEAD
|
||||
|
||||
Reference in New Issue
Block a user