Исправить заголовок 413 и дополнить проверку отказов и масштабирования lab3

This commit is contained in:
Vladislav Agapov
2026-10-29 15:25:37 +03:00
parent 7b7e23fd02
commit f4ec74b78b
294 changed files with 29530 additions and 57 deletions
+6 -2
View File
@@ -49,6 +49,10 @@ spec:
labels:
app: api
spec:
{{- with .Values.api.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
imagePullSecrets:
- name: {{ .Values.imagePullSecret }}
terminationGracePeriodSeconds: 20
@@ -101,8 +105,8 @@ spec:
periodSeconds: 2
failureThreshold: 30
readinessProbe:
timeoutSeconds: 2
failureThreshold: 2
timeoutSeconds: {{ .Values.api.readiness.timeoutSeconds }}
failureThreshold: {{ .Values.api.readiness.failureThreshold }}
httpGet:
path: /health/ready
port: 8080
+2
View File
@@ -20,6 +20,8 @@ spec:
env:
- name: BASE_URL
value: "https://{{ .Values.ingress.host }}"
- name: TARGET_INSTANCE_ID
value: {{ .Values.load.target | default "" | quote }}
- name: DURATION
value: {{ .Values.load.duration | quote }}
- name: VUS
+4 -1
View File
@@ -1,10 +1,13 @@
# Existing lab2 release; shared persistent stores and credentials.
image:
repository: asisti.registry.twcstorage.ru/mtusi2026lab3
digest: sha256:a73799010550ab2008b984ed9d0bfa8dfdd9bb963cb948bc91713748b24c3889
digest: sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3
imagePullSecret: registry-pull
databaseSecret: messenger-secrets
api:
readiness:
timeoutSeconds: 2
failureThreshold: 2
replicas: 2
resources:
requests: {cpu: 250m, memory: 128Mi}