new hrbox chart version

This commit is contained in:
Vlad Bubnov
2026-01-30 12:13:23 +03:00
parent bc74cc395c
commit ed3c059511
9 changed files with 592 additions and 47 deletions
+52
View File
@@ -0,0 +1,52 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}-goworker
labels:
app: goworker
spec:
minReadySeconds: 5
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
replicas: {{ .Values.app.goworker.replicas }}
selector:
matchLabels:
service: {{ .Chart.Name }}-goworker
template:
metadata:
labels:
service: {{ .Chart.Name }}-goworker
spec:
imagePullSecrets:
- name: regsecret
containers:
- name: goworker
stdin: true
tty: true
image: {{ .Values.app.goworker.image }}
imagePullPolicy: Always
env:
{{- include "envs_all" . | indent 12 }}
{{- include "goworker_resources" . | indent 10 }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}-goworker
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8686"
prometheus.io/path: "/metrics"
spec:
selector:
service: {{ .Chart.Name }}-goworker
ports:
- name: http
port: 8686
targetPort: 8686
protocol: TCP