This commit is contained in:
Vlad Bubnov committed 2025-05-27 08:03:13 +03:00
1 parent f47d4feeac
commit fb638f1988
21 files changed
+1639 -68

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}-worker
labels:
app: worker
spec:
minReadySeconds: 5
strategy:
type: Recreate
replicas: {{ .Values.app.replicas.worker }}
selector:
matchLabels:
service: {{ .Chart.Name }}-worker
template:
metadata:
labels:
service: {{ .Chart.Name }}-worker
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '9253'
spec:
imagePullSecrets:
- name: regsecret
containers:
- name: worker
image: {{ .Values.app.image }}
command: ["hrbox-worker"]
env:
{{- include "envs_all" . | indent 12 }}
{{- include "worker_resources" . | indent 10}}
terminationGracePeriodSeconds: 600