Реализовать lab3 в общем Helm-релизе с Traefik, TLS и HPA
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
# Ресурсы lab2 в общем namespace. Секреты создаются через make init.
|
||||
# Existing lab2 release; shared persistent stores and credentials.
|
||||
image:
|
||||
repository: asisti.registry.twcstorage.ru/mtusi2026lab2
|
||||
digest: sha256:3f19c9feb306a88044cc46b25d99592d48f04c21eba477d59676486277b2956c
|
||||
repository: asisti.registry.twcstorage.ru/mtusi2026lab3
|
||||
digest: sha256:a73799010550ab2008b984ed9d0bfa8dfdd9bb963cb948bc91713748b24c3889
|
||||
imagePullSecret: registry-pull
|
||||
databaseSecret: messenger-secrets
|
||||
api:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
resources:
|
||||
requests: {cpu: 250m, memory: 128Mi}
|
||||
limits: {cpu: '1', memory: 256Mi}
|
||||
env:
|
||||
SESSION_TTL_SECONDS: '3600'
|
||||
DEPENDENCY_TIMEOUT_MS: '1000'
|
||||
DEPENDENCY_TIMEOUT_MS: '2000'
|
||||
DEPENDENCY_POOL_SIZE: '8'
|
||||
REQUEST_TIMEOUT_SECONDS: '3'
|
||||
REQUEST_TIMEOUT_SECONDS: '4'
|
||||
SHUTDOWN_TIMEOUT_SECONDS: '5'
|
||||
GOMEMLIMIT: 160MiB
|
||||
postgres:
|
||||
@@ -32,3 +32,22 @@ valkey:
|
||||
limits: {cpu: 500m, memory: 128Mi}
|
||||
# Пустое значение использует default StorageClass. Задать до первой установки.
|
||||
storageClass: ''
|
||||
|
||||
autoscaling:
|
||||
enabled: true
|
||||
minReplicas: 2
|
||||
maxReplicas: 4
|
||||
cpuPercent: 60
|
||||
monitoring:
|
||||
serviceMonitor: false
|
||||
load:
|
||||
enabled: false
|
||||
run: manual
|
||||
script: scaling.js
|
||||
duration: 30
|
||||
vus: 32
|
||||
|
||||
ingress:
|
||||
host: hl.agapov.space
|
||||
className: traefik
|
||||
clusterIssuer: letsencrypt-prod
|
||||
|
||||
Reference in New Issue
Block a user