forked from mtusi2026/mtusi2026lab2
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# Ресурсы lab2 в общем namespace. Секреты создаются через make init.
|
|
image:
|
|
repository: asisti.registry.twcstorage.ru/mtusi2026lab2
|
|
digest: sha256:3f19c9feb306a88044cc46b25d99592d48f04c21eba477d59676486277b2956c
|
|
imagePullSecret: registry-pull
|
|
databaseSecret: messenger-secrets
|
|
api:
|
|
replicas: 1
|
|
resources:
|
|
requests: {cpu: 250m, memory: 128Mi}
|
|
limits: {cpu: '1', memory: 256Mi}
|
|
env:
|
|
SESSION_TTL_SECONDS: '3600'
|
|
DEPENDENCY_TIMEOUT_MS: '1000'
|
|
DEPENDENCY_POOL_SIZE: '8'
|
|
REQUEST_TIMEOUT_SECONDS: '3'
|
|
SHUTDOWN_TIMEOUT_SECONDS: '5'
|
|
GOMEMLIMIT: 160MiB
|
|
postgres:
|
|
image: postgres:17.6-alpine
|
|
storage: 2Gi
|
|
resources:
|
|
requests: {cpu: 250m, memory: 256Mi}
|
|
limits: {cpu: '1', memory: 512Mi}
|
|
valkey:
|
|
image: valkey/valkey:8.1.3-alpine
|
|
shards: 3
|
|
storage: 1Gi
|
|
maxmemory: 64mb
|
|
resources:
|
|
requests: {cpu: 100m, memory: 96Mi}
|
|
limits: {cpu: 500m, memory: 128Mi}
|
|
# Пустое значение использует default StorageClass. Задать до первой установки.
|
|
storageClass: ''
|