2025-02-21 09:59:08 +00:00
|
|
|
global:
|
|
|
|
|
registry: docker.io
|
|
|
|
|
repository: freeleaps
|
2025-09-26 03:18:33 +00:00
|
|
|
environment: alpha
|
2025-02-21 09:59:08 +00:00
|
|
|
nodeSelector: {}
|
2025-03-21 17:03:59 +00:00
|
|
|
dashboard:
|
|
|
|
|
enabled: false
|
2025-04-21 14:03:00 +00:00
|
|
|
logIngest:
|
|
|
|
|
enabled: true
|
|
|
|
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
2025-07-25 06:32:20 +00:00
|
|
|
logPathPattern: /app/log/central_storage/*.log
|
2025-04-21 14:03:00 +00:00
|
|
|
logPath: /app/log/central_storage
|
2025-02-22 16:20:13 +00:00
|
|
|
centralStorage:
|
2025-02-21 09:59:08 +00:00
|
|
|
replicas: 1
|
|
|
|
|
image:
|
2025-02-22 12:13:53 +00:00
|
|
|
registry: docker.io
|
2025-07-28 13:02:55 +00:00
|
|
|
repository: null
|
|
|
|
|
name: central_storage
|
2025-10-20 09:54:32 +00:00
|
|
|
tag: snapshot-cd725c8
|
2025-02-21 09:59:08 +00:00
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
ports:
|
2025-02-22 12:13:53 +00:00
|
|
|
- name: http
|
|
|
|
|
containerPort: 8005
|
|
|
|
|
protocol: TCP
|
2025-02-21 09:59:08 +00:00
|
|
|
resources:
|
|
|
|
|
requests:
|
2025-03-21 17:21:12 +00:00
|
|
|
cpu: 50m
|
2025-03-08 12:31:11 +00:00
|
|
|
memory: 64Mi
|
|
|
|
|
limits:
|
2025-03-21 17:21:12 +00:00
|
|
|
cpu: 200m
|
2025-03-05 09:08:45 +00:00
|
|
|
memory: 128Mi
|
2025-03-21 17:21:12 +00:00
|
|
|
probes:
|
2025-03-21 17:03:59 +00:00
|
|
|
readiness:
|
|
|
|
|
type: httpGet
|
|
|
|
|
config:
|
|
|
|
|
path: /api/_/readyz
|
|
|
|
|
port: 8005
|
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
|
periodSeconds: 30
|
|
|
|
|
timeoutSeconds: 3
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
liveness:
|
|
|
|
|
type: httpGet
|
|
|
|
|
config:
|
|
|
|
|
path: /api/_/livez
|
|
|
|
|
port: 8005
|
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
|
periodSeconds: 15
|
|
|
|
|
timeoutSeconds: 3
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
terminationGracePeriodSeconds: 30
|
2025-02-21 09:59:08 +00:00
|
|
|
services:
|
2025-02-22 12:13:53 +00:00
|
|
|
- name: central-storage-service
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
port: 8005
|
|
|
|
|
targetPort: 8005
|
2025-03-21 17:03:59 +00:00
|
|
|
serviceMonitor:
|
|
|
|
|
enabled: false
|
2025-02-22 12:13:53 +00:00
|
|
|
ingresses:
|
|
|
|
|
- name: central-storage-ingress
|
2025-04-10 17:22:29 +00:00
|
|
|
host: central-storage.freeleaps-alpha.com
|
2025-02-22 12:13:53 +00:00
|
|
|
class: nginx
|
|
|
|
|
rules:
|
2025-02-22 17:18:24 +00:00
|
|
|
- path: /
|
|
|
|
|
pathType: Prefix
|
2025-02-22 12:13:53 +00:00
|
|
|
backend:
|
|
|
|
|
service:
|
|
|
|
|
name: central-storage-service
|
|
|
|
|
port:
|
|
|
|
|
number: 8005
|
|
|
|
|
tls:
|
|
|
|
|
exists: false
|
|
|
|
|
issuerRef:
|
2025-04-10 17:22:29 +00:00
|
|
|
name: freeleaps-alpha-dot-com
|
2025-02-22 12:13:53 +00:00
|
|
|
kind: ClusterIssuer
|
2025-04-10 17:22:29 +00:00
|
|
|
name: central-storage.freeleaps-alpha.com-cert
|
2025-02-21 09:59:08 +00:00
|
|
|
configs:
|
2025-02-22 16:26:06 +00:00
|
|
|
tz: UTC
|
2025-02-22 12:13:53 +00:00
|
|
|
appName: central_storage
|
|
|
|
|
serviceApiAccessHost: 0.0.0.0
|
2025-02-22 16:14:48 +00:00
|
|
|
serviceApiAccessPort: 8005
|
2025-02-22 12:13:53 +00:00
|
|
|
mongodbName: freeleaps2
|
2025-02-22 16:14:48 +00:00
|
|
|
mongodbPort: 27017
|
2025-03-21 17:21:12 +00:00
|
|
|
metricsEnabled: 'false'
|
|
|
|
|
probesEnabled: 'true'
|
2025-07-28 13:00:33 +00:00
|
|
|
debugMode: 'false'
|
2025-08-18 08:24:11 +00:00
|
|
|
secrets:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: FreeleapsSecretStore
|
|
|
|
|
name: freeleaps-main-secret-store
|
|
|
|
|
target:
|
2025-09-18 06:24:16 +00:00
|
|
|
name: freeleaps-central-storage-secrets
|
|
|
|
|
creationPolicy: Owner
|
2025-08-18 08:24:11 +00:00
|
|
|
refreshInterval: 30s
|
|
|
|
|
data:
|
2025-09-18 06:24:16 +00:00
|
|
|
- key: mongodbUri
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: freeleaps-alpha-mongodb-uri
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: azureStorageDocumentApiKey
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: freeleaps-alpha-azure-storage-document-api-key
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: azureStorageDocumentApiEndpoint
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: freeleaps-alpha-azure-storage-document-api-endpoint
|
|
|
|
|
type: Secret
|
2025-06-10 15:53:31 +00:00
|
|
|
vpa:
|
|
|
|
|
minAllowed:
|
|
|
|
|
enabled: false
|
2025-07-23 13:36:09 +00:00
|
|
|
cpu: 50m
|
|
|
|
|
memory: 64Mi
|
2025-06-10 15:53:31 +00:00
|
|
|
maxAllowed:
|
|
|
|
|
enabled: true
|
2025-07-23 13:36:09 +00:00
|
|
|
cpu: 100m
|
|
|
|
|
memory: 128Mi
|
2025-06-10 15:53:31 +00:00
|
|
|
controlledResources:
|
2025-07-23 13:36:09 +00:00
|
|
|
- cpu
|
|
|
|
|
- memory
|
2025-10-21 01:31:25 +00:00
|
|
|
prometheusRule:
|
|
|
|
|
name: freepeals-alpha-central-storage
|
|
|
|
|
enabled: false
|
|
|
|
|
namespace: freeleaps-monitoring-system
|
|
|
|
|
labels:
|
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
rules:
|
|
|
|
|
- alert: FreeleapsCentralStorageServiceDown
|
|
|
|
|
expr: up{job="central-storage-service"} == 0
|
|
|
|
|
for: 1m
|
|
|
|
|
labels:
|
|
|
|
|
severity: critical
|
|
|
|
|
service: central-storage-service
|
|
|
|
|
annotations:
|
|
|
|
|
summary: Freeleaps Central Storage service is down (instance {{ $labels.instance }})
|
|
|
|
|
description: Freeleaps Central Storage service has been down for more than 1 minutes.
|
|
|
|
|
runbook_url: https://netorgft10898514.sharepoint.com/:w:/s/FreeleapsEngineeringTeam/EUlvzumTsPxCpPAzI3gm9OIB0DCLTjQzzYVL6VsHYZFjxg?e=0dxVr7
|
|
|
|
|
- alert: FreeleapsCentralStorageServiceHighErrorRate
|
|
|
|
|
expr: rate(http_requests_total{job="central-storage-service",status=~"5.."}[5m]) > 0.1
|
|
|
|
|
for: 5m
|
|
|
|
|
labels:
|
|
|
|
|
severity: warning
|
|
|
|
|
service: central-storage-service
|
|
|
|
|
annotations:
|
|
|
|
|
summary: High error rate in freeleaps central storage service (instance {{ $labels.instance }})
|
|
|
|
|
description: Freeleaps Central Storage service error rate is {{ $value }} errors per second.
|
|
|
|
|
runbook_url: https://netorgft10898514.sharepoint.com/:w:/s/FreeleapsEngineeringTeam/EUlvzumTsPxCpPAzI3gm9OIB0DCLTjQzzYVL6VsHYZFjxg?e=0dxVr7
|