-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvalues-staging.yaml
More file actions
203 lines (200 loc) · 6.68 KB
/
Copy pathvalues-staging.yaml
File metadata and controls
203 lines (200 loc) · 6.68 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
ckanHelmValues:
environment: staging
arch: arm64
ckan:
appResources:
limits:
memory: 2Gi
requests:
memory: 1Gi
args: ["gunicorn -c $CKAN_CONFIG/gunicorn_config.py --bind 0.0.0.0:5000 wsgi:application --timeout 120 --workers 4"]
replicaCount: 1
ingress:
host: ckan.eks.staging.govuk.digital
ingressClassName: aws-alb
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
alb.ingress.kubernetes.io/shield-advanced-protection: "true"
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/load-balancer-attributes: >
access_logs.s3.enabled=true, access_logs.s3.bucket=govuk-staging-aws-logging, access_logs.s3.prefix=elb/ckan-datagovuk
alb.ingress.kubernetes.io/conditions.{{ .Release.Name }}-ckan: |
[{"field": "host-header", "hostHeaderConfig": { "values": [
"ckan.staging.publishing.service.gov.uk"
]}}]
alb.ingress.kubernetes.io/conditions.{{ .Release.Name }}-pycsw: |
[{"field": "host-header", "hostHeaderConfig": { "values": [
"ckan.staging.publishing.service.gov.uk"
]}}]
alb.ingress.kubernetes.io/conditions.{{ .Release.Name }}-check-links-output: |
[{"field": "host-header", "hostHeaderConfig": { "values": [
"ckan.staging.publishing.service.gov.uk"
]}}]
tls:
enabled: true
probes:
enabled: true
ckanIniConfigMap: ckan-production-ini-2-10
config:
dbInit: false
site:
url: "https://ckan.staging.publishing.service.gov.uk"
title: "data.gov.uk"
dbHost: "ckan-postgres.staging.govuk-internal.digital"
redis:
host: "dgu-shared-redis"
smtp:
server: "email-smtp.eu-west-1.amazonaws.com:587"
user: "AKIA2EQZDNSGRK55CPNS"
mailFrom: "team@data.gov.uk"
starttls: "True"
s3:
useIamServiceAccount: true
bucketName: "datagovuk-staging-ckan-organogram"
regionName: "eu-west-1"
urlPrefix: "https://s3-eu-west-1.amazonaws.com/datagovuk-staging-ckan-organogram/"
serviceAccount:
enabled: true
name: ckan
iamRoleARN: arn:aws:iam::696911096973:role/ckan-govuk
dbBackupSync:
enabled: false
iamRoleARN: ""
sourceS3BucketName: ""
targetS3BucketName: ""
pycsw:
replicaCount: 1
args: ["gunicorn --bind 0.0.0.0:8000 wsgi:application --timeout 120"]
probes:
enabled: true
appResources:
limits:
memory: 2Gi
requests:
memory: 1Gi
checklinks:
report:
enabled: true
timestamp: "20260615T1628"
state: "deleted"
process_source_url: "https://raw.githubusercontent.com/alphagov/datagovuk-scripts/refs/heads/main/check-links-analysis/reports/filtered/15-06-2026/broken_links_to_delete_20260707T1611.csv"
reindex_source_url: "https://raw.githubusercontent.com/alphagov/datagovuk-scripts/refs/heads/main/check-links-analysis/reports/reindex/15-06-2026/packages_to_reindex.txt"
solr:
appResources:
limits:
memory: 2Gi
requests:
memory: 1Gi
enabled: true
persistence:
enabled: true
persistentVolumeClaimName: solr
postgres:
enabled: false
dev:
enabled: false
gather:
replicaCount: 2
probes:
enabled: true
appResources:
limits:
memory: 2Gi
cpu: 1
requests:
memory: 1Gi
cpu: 500m
fetch:
replicaCount: 1
appResources:
limits:
memory: 1Gi
requests:
memory: 512Mi
externalSecret:
enabled: true
externalReadonlySecret:
enabled: true
datagovukHelmValues:
arch: arm64
environment: staging
datagovuk:
monitoring:
enabled: true
ingress:
ingressClassName: aws-alb
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
alb.ingress.kubernetes.io/shield-advanced-protection: "true"
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/load-balancer-attributes: >
access_logs.s3.enabled=true, access_logs.s3.bucket=govuk-staging-aws-logging, access_logs.s3.prefix=elb/www-datagovuk
find:
appResources:
limits:
memory: 2Gi
requests:
memory: 1Gi
replicaCount: 2
args: ["bin/rails s -b 0.0.0.0 --pid /tmp/rails-server.pid"]
config:
ckanDomain: "ckan.staging.publishing.service.gov.uk"
railsMaxThreads: "16"
rateLimitCount: "10000"
rateLimitPeriod: "60"
solrUrl: "http://ckan-solr/solr/ckan"
ingress:
host: find.eks.staging.govuk.digital
ingressClassName: aws-alb
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
alb.ingress.kubernetes.io/shield-advanced-protection: "true"
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/load-balancer-attributes: >
access_logs.s3.enabled=true, access_logs.s3.bucket=govuk-staging-aws-logging, access_logs.s3.prefix=elb/www-datagovuk
alb.ingress.kubernetes.io/conditions.datagovuk-datagovuk: |
[{"field": "host-header", "hostHeaderConfig": { "values": [
"www.staging.data.gov.uk",
"staging.data.gov.uk"
]}}]
dev:
enabled: false
externalSecret:
enabled: true
dguSharedHelmValues:
arch: arm64
redis:
replicaCount: 1
resources:
limits:
cpu: 250m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
# Load test chart — staging only, intentionally absent from values-production.yaml
loadTestConfig:
datagovuk_url: "https://www.staging.data.gov.uk"
ckan_url: "https://ckan.eks.staging.govuk.digital"
image: grafana/k6:0.55.0
# Rightsized soak test — 5m/10m/15m/5m = 35 minutes total
# Targeting ~25 req/s (45 VUs based on 100 VUs = 55.8 req/s baseline)
# Warm up → ramp up → soak at peak → ramp down
vus: 45
warmup_duration: "5m"
ramp_duration: "10m"
soak_duration: "15m"
prometheus:
# GOV.UK Prometheus Operator remote write endpoint (staging cluster)
# Enables live k6 metrics in Grafana during the test
remoteWriteUrl: "http://kube-prometheus-stack-prometheus.monitoring.svc:9090/api/v1/write"
trendStats: "avg,p(95),p(99)"
storage:
enabled: true
ttlSecondsAfterFinished: 3600