freeleaps-authentication/.freeleaps/devops/helm-pkg/values.prod.yaml

158 lines
4.5 KiB
YAML
Raw Normal View History

2025-10-30 03:26:05 +00:00
dashboard:
2025-10-29 07:07:47 +00:00
enabled: true
2025-10-30 03:26:05 +00:00
name: freeleaps-prod-authentication-dashboard
title: Authentication Service Dashboard (PROD)
metricsPrefix: freeleaps_authentication
logIngest:
2025-10-29 07:07:47 +00:00
enabled: true
2025-10-30 03:26:05 +00:00
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
logPathPattern: /app/log/authentication/*.log
logPath: /app/log/authentication
global:
environment: prod
registry: docker.io
2025-10-30 03:47:01 +00:00
repository: freeleapsdevops
2025-10-30 03:26:05 +00:00
authentication:
2025-10-29 07:07:47 +00:00
replicas: 1
image:
2025-10-30 03:26:05 +00:00
registry: docker.io
repository: null
name: 6901bcf4ed3725f39f11343d-authentication
tag: snapshot-5abb2a1
2025-10-29 07:07:47 +00:00
imagePullPolicy: IfNotPresent
ports:
2025-10-30 03:26:05 +00:00
- name: http
containerPort: 8004
protocol: TCP
2025-10-29 07:07:47 +00:00
resources:
requests:
2025-10-30 03:26:05 +00:00
cpu: 200m
memory: 64Mi
2025-10-29 07:07:47 +00:00
limits:
2025-10-30 03:26:05 +00:00
cpu: 300m
memory: 128Mi
probes:
readiness:
type: httpGet
config:
path: /api/_/readyz
port: 8004
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
liveness:
type: httpGet
config:
path: /api/_/livez
port: 8004
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
terminationGracePeriodSeconds: 30
services:
- name: authentication-service
type: ClusterIP
port: 8004
targetPort: 8004
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
interval: 30s
scrapeTimeout: ''
2025-11-03 02:22:26 +00:00
ingresses:
- name: authentication-ingress
host: authentication.freeleaps.com
class: nginx
rules:
- path: /
pathType: Prefix
backend:
service:
name: authentication-service
port:
number: 8004
tls:
exists: false
issuerRef:
name: freeleaps-dot-com
kind: ClusterIssuer
name: authentication.freeleaps.com-cert
2025-10-30 03:26:05 +00:00
configs:
tz: UTC
appName: authentication
appEnv: prod
devsvcWebapiUrlBase: http://devsvc-service.freeleaps-prod.svc.freeleaps.cluster:8007/api/devsvc/
notificationWebapiUrlBase: http://notification-service.freeleaps-prod.svc.freeleaps.cluster:8003/api/notification/
2025-10-31 06:23:01 +00:00
authServiceEndpoint: http://freeleaps-auth-service.freeleaps-prod.svc.freeleaps.cluster:9000/api/v1/
2025-10-30 03:26:05 +00:00
jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8004
mongodbName: freeleaps2
mongodbPort: 27017
metricsEnabled: 'true'
probesEnabled: 'true'
freeleapsProductId: 6901bcf4ed3725f39f11343d
environment: prod
2025-10-30 03:26:05 +00:00
secrets:
secretStoreRef:
kind: FreeleapsSecretStore
name: freeleaps-main-secret-store
target:
name: freeleaps-authentication-prod-secrets
creationPolicy: Owner
refreshInterval: 30s
data:
- key: jwtSecretKey
remoteRef:
key: freeleaps-prod-jwt-secret-key
type: Secret
- key: mongodbUri
remoteRef:
key: freeleaps-prod-mongodb-uri
type: Secret
vpa:
minAllowed:
enabled: true
cpu: 50m
memory: 64Mi
maxAllowed:
enabled: true
cpu: 200m
memory: 128Mi
controlledResources:
- cpu
- memory
prometheusRule:
name: freepeals-prod-authentication
enabled: true
namespace: freeleaps-monitoring-system
labels:
release: kube-prometheus-stack
rules:
- alert: FreeleapsAuthenticationServiceDown
expr: up{job="authentication-service"} == 0
for: 5m
labels:
severity: critical
service: authentication-service
annotations:
summary: Freeleaps Authentication service is down (instance {{ $labels.instance }})
description: Freeleaps Authentication service has been down for more than 1 minutes.
runbook_url: https://netorgft10898514.sharepoint.com/:w:/s/FreeleapsEngineeringTeam/EUlvzumTsPxCpPAzI3gm9OIB0DCLTjQzzYVL6VsHYZFjxg?e=0dxVr7
- alert: FreeleapsAuthenticationServiceHighErrorRate
expr: rate(http_requests_total{job="authentication-service",status=~"5.."}[5m]) > 0.1
for: 5m
labels:
severity: warning
service: authentication-service
annotations:
summary: High error rate in freeleaps authentication service (instance {{ $labels.instance }})
description: Freeleaps Authentication service error rate is {{ $value }} errors per second.
runbook_url: https://netorgft10898514.sharepoint.com/:w:/s/FreeleapsEngineeringTeam/EUlvzumTsPxCpPAzI3gm9OIB0DCLTjQzzYVL6VsHYZFjxg?e=0dxVr7