Files
feedc0de ea50a260fa
Validate, publish, and deploy Brave Sync / validate (push) Failing after 15s
Validate, publish, and deploy Brave Sync / image (push) Skipped
Validate, publish, and deploy Brave Sync / chart (push) Skipped
Validate, publish, and deploy Brave Sync / deploy (push) Skipped
Initial commit with the existing deployment files
2026-10-09 11:39:38 +02:00

55 lines
1.2 KiB
YAML

apiVersion: v1
kind: Service
metadata:
name: brave-sync-valkey
spec:
selector:
app.kubernetes.io/name: brave-sync-valkey
ports:
- name: redis
port: 6379
targetPort: redis
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: brave-sync-valkey
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: brave-sync-valkey
template:
metadata:
labels:
app.kubernetes.io/name: brave-sync-valkey
spec:
containers:
- name: valkey
image: valkey/valkey:9.0.1-alpine
args: ["--save", "", "--appendonly", "no"]
ports:
- name: redis
containerPort: 6379
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
memory: 128Mi
startupProbe:
exec:
command: ["valkey-cli", "ping"]
failureThreshold: 12
periodSeconds: 5
readinessProbe:
exec:
command: ["valkey-cli", "ping"]
periodSeconds: 10
livenessProbe:
exec:
command: ["valkey-cli", "ping"]
periodSeconds: 20