81 lines
1.2 KiB
YAML
81 lines
1.2 KiB
YAML
|
|
# trading-platform/data-service Helm chart values
|
||
|
|
|
||
|
|
replicaCount: 2
|
||
|
|
|
||
|
|
image:
|
||
|
|
repository: trading-platform/data-service
|
||
|
|
pullPolicy: IfNotPresent
|
||
|
|
tag: ""
|
||
|
|
|
||
|
|
imagePullSecrets: []
|
||
|
|
|
||
|
|
nameOverride: ""
|
||
|
|
fullnameOverride: ""
|
||
|
|
|
||
|
|
serviceAccount:
|
||
|
|
create: true
|
||
|
|
annotations: {}
|
||
|
|
name: ""
|
||
|
|
|
||
|
|
podAnnotations: {}
|
||
|
|
|
||
|
|
securityContext:
|
||
|
|
capabilities:
|
||
|
|
drop:
|
||
|
|
- ALL
|
||
|
|
readOnlyRootFilesystem: true
|
||
|
|
runAsNonRoot: true
|
||
|
|
runAsUser: 1000
|
||
|
|
|
||
|
|
service:
|
||
|
|
type: ClusterIP
|
||
|
|
port: 8001
|
||
|
|
|
||
|
|
ingress:
|
||
|
|
enabled: false
|
||
|
|
className: nginx
|
||
|
|
annotations: {}
|
||
|
|
hosts:
|
||
|
|
- host: api.trading.example.com
|
||
|
|
paths:
|
||
|
|
- path: /
|
||
|
|
pathType: Prefix
|
||
|
|
tls: []
|
||
|
|
|
||
|
|
resources:
|
||
|
|
limits:
|
||
|
|
cpu: "1000m"
|
||
|
|
memory: 1Gi
|
||
|
|
requests:
|
||
|
|
cpu: "500m"
|
||
|
|
memory: 512Mi
|
||
|
|
|
||
|
|
autoscaling:
|
||
|
|
enabled: true
|
||
|
|
minReplicas: 2
|
||
|
|
maxReplicas: 10
|
||
|
|
targetCPUUtilizationPercentage: 80
|
||
|
|
targetMemoryUtilizationPercentage: 80
|
||
|
|
|
||
|
|
livenessProbe:
|
||
|
|
httpGet:
|
||
|
|
path: /health
|
||
|
|
port: http
|
||
|
|
initialDelaySeconds: 15
|
||
|
|
periodSeconds: 15
|
||
|
|
timeoutSeconds: 5
|
||
|
|
failureThreshold: 3
|
||
|
|
|
||
|
|
readinessProbe:
|
||
|
|
httpGet:
|
||
|
|
path: /health
|
||
|
|
port: http
|
||
|
|
initialDelaySeconds: 10
|
||
|
|
periodSeconds: 10
|
||
|
|
timeoutSeconds: 5
|
||
|
|
failureThreshold: 3
|
||
|
|
|
||
|
|
nodeSelector: {}
|
||
|
|
tolerations: []
|
||
|
|
affinity: {}
|