-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathvalues-production.yaml
More file actions
107 lines (100 loc) · 2.46 KB
/
values-production.yaml
File metadata and controls
107 lines (100 loc) · 2.46 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# values-production.yaml
# Production-hardened overrides.
# Usage:
# helm install nginx-dapi ./nginx-declarative-api \
# -f values-production.yaml \
# --set nginxDapi.image.repository=registry.example.com/nginx-declarative-api \
# --set nginxDapi.image.tag=5.5.0 \
# --set devportal.image.repository=registry.example.com/nginx-declarative-api-devportal \
# --set devportal.image.tag=5.5.0 \
# -n nginx-dapi --create-namespace
nginxDapi:
image:
repository: "ghcr.io/f5devcentral/nginx-declarative-api"
tag: "latest"
pullPolicy: IfNotPresent
replicaCount: 2
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 8
targetCPUUtilizationPercentage: 70
podDisruptionBudget:
enabled: true
minAvailable: 1
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/component: nginx-dapi
topologyKey: kubernetes.io/hostname
redis:
image:
tag: "7.2-alpine"
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
persistence:
enabled: true
storageClass: ""
size: 5Gi
podDisruptionBudget:
enabled: true
minAvailable: 1
devportal:
image:
repository: "ghcr.io/f5devcentral/nginx-declarative-api-devportal"
tag: "latest"
pullPolicy: IfNotPresent
replicaCount: 2
podDisruptionBudget:
enabled: true
minAvailable: 1
webui:
image:
repository: "ghcr.io/f5devcentral/nginx-declarative-api-webui"
tag: "latest"
pullPolicy: IfNotPresent
replicaCount: 2
podDisruptionBudget:
enabled: true
minAvailable: 1
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 70
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
# cert-manager.io/cluster-issuer: letsencrypt-prod
host: nginx-dapi.example.com
webuiHost: nginx-dapi-ui.example.com
tls: []
# tls:
# - secretName: nginx-dapi-tls
# hosts:
# - nginx-dapi.example.com
networkPolicy:
enabled: true
global:
imagePullSecrets: []
# imagePullSecrets:
# - name: registry-credentials