112 lines
2.6 KiB
YAML
112 lines
2.6 KiB
YAML
global:
|
|
registry: docker.io
|
|
repository: freeleaps
|
|
environment: prod
|
|
nodeSelector: {}
|
|
dashboard:
|
|
enabled: true
|
|
name: freeleaps-prod-central-storage-dashboard
|
|
title: Central Storage Service Dashboard (PROD)
|
|
metricsPrefix: freeleaps_central_storage
|
|
logIngest:
|
|
enabled: true
|
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
|
logPathPattern: /app/log/central_storage/*.log
|
|
logPath: /app/log/central_storage
|
|
centralStorage:
|
|
replicas: 1
|
|
image:
|
|
registry: docker.io
|
|
repository: null
|
|
name: central_storage
|
|
tag: snapshot-00da25e
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- name: http
|
|
containerPort: 8005
|
|
protocol: TCP
|
|
resources:
|
|
requests:
|
|
cpu: 200m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 300m
|
|
memory: 512Mi
|
|
probes:
|
|
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
|
|
services:
|
|
- name: central-storage-service
|
|
type: ClusterIP
|
|
port: 8005
|
|
targetPort: 8005
|
|
serviceMonitor:
|
|
enabled: true
|
|
labels:
|
|
release: kube-prometheus-stack
|
|
namespace: freeleaps-monitoring-system
|
|
internal: 30s
|
|
scrapeTimeout: ''
|
|
ingresses: {}
|
|
configs:
|
|
tz: UTC
|
|
appName: central_storage
|
|
serviceApiAccessHost: 0.0.0.0
|
|
serviceApiAccessPort: 8005
|
|
mongodbName: freeleaps2
|
|
mongodbPort: 27017
|
|
metricsEnabled: 'true'
|
|
probesEnabled: 'true'
|
|
secrets:
|
|
secretStoreRef:
|
|
kind: FreeleapsSecretStore
|
|
name: freeleaps-main-secret-store
|
|
target:
|
|
name: freeleaps-central-storage-prod-secrets
|
|
creationPolicy: Owner
|
|
refreshInterval: 30s
|
|
data:
|
|
- key: mongodbUri
|
|
remoteRef:
|
|
key: freeleaps-prod-mongodb-uri
|
|
type: Secret
|
|
- key: azureStorageDocumentApiKey
|
|
remoteRef:
|
|
key: freeleaps-prod-azure-storage-document-api-key
|
|
type: Secret
|
|
- key: azureStorageDocumentApiEndpoint
|
|
remoteRef:
|
|
key: freeleaps-prod-azure-storage-document-api-endpoint
|
|
type: Secret
|
|
vpa:
|
|
minAllowed:
|
|
enabled: true
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
maxAllowed:
|
|
enabled: true
|
|
cpu: 200m
|
|
memory: 512Mi
|
|
controlledResources:
|
|
- cpu
|
|
- memory
|