This commit is contained in:
Vlad Bubnov
2025-05-27 08:03:13 +03:00
parent f47d4feeac
commit fb638f1988
21 changed files with 1639 additions and 68 deletions
+42
View File
@@ -0,0 +1,42 @@
{{- if .Values.dragonfly.enabled }}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}-dragonfly
spec:
revisionHistoryLimit: 3
strategy:
type: Recreate
selector:
matchLabels:
component: {{ .Chart.Name }}-dragonfly
template:
metadata:
labels:
component: {{ .Chart.Name }}-dragonfly
spec:
imagePullSecrets:
- name: regsecret
containers:
- name: dragonfly
image: cr.yandex/crpnn6fi85p3dauha6nc/dragonflydb:1.15.1
ports:
- name: dragonfly
containerPort: 6379
livenessProbe:
tcpSocket:
port: 6379
initialDelaySeconds: 30
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}-dragonfly
spec:
clusterIP: None
selector:
component: {{ .Chart.Name }}-dragonfly
ports:
- port: 6379
{{- end }}