forked from mtusi2026/mtusi2026lab3
Исправить заголовок 413 и дополнить проверку отказов и масштабирования lab3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user