Skip to content

Commit 5d924b9

Browse files
committed
feat(victoriametrics): use victoriametrics replace prometheus
1 parent e6bb73f commit 5d924b9

2 files changed

Lines changed: 41 additions & 25 deletions

File tree

charts/workflow/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ dependencies:
4343
repository: {{repository}}
4444
version: x.x.x
4545
condition: passport.enabled
46-
- name: prometheus
46+
- name: victoriametrics
4747
repository: {{repository}}
4848
version: x.x.x
49-
condition: prometheus.enabled
49+
condition: victoriametrics.enabled
5050
description: Drycc Workflow
5151
home: https://github.com/drycc/workflow
5252
maintainers:

charts/workflow/values.yaml

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
global:
88
# Admin email, used for each component to send email to administrator
99
email: "drycc@drycc.cc"
10-
# GatewayClass is cluster-scoped resource defined by the infrastructure provider.
11-
# This resource represents a class of Gateways that can be instantiated.
12-
gatewayClass: ""
1310
# A domain name consists of one or more parts.
1411
# Periods (.) are used to separate these parts.
1512
# Each part must be 1 to 63 characters in length and can contain lowercase letters, digits, and hyphens (-).
@@ -31,6 +28,8 @@ builder:
3128

3229
# Drycc Gateway is a gateway chart that integrates cert-manager.
3330
gateway:
31+
# GatewayClass is cluster-scoped resource defined by the infrastructure provider.
32+
gatewayClass: ""
3433
# acme configuration takes effect if and only if certManagerEnabled is true
3534
acme:
3635
server: https://acme-v02.api.letsencrypt.org/directory
@@ -50,6 +49,8 @@ controller:
5049
# disabled - turns off open registration
5150
# admin_only - allows for registration by an admin only.
5251
registrationMode: "admin_only"
52+
# Set app gateway, It is used for application gateway.
53+
appGatewayClass: ""
5354
# Set storageClassName, It is used for application mount.
5455
appStorageClass: "longhorn"
5556
# Set controller deployment replicas
@@ -110,7 +111,8 @@ registry:
110111
# For backends that support it, redirecting is disabled by default.
111112
redirect: "false"
112113
# host port for the registry proxy in the daemonset
113-
proxyPort: 5555
114+
proxy:
115+
port: 5555
114116

115117
passport:
116118
enabled: true
@@ -147,25 +149,39 @@ database:
147149
## If the PV uses a different storage class, specify that here.
148150
storageClass: ""
149151

150-
prometheus:
152+
victoriametrics:
151153
enabled: true
152-
## prometheus-server configuration##
153-
prometheus-server:
154-
replicas: 2
155-
retention: 15d
156-
# persistence config
154+
## victoriametrics vmagent configuration
155+
##
156+
vmagent:
157+
replicas: 3
158+
159+
## victoriametrics vminsert configuration
160+
##
161+
vminsert:
162+
replicas: 3
163+
164+
## victoriametrics vmselect configuration
165+
##
166+
vmselect:
167+
replicas: 3
168+
169+
## victoriametrics vmstorage configuration
170+
##
171+
vmstorage:
172+
replicas: 3
173+
temporary:
174+
enabled: false
175+
size: 5Gi
176+
storageClass: ""
157177
persistence:
158-
enabled: true
159-
accessMode: ReadWriteOnce
160-
size: 10Gi
178+
enabled: false
179+
size: 5Gi
161180
storageClass: ""
162-
## node-exporter configuration##
163-
node-exporter:
164-
enabled: true
165-
## kube-state-metrics configuration
166-
##
167-
kube-state-metrics:
168-
enabled: true
169-
# The username and password to be used by the on-cluster database.
170-
username: "admin"
171-
password: "admin"
181+
## node-exporter configuration##
182+
node-exporter:
183+
enabled: true
184+
## kube-state-metrics configuration
185+
##
186+
kube-state-metrics:
187+
enabled: true

0 commit comments

Comments
 (0)