From 518a67cea358cfcbee0c0fa27bbfcad120145f14 Mon Sep 17 00:00:00 2001 From: icecheng Date: Thu, 18 Sep 2025 17:30:39 +0800 Subject: [PATCH] feat: update metrics values for alpha and prod --- freeleaps/helm-pkg/metrics/values.prod.yaml | 60 ++++++++++----------- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/freeleaps/helm-pkg/metrics/values.prod.yaml b/freeleaps/helm-pkg/metrics/values.prod.yaml index 9649d101..a74e2902 100644 --- a/freeleaps/helm-pkg/metrics/values.prod.yaml +++ b/freeleaps/helm-pkg/metrics/values.prod.yaml @@ -4,17 +4,17 @@ global: nodeSelector: {} logIngest: enabled: false -devops: +metrics: replicas: 1 image: registry: docker.io repository: null - name: devops + name: metrics tag: snapshot-38ff0ae imagePullPolicy: IfNotPresent ports: - name: http - containerPort: 8014 + containerPort: 8009 protocol: TCP resources: requests: @@ -23,20 +23,33 @@ devops: limits: cpu: '0.2' memory: 128Mi - probes: {} + probes: + liveness: + type: httpGet + config: + path: /api/_/livez + port: 8009 + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + terminationGracePeriodSeconds: 30 + readiness: + type: httpGet + config: + path: /api/_/readyz + port: 8009 + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 10 + successThreshold: 1 + failureThreshold: 5 services: - - name: devops-service + - name: metrics-service type: ClusterIP - port: 8014 - targetPort: 8014 - serviceMonitor: - enabled: false - labels: - release: kube-prometheus-stack - namespace: freeleaps-monitoring-system - interval: 30s - scrapeTimeout: '' - ingresses: {} + port: 8009 + targetPort: 8009 configs: starrocksHost: freeleaps-starrocks-cluster-fe-service.freeleaps-data-platform.svc starrocksPort: 9030 @@ -44,23 +57,6 @@ devops: starrocksPassword: r7Y@QTb*7BQN@hDGsN starrocksDatabase: freeleaps prometheusEndpoint: http://kube-prometheus-stack-prometheus.freeleaps-monitoring-system:9090 - secrets: - secretStoreRef: - kind: FreeleapsSecretStore - name: freeleaps-main-secret-store - target: - name: freeleaps-devops-prod-secrets - creationPolicy: Owner - refreshInterval: 30s - data: - - key: appMongodbUri - remoteRef: - key: freeleaps-prod-mongodb-uri - type: Secret - - key: rabbitmqPassword - remoteRef: - key: freeleaps-prod-rabbitmq-password - type: Secret vpa: minAllowed: enabled: false