|
|
@ -32,18 +32,28 @@ spec:
|
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
|
|
|
|
command:
|
|
|
|
|
|
|
|
- "litestar"
|
|
|
|
|
|
|
|
args:
|
|
|
|
|
|
|
|
- "--app"
|
|
|
|
|
|
|
|
- "speech_collect.app:app"
|
|
|
|
|
|
|
|
- "run"
|
|
|
|
|
|
|
|
- "--port"
|
|
|
|
|
|
|
|
- "8000"
|
|
|
|
|
|
|
|
- "--host"
|
|
|
|
|
|
|
|
- "0.0.0.0"
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
- name: http
|
|
|
|
containerPort: {{ .Values.components.api.port }}
|
|
|
|
containerPort: {{ .Values.components.api.port }}
|
|
|
|
protocol: TCP
|
|
|
|
protocol: TCP
|
|
|
|
livenessProbe:
|
|
|
|
# livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
# httpGet:
|
|
|
|
path: /
|
|
|
|
# path: /
|
|
|
|
port: http
|
|
|
|
# port: http
|
|
|
|
readinessProbe:
|
|
|
|
# readinessProbe:
|
|
|
|
httpGet:
|
|
|
|
# httpGet:
|
|
|
|
path: /
|
|
|
|
# path: /
|
|
|
|
port: http
|
|
|
|
# port: http
|
|
|
|
resources:
|
|
|
|
resources:
|
|
|
|
{{- toYaml .Values.components.api.resources | nindent 12 }}
|
|
|
|
{{- toYaml .Values.components.api.resources | nindent 12 }}
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|