-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
55 lines (46 loc) · 877 Bytes
/
values.yaml
File metadata and controls
55 lines (46 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
replicaCount: 4
image:
repository: mlog/example-api
pullPolicy: IfNotPresent
tag: "latest"
# FastAPI application configuration
app:
command: ["/app/venv/bin/uvicorn"]
args: ["main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
port: 8000
serviceAccount:
create: true
service:
type: LoadBalancer
port: 80
targetPort: 8000
ingress:
enabled: false
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 15
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 2
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 6
targetCPUUtilizationPercentage: 80